lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shalin Shekhar Mangar <shalinman...@gmail.com>
Subject Re: Dismax handler phrase matching question
Date Tue, 02 Jun 2009 06:27:27 GMT
On Tue, Jun 2, 2009 at 12:53 AM, anuvenk <anuvenkatesh@hotmail.com> wrote:

>
> title                      state
>
> dui faq1               california
> dui faq2               florida
> dui faq3               federal
>
> Now I want to be able to return federal results irrespective of the state.
> For example dui california should return all federal results for 'dui' also
> along with california results.
>

Perhaps you just need to create your query in such a way that both match?

q=title:(dui california) state:(dui california) state:federal

-- 
Regards,
Shalin Shekhar Mangar.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message