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 Edwin Yeo <edwinye...@gmail.com>
wrote:

> 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