Hi,
I am running the below query. I only get returning the title but no fragment and fragment is available.
is this something related to permissions?
How can I get fragment to be returned?
{% searchindex query: 'support', page: params.page, page_size: 10 %}
{% if searchindex.results.size > 0 %}
<p>Found about {{ searchindex.approximate_total_hits }} matches:</p>
<ul>
{% for result in searchindex.results %}
<li>
<h3><a href="{{ result.url | escape }}">{{ result.title | escape }}</a></h3>
<p>{{ result.fragment }}</p>
</li>
{% endfor %}
</ul>
{% else %}
<p>Your query returned no results.</p>
{% endif %}
{% endsearchindex %}
fragment |
A relevant short text fragment for the result, with terms matching the specified query highlighted using the Note that certain types of queries do not support highlighted fragments, such as fuzzy queries ( |
Thank you,
Bill