lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
Subject Re: Dismax query parser with different field classes
Date Thu, 15 Jan 2009 22:42:19 GMT

: I have a small problem with using a boost query, which is that I would like
: documents found in the boost query to be returned even if the main query
: does not include those results. So what I am effectively looking for is an
: OR between the dismax query and the boost query, rather than a required main
: query or'd with the boost query. Does anything currently exist which can
: facilitate this?

i don't think so.

I think you would need to write a custom version of QueryComponent to do 
this.

A lot of cool magic (that is as yet still largely undocumented) got added 
when the QParser and QParserPlugin apis were added for doing local params 
and even variable substitution using other request params -- but that 
still all happens at a string level.  i can't think of any way to say that 
you want multiple querys generated by different QParsers to be combined in 
a particular way


-Hoss


Mime
View raw message