lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Trond Aksel Myklebust" <trond...@stud.ntnu.no>
Subject Intersecting queries
Date Tue, 11 Oct 2005 11:36:36 GMT
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

 


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