Get excerpt of entry from search query If I enter a query into the search bar I would like to see an excerpt (let's say 140 characters) of each entry that is related to the query. 

Here is what I use on the search result page to display the results.

{% set query = craft.request.getParam('q') %}
{% set entries = craft.entries.search(query).order('score') %}

{% if entries|length %}
&lt;p&gt;{{ entries|length }} results:&lt;/p&gt;

&lt;ul&gt;
    {% for entry in entries %}
        &lt;li&gt;&lt;a href="{{ entry.url }}"&gt;{{ entry.title }}&lt;/a&gt;&lt;/li&gt;
    {% endfor %}
&lt;/ul&gt;
{% else %}
&lt;p&gt;Your search for “{{ query }}” didn’t return any results.&lt;/p&gt;
{% endif %}


How do I add entry excerpts like: https://craftcms.com/search?q=entry
Have a look at the slice filter. To return 140 characters max. you would do something like this:

{% if entry.body %}
    {{ entry.body|slice(0, 140) }}
{% endif %}


See this other question on a similar topic if you want to apply this on a rich text field. Because this solution only works with plain text.