lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Kimm <ch...@seeqa.com>
Subject Matching a single document
Date Sun, 08 Feb 2004 19:07:04 GMT
This may not fit any of Lucene's usage models, but is there a way to 
match a single document - before it has been indexed - to a query?

The motivation for this is to add a listener to the IndexWriter which 
listens for documents matching existing Query objects.  Two possible 
approaches, both of which seem ungainly, are 1) creating a temporary 
index for each document being indexed or 2) Writing a class that matches 
document Fields with Query Terms.  This second approach would require a 
way to extract individual Terms from Queries.  Is that possible?

Thanks,

Chris




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


Mime
View raw message