: What I was trying to do is search the file containing a bit-sequence and : specific bit is on/off. For example, search files containing a : bit-sequence such as "0110101011..." and third-bit is on.
I think the crux of your problem is: in 3.x, wildcard and regex queries were extermely inefficient and virtually unusable on large indexes for common case query patterns; so the implementation was changed to use automatas. Usecases like you are describing (more wildcards then fixed characters) are definitely not the common case, but were at least possible using the 3.x implementation -- but in 4x require an obscene amount of ram. If you were happy with the performance you were getting of this type of query in 3.x, you could still achieve similar results the same basic algorithm as the 3.x Wildcard query -- it's just no longer provided out of the box. The gist would be: have a custom query that iterates over every term in hte field, testing it against your wildcard/regex pattern and return any docs including those terms. But i would strongly suggest you consider other ways of indexing your data (along the lines of Dawid's suggestion) to find more efficient ways of achieving the same goal. -Hoss --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
