Have you tried to set hl.maxAnalyzedChar? If not, the highlighting will not
look past the first 51,200 characters of the documents for the snippets.
You can check the guide for more information:
https://lucene.apache.org/solr/guide/7_5/highlighting.html
Regards,
Edwin
On Mon, 1 Oct 2018 at 20:
query "g12312" matches 7 documents. Fields requested are returned for all 7
documents that matches the query mentioned. For three of the matching
documents highlight snippet is not generated. Can you explain why
highlighting snippets could be absent for some of the documents?
".../sources/epro
Hi Kudret,
Do you mean there are 7 documents that matches the query term, but the
result only return 4 of them?
Or is it that there are 4 documents that matches the query term, but there
are 7 occurrences of the query term in these 4 documents?
Regards,
Edwin
On Fri, 28 Sep 2018 at 22:47, Kudret
Hi Edwin,
I do not have any modifications in solrconfig.xml for highlighting. Here is
the query:
http://test-51:8983/solr/mycollection/select?hl.fl=bodync&hl.simple.post=%25highlightpost%25&hl.simple.pre=%25highlightpre%25&hl=on&q=bodync:g12312
Kudret
On Fri, Sep 28, 2018 at 2:09 AM Zheng Lin E
Hi Kudret,
What is your configuration for your /highlight requestHandler in
solrconfig.xml?
And also the query that you used when you get your above output?
Regards,
Edwin
On Fri, 28 Sep 2018 at 07:33, Kudrettin Güleryüz
wrote:
> Hi,
>
> For some queries, response object returns matches withou