To  answer your first question, you should send this to the solr-users
mailing group.
To get the highlights, you should specify the field that you want to
highlight. In the solr admin ui, you can do this by checking the highlight
option and then putting the field you want to highlight in the hl.field
option.
To specify additional highlighting options, you'll have to modify your
solrconfig.xml and the required highlight parameters to your request
handler. Take a look at the official documentation to find out what
parameters you can add and how:
https://wiki.apache.org/solr/HighlightingParameters

On Thu, Dec 10, 2015 at 11:57 PM Evert R. <evert.ra...@gmail.com> wrote:

> Hi there,
>
> I am no sure if this is the right mailing I should be sending to... but I
> have installed the basic solr and indexed a pdf book into my coreSolr
> (test), when I query that it brings me the correct pdf file name and some
> other fields. *But, it does not bring the highlight*, even after enable the
> 'hl' option...
>
> It´s my first time I see solr and indexing in life... so, I am very lost. I
> tried to config my schema.xml, but the file was not there... after copying
> the standard schema.xml file, it still works but no highlight is shown.
>
> I will only index PDF, DOC, DOCX and TXT files, and it should search the
> content, and the highlight should bring the part or the parts, in that PDF,
> that has the word I query to.
>
> Hope I made myself clear in the message above.
>
> Thanks to all and best regards!
>
> *​Evert*
>
-- 
Binoy Dalal
+919930113964

Reply via email to