Hey guys,

evening.

I have a question about solr.  Let's say I have people profile documents in
the index.  I give a search box where users can search these people
profiles. Naturally the user could enter the following combinations of
words:

<WORD>
<WORD> <WORD>

where the second instance is either <last-name> <first-name> OR <first-name>
<last-name>.  I only ever want to search for these terms under the last-name
and first-name fields.  How do I do this without having to construct a
lucene fielded query (since I wouldn't know which field to append to which
token).  I THINK I want to use the dismax request handler. If this is the
case then I'd make my qf to be "last-name^2.0 first-name".  I'm not realy
sure what "fq" param is for, could anyone explain?

I'm very new to solr and I'm sure I'm making this way more complex than it
actually is to do this :)

thanks
--
alessandro ferrucci =]

Reply via email to