Why are my Lucene Document results empty?

Posted by vegashacker on Stack Overflow See other posts from Stack Overflow or by vegashacker
Published on 2010-04-30T06:54:54Z Indexed on 2010/04/30 6:57 UTC
Read the original article Hit count: 147

Filed under:
|

I'm running a simple test--trying to index something and then search for it. I index a simple document, but then when a search for a string in it, I get back what looks to be an empty document (it has no fields). Lucene seems to be doing something, because if I search for a word that's not in the document, it returns 0 results.

Any reason why Lucene would reliably return a document when it finds one that matches the given query, and yet that document has nothing in it?

Thanks!

PS: I'm actually running Lucandra (Lucene + Cassandra). That certainly may be a relevant detail, but not sure.

© Stack Overflow or respective owner

Related posts about lucene

Related posts about cassandra