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.
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
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.
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
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
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
> 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
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-
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
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
10 matches
Mail list logo