Re: Not able to use the highlighting feature! Want to return snippets of text

2012-05-22 Thread 12rad
That worked! Thanks! I did -- View this message in context: http://lucene.472066.n3.nabble.com/Not-able-to-use-the-highlighting-feature-Want-to-return-snippets-of-text-Urgent-tp3985012p3985507.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Not able to use the highlighting feature! Want to return snippets of text

2012-05-21 Thread Rahul Warawdekar
Hi, I believe, in your "colored" fragmentsBuilder definition, you have not mentioned anything in your pre and post tags and that may be the reason that you are getting snippets of text, without highlighting. Please refer http://wiki.apache.org/solr/HighlightingParameters and check the "hl.fragment

Re: Not able to use the highlighting feature! Want to return snippets of text

2012-05-21 Thread 12rad
For the fragListBuilder it's fragment builder is 70 0.5 [-\w ,/\n\"']{20,200} Thanks! -- View this message in context: http://lucene.472066.n3.nabble.

Re: Not able to use the highlighting feature! Want to return snippets of text

2012-05-21 Thread Rahul Warawdekar
Hi, Can you please provide the definitions of the following 3 objects from your solrconfig.xml ? simple colored regex For eg, the "simple" hl.fragListBuilder should be defined as mentioned below in your solrconfig.xml On Mon, May 21, 2012 at 2:06 PM, 12rad wrote: > The field I am trying

Re: Not able to use the highlighting feature! Want to return snippets of text

2012-05-21 Thread 12rad
The field I am trying to highlight is stored. In the searchHandler i've set the parameters as follows: on text 5 1000 51 true regex simple colored 1000 true true true I still don't see any highl

Re: Not able to use the highlighting feature! Want to return snippets of text

2012-05-21 Thread Jack Krupansky
e.apache.org Subject: Re: Not able to use the highlighting feature! Want to return snippets of text My query parameters are this: text:abstract&hl=true&hl.fl=text&f.text.hl.snippets=2&f.text.hl.fragsize=200&debugQuery=true I still get the entire string as the result in th

Re: Not able to use the highlighting feature! Want to return snippets of text

2012-05-21 Thread Ahmet Arslan
> text:abstract&hl=true&hl.fl=text&f.text.hl.snippets=2&f.text.hl.fragsize=200&debugQuery=true Three things to check: 1-) See your text field declared as suitable for highlighting. http://wiki.apache.org/solr/FieldOptionsByUseCase 2-) Increase hl.maxAnalyzedChars=Integer.MAX 3-) Increase Inte

Re: Not able to use the highlighting feature! Want to return snippets of text

2012-05-20 Thread 12rad
My query parameters are this: text:abstract&hl=true&hl.fl=text&f.text.hl.snippets=2&f.text.hl.fragsize=200&debugQuery=true I still get the entire string as the result in the tag. -- View this message in context: http://lucene.472066.n3.nabble.com/Not-able-to-use-the-highlighting-feature-Want-

Re: Not able to use the highlighting feature! Want to return snippets of text

2012-05-20 Thread Jack Krupansky
Read up on highlighting here: http://wiki.apache.org/solr/HighlightingParameters And then look at solrconfig.xml for how it is used there. -- Jack Krupansky -Original Message- From: 12rad Sent: Sunday, May 20, 2012 8:56 PM To: solr-user@lucene.apache.org Subject: Not able to use the h

Re: Not able to use the highlighting feature! Want to return snippets of text. Urgent!!

2012-05-20 Thread 12rad
Also, the response just returns That is the name of the document. -- View this message in context: http://lucene.472066.n3.nabble.com/Not-able-to-use-the-highlighting-feature-Want-to-return-snippets-of-text-Urgent-tp3985012p3985013.html Sent from the Solr - User mailing list archive at