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,
    "QTime":4,
    "params":{
      "hl.highlightMultiTerm":"true",
      "fl":"lily.id,rangefld",
      "indent":"on",
      "hl.useFastVectorHighlighter":"false",
       "q":"rangefld:[5000 TO 6000]",
      "hl.fl":"*,rangefld",
      "wt":"json",
      "hl.usePhraseHighlighter":"true",
      "hl":"on",
      "rows":"5"}},
  "response":{"numFound":64,"start":0,"docs":[
      {
        "lily.id":"UUID.c5f00cd3-343a-47c1-ab16-ace104b2540f",
        "rangefld":5948},
      {
        "lily.id":"UUID.ed69ece0-1b24-4829-afb6-22eb242939f2",
        "rangefld":5749},
      {
        "lily.id":"UUID.afa0c654-2f26-4c5b-9fda-8b51c5ec080d",
        "rangefld":5739},
      {
        "lily.id":"UUID.d92b405d-f41e-4c85-9014-1b89a986ec42",
        "rangefld":5783},
      {
        "lily.id":"UUID.102adde5-cbff-4ca6-acb1-426bb14fb579",
        "rangefld":5753}]
  },
  "highlighting":{
    "UUID.c5f00cd3-343a-47c1-ab16-ace104b2540f":{},
    "UUID.ed69ece0-1b24-4829-afb6-22eb242939f2":{},
    "UUID.afa0c654-2f26-4c5b-9fda-8b51c5ec080d":{},
    "UUID.d92b405d-f41e-4c85-9014-1b89a986ec42":{},
    "UUID.102adde5-cbff-4ca6-acb1-426bb14fb579":{}}}

Why rangefld is not coming in highlight result.

On Mon, Nov 28, 2011 at 12:47 PM, Ahmet Arslan <iori...@yahoo.com> wrote:

> > 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?
>



-- 
Thanks & Regards

Rahul Mehta

Reply via email to