Re: highlighting on range query

2011-11-28 Thread Rahul Mehta
Tried below url and got the same output. Any other suggestion . http://localhost:8983/solr/select?q=rangefld:[5000%20TO%206000]&fl=lily.id,rangefld&hl=on&rows=5&wt=json&indent=on&hl.fl=rangefld&hl.highlightMultiTerm=true&hl.usePhraseHighlighter=true&hl.useFastVectorHighlighter=false On Mon, Nov

Re: highlighting on range query

2011-11-28 Thread Ahmet Arslan
> and output is > > { >   "responseHeader":{ >     "status":0, >     "QTime":4, >     "params":{ >       "hl.highlightMultiTerm":"true", >       "fl":"lily.id,rangefld", >       "indent":"on", >       > "hl.useFastVectorHighlighter":"false", >        "q":"rangefld:[5000 TO > 6000]", >       "hl.fl

Re: highlighting on range query

2011-11-28 Thread Rahul Mehta
I tried this url : http://localhost:8983/solr/select?q=rangefld:[5000%20TO%206000]&fl=lily.id,rangefld&hl=on&rows=5&wt=json&indent=on&hl.fl=*,rangefld&hl.highlightMultiTerm=true&hl.usePhraseHighlighter=true&hl.useFastVectorHighlighter=false and output is { "responseHeader":{ "status":0,

Re: highlighting on range query

2011-11-27 Thread Ahmet Arslan
> Any other Suggestion. as these > suggestions are not working. Could it be that you are using FastVectorHighlighter? What happens when you add &hl.useFastVectorHighlighter=false to your search URL?

Re: highlighting on range query

2011-11-27 Thread Rahul Mehta
Any other Suggestion. as these suggestions are not working. On Thu, Nov 24, 2011 at 5:44 PM, Rahul Mehta wrote: > Any other Suggestion. > > > On Thu, Nov 24, 2011 at 5:30 PM, Rahul Mehta wrote: > >> Yes, I tried with specifiying hl.fl=field1, and field1 is indexed and >> stored. >> >> >> On Thu,

Re: highlighting on range query

2011-11-24 Thread Rahul Mehta
Any other Suggestion. On Thu, Nov 24, 2011 at 5:30 PM, Rahul Mehta wrote: > Yes, I tried with specifiying hl.fl=field1, and field1 is indexed and > stored. > > > On Thu, Nov 24, 2011 at 5:23 PM, Ahmet Arslan wrote: > >> > oh sorry forgot to tell you that i >> > added &hl.usePhraseHighlighter=tru

Re: highlighting on range query

2011-11-24 Thread Rahul Mehta
Yes, I tried with specifiying hl.fl=field1, and field1 is indexed and stored. On Thu, Nov 24, 2011 at 5:23 PM, Ahmet Arslan wrote: > > oh sorry forgot to tell you that i > > added &hl.usePhraseHighlighter=true this > > also , but still no result is coming . > > Did you specify field1 in hl.fl p

Re: highlighting on range query

2011-11-24 Thread Ahmet Arslan
> oh sorry forgot to tell you that i > added &hl.usePhraseHighlighter=true this > also , but still no result is coming . Did you specify field1 in hl.fl parameter? Plus you need you mark field1 as indexed="true" and stored="true" to enable highlighting. http://wiki.apache.org/solr/FieldOptionsB

Re: highlighting on range query

2011-11-24 Thread Rahul Mehta
oh sorry forgot to tell you that i added &hl.usePhraseHighlighter=true this also , but still no result is coming . On Thu, Nov 24, 2011 at 5:14 PM, Ahmet Arslan wrote: > > I passed &hl.highlightMultiTerm=true in request ,* but > > still field1 is not > > coming in hightlighting.* > > > > > http:

Re: highlighting on range query

2011-11-24 Thread Ahmet Arslan
> I passed &hl.highlightMultiTerm=true in request ,* but > still field1 is not > coming in hightlighting.* > > http://localhsot:8983/solr/select?q=field1:[5000%20TO%206000]&fl=field2&hl=on&rows=5&wt=json&indent=on&hl.fl=field3&hl.highlightMultiTerm=true > As wiki says "If the SpanScorer is also

Re: highlighting on range query

2011-11-24 Thread Rahul Mehta
Hi Ahmet, I passed &hl.highlightMultiTerm=true in request ,* but still field1 is not coming in hightlighting.* http://localhsot:8983/solr/select?q=field1:[5000%20TO%206000]&fl=field2&hl=on&rows=5&wt=json&indent=on&hl.fl=field3&hl.highlightMultiTerm=true I am using solr 3.1. is i need to install

Re: highlighting on range query

2011-11-24 Thread Ahmet Arslan
> I want to have result of a range query with highlighted > Result. http://wiki.apache.org/solr/HighlightingParameters#hl.highlightMultiTerm

highlighting on range query

2011-11-24 Thread Rahul Mehta
Hello, I want to have result of a range query with highlighted Result. e.g. i have this query http://localhsot:8983/solr/select?q=field1:[5000%20TO%206000]&fl=field2&hl=on&rows=5&wt=json&indent=on&hl.fl=field3 is not giving any result in hightliting. Please suggest how can i get the result? --