lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <>
Subject Re: dismax multi search?
Date Mon, 05 Apr 2010 17:52:41 GMT

: I want to be able to direct some search terms to specific fields
: I want to do something like this
: keyword1 should search against book titles / authors
: keyword2 should search against book contents / book info / user reviews

your question is a little vague ... will keyword1 and keyword2 be distinct 
params (ie: will the user tell you when certain words should be queried 
against titles/authors and when other keywords sould be queried against 
content/info/reviews) ... or are you going to have big ass giant workd 
lists, and anytime you see a word from one of those lists, you query a 
specific field for that word?

assuming you mean the first (and not hte second) situation, you can use 
nested query parsers with param substitutio to get some interesting 


View raw message