lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ltaylor.employon" <ltay...@employon.com>
Subject Searching by bit masks
Date Thu, 09 Nov 2006 19:30:23 GMT

Hello,

I am currently evaluating Lucene to see if it would be appropriate to
replace my company's current search software.  So far everything has been
looking great, however there is one requirement that I am not too certain
about.

What we need to do is to be able to store a bit mask specifying various
filter flags for a document in the index and then search this field by
specifying another bit mask with desired filters, returning documents that
have any of the specified flags set.  In other words, we are doing a bitwise
OR on the stored filter bit mask and the specified filter bit mask and if it
is non-zero, we want to return the document.

Before I started toying around with various options myself, I wanted to see
if any of you good folks in the Lucene community had some suggestions for an
efficient way to implement this.

We currently need to index ~8,000,000 documents.  We have several filter
flag fields, the most important of which currently has 7 possible flags with
any combination of the flags being valid.  The number of flags is expected
to increase rather rapidly in the near future.

My preemptive thanks for your suggestions.

Lawrence Taylor
Senior Software Engineer
Employon
-- 
View this message in context: http://www.nabble.com/Searching-by-bit-masks-tf2603692.html#a7264721
Sent from the Lucene - General mailing list archive at Nabble.com.

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