On Thu, Sep 25, 2008 at 5:04 PM, David Lee <[EMAIL PROTECTED]> wrote:
> thanks! So it seems like lucene does a sequential read of both terms
> information in the index and then skips around using docid iterators? Is it
> able to push the skipping around into the index so it doesn't need to read
> a
thanks! So it seems like lucene does a sequential read of both terms
information in the index and then skips around using docid iterators? Is it
able to push the skipping around into the index so it doesn't need to read
as much?
On Thu, Sep 25, 2008 at 10:56 AM, Yonik Seeley <[EMAIL PROTECTED]> wr
On Thu, Sep 25, 2008 at 1:39 PM, David Lee <[EMAIL PROTECTED]> wrote:
> I was wondering when lucene queries two or more terms, does that mean the
> time it takes will be twice as long? For example if I search +lucene
> +apache, then does lucene get all the documents that match 'lucene' and all
> th
Hi,
I was wondering when lucene queries two or more terms, does that mean the
time it takes will be twice as long? For example if I search +lucene
+apache, then does lucene get all the documents that match 'lucene' and all
the documents that match 'apache', and then combine them together? Or can it
thank you for your posts ..
the "*" is any word .. hopefully, i should be able to identify sentences in a
text and then apply one of these 3 rules ..
(1) A * *
find the sentences that include the word A and to its left exactly two words
(any words)
(2) A * * B *
find the sentences that inclu
: There's no syntax I know of that'll give you this kind of query out of the
: box. The closest thing would be span queries, which will give you things
: like A**B, meaning "give me all documents where A is NOT MORE THAN 2 words
: away from B. This is not what you're asking for, since it would als
My question is "what are you trying to accomplish"? The reason I ask is that
all three queries pre-suppose that the search you're performing is on a very
precisely defined fields. (1) supposes a field where the A is exactly three
words from the end. (3) supposes the A is exactly three words from t
Hi,
I am wondering if Lucene can handle the following queries:
(1) A * *
give me all documents with word A followed by exactly two words
(2) A * * B *
give me all documents with words A and B exactly separated by 2 words and word
B followed by one word
(3) * * A
give me all documents with word A