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 <kudret...@gmail.com>
wrote:

> Hi,
>
> For some queries, response object returns matches without any highlight
> information. Solr node doesn't report any errors in Solr log.
> query term is g12312 number of matches is 7 only 4 of them gets highlight
> snippets. Any suggestions?
>
>  "highlighting":{
>     ".../sources/test.cpp":{
>       "bodync":[" \n\n**************/\n\n\n/* Repro definition problem
> */\n/* %highlightpre%g12312%highlightpost% example of how to"]},
>     ".../sources/database.cpp":{
>       "bodync":[" 12/01/2017 %highlightpre%g12312%highlightpost%\n
>  // was done in here because"]},
>     ".../sources/predef.c":{
>       "bodync":[" create_definitions(a_boolean inst)\n/*
> %highlightpre%g12312%highlightpost% Replace _definitions.h by
> built-in"]},
>     ".../sources/init.c":{
>       "bodync":[") {\n    create_descs();\n  }\n  /*T
> %highlightpre%g12312%highlightpost% 13/01/2017. Replace\n
> prev_definitions.h by G"]},
>     ".../sources/eproc.c":{},
>     ".../sources/cro.c":{},
>     ".../sources/cmd.c":{}}}
>
> 7.3.1 here.
>
> Thank you,
> Kudret
>

Reply via email to