lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cam Bazz" <>
Subject query to return docs that has a certain field
Date Thu, 11 Sep 2008 22:31:02 GMT

Lets say we have different document types, and one type of document
only contains field A.

How can I make a query so that I get all the documents that only has field A?

There is a get all documents query, but that would get all the
documents whether they contain field A or not.

Is there a way? I could make the documents containing field A have
another field B equals some flag, and then query for that flag, but
that would be kind of inefficient.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message