Re: Highlighting large documents

2015-12-15 Thread Zheng Lin Edwin Yeo
Hi all, Thank you for all the information. I have set the parameter to -1, and the highlighting is working fine now. Regards, Edwin On 14 December 2015 at 18:03, Jens Brandt wrote: > Hi Edwin, > > you are limiting the portion of the document analyzed for highlighting in

Re: Highlighting large documents

2015-12-14 Thread Jens Brandt
Hi Edwin, you are limiting the portion of the document analyzed for highlighting in your solrconfig.xml by 100 Thus, snippets are only produced correctly if the query was found in the first 100 characters of the document. If you set this parameter to -1 the original highlighter

Re: Highlighting large documents

2015-12-08 Thread Scott Stults
There are two things going on that you should be aware of. The first is, Solr Highlighting is mainly concerned about putting a representative snippet in a results listing. There are a couple of configuration changes you need to do if you want to highlight a whole document, like setting the

Re: Highlighting large documents

2015-12-04 Thread Zheng Lin Edwin Yeo
Hi Andrea, I'm using the original highlighter. Below is my configuration for the highlighter in solrconfig.xml explicit 10 json true text id, title, content_type, last_modified, url, score on id, title, content, author

Re: Highlighting large documents

2015-12-04 Thread Andrea Gazzarini
Hi Zheng, just curiousity, because shortly I will have to deal with a similar scenario (Solr 5.3.1 + large documents + highlighting). Which highlighter are you using? Andrea 2015-12-04 16:51 GMT+01:00 Zheng Lin Edwin Yeo : > Hi, > > I'm using Solr 5.3.0 > > I found that in

Highlighting large documents

2015-12-04 Thread Zheng Lin Edwin Yeo
Hi, I'm using Solr 5.3.0 I found that in large documents, sometimes I face situation that when I do a highlight query, the resultset that is returned does not contain the highlighted query. There are actually matches in the documents, but just that they located further back in the documents. I

Re: Highlighting large documents

2015-12-04 Thread Andrea Gazzarini
No no, sorry, the project is not yet started so I didn't experience your issue, but I'll be a careful listener of this thread Best, Andrea 2015-12-04 17:04 GMT+01:00 Zheng Lin Edwin Yeo : > Hi Andrea, > > I'm using the original highlighter. > > Below is my configuration