lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Libbrecht <p...@activemath.org>
Subject Re: Intersecting queries
Date Tue, 11 Oct 2005 13:02:01 GMT
search a query using a filter that's a query-filter ??

paul


Le 11 oct. 05, à 13:36, Trond Aksel Myklebust a écrit :

> I need to be able to intersect the result of two queries based on a 
> field
> "ID". So if I do a search:
>
> Content2 = "something totally" and a search: Content1 = "something" I 
> want
> to return only Document 2 based on the field ID being the same.
>
> Any tip on how to do this in Lucene, or should I go for an external
> solution?
>
>
>
> Document 1:
>
> ID = 500
>
> Content1 = "something"
>
>
>
> Document 2:
>
> ID = 500
>
> Content2 = "something totally"
>
>
>
> Document 3:
>
> ID = 501
>
> Content2 = "something totally different"
>
>
>
>
>
> Regards
>
> Trond A Myklebust
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message