: 1. search on different fields
: 2. highlight the query string in searching fields, not default search

: I think the only option I have is to use standard request handler and
: specify which field I want to search and add the same field to hl.fl,
: something similar to ?q=TITLE:consult*&hl=on&hl.fl=TITLE, right?

pretty much, if you want to ensure that your highlighting only aplies to
things that actauly result in query matches, set hl.requireFieldMatch=true
that way in queries like this...

   ?q=DEK:albino+TITLE:elephant&hl=on&hl.fl=TITLE,DEK

...the word elephant won't be highlighted in the DEK field, and the word
albino won't be highlighted in the TITLE field.




-Hoss

Reply via email to