hit...
-Original Message-
From: Grant Ingersoll [mailto:[EMAIL PROTECTED]
Sent: quarta-feira, 6 de dezembro de 2006 11:33
To: java-user@lucene.apache.org
Subject: Re: Customized Analyzer
I often find that using Luke (google "luke lucene") gives me the info
I need to figure out why I
size() + " products found:");
for(ProductDTO product : products)
{
System.out.println(product.getName() + " " +
product.getModel());
}
}
-Original Message-
From: Chris Hostetter [mailto:[EMAIL PROTECTED]
Sent: terça-feira, 5 de dezembro de 2006 20:54
To
oleanQuery: contents:wind contents:window
and no hit...
-Original Message-
From: Grant Ingersoll [mailto:[EMAIL PROTECTED]
Sent: quarta-feira, 6 de dezembro de 2006 11:33
To: java-user@lucene.apache.org
Subject: Re: Customized Analyzer
I often find that using Luke (google "luke lucen
But still no hits...
Any clue?
-Original Message-
From: Chris Hostetter [mailto:[EMAIL PROTECTED]
Sent: terça-feira, 5 de dezembro de 2006 20:54
To: Lucene Users
Subject: RE: Customized Analyzer
As stated before, a *self contained* test case would help people
diagnose
your problem ...
oleanQuery as I expected:
contents:wind contents:window
But still no hits...
Any clue?
-Original Message-
From: Chris Hostetter [mailto:[EMAIL PROTECTED]
Sent: terça-feira, 5 de dezembro de 2006 20:54
To: Lucene Users
Subject: RE: Customized Analyzer
As stated before, a *self contained* test
.getName() + " " +
product.getModel());
}
}
-Original Message-
From: Chris Hostetter [mailto:[EMAIL PROTECTED]
Sent: terça-feira, 5 de dezembro de 2006 20:54
To: Lucene Users
Subject: RE: Customized Analyzer
As stated before, a *self contained* test case would help people diagnos
As stated before, a *self contained* test case would help people diagnose
your problem ... just cutting and pasting a few snippets of your code is
not enough for people to reproduce your problem.
: And the return is: contents:"(wind window)"
a MultiPhraseQuery that looks like that should be fun
7;window' was to have a query that would do:
Contents:wind contents:window
-Original Message-
From: Mark Miller [mailto:[EMAIL PROTECTED]
Sent: terça-feira, 5 de dezembro de 2006 19:08
To: java-user@lucene.apache.org
Subject: Re: Customized Analyzer
Just took a quick peak at the MultiPhr
would do:
Contents:wind contents:window
-Original Message-
From: Mark Miller [mailto:[EMAIL PROTECTED]
Sent: terça-feira, 5 de dezembro de 2006 19:08
To: java-user@lucene.apache.org
Subject: Re: Customized Analyzer
Just took a quick peak at the MultiPhraseQuery toString() and it does
i
a-feira, 5 de dezembro de 2006 18:58
To: java-user@lucene.apache.org
Subject: Re: Customized Analyzer
On Tuesday 05 December 2006 21:37, Alice wrote:
> It does not work.
>
> Even with the synonyms indexed it is not found.
So if your text contains "wind" it is not found by the q
rça-feira, 5 de dezembro de 2006 18:34
To: java-user@lucene.apache.org
Subject: Re: Customized Analyzer
On Tuesday 05 December 2006 20:14, Alice wrote:
It returns
content:"(wind window)"
That might be the correct representation of a MultiPhraseQuery. So does
your query work a
org
Subject: Re: Customized Analyzer
On Tuesday 05 December 2006 20:14, Alice wrote:
> It returns
> content:"(wind window)"
That might be the correct representation of a MultiPhraseQuery. So does
your query work anyway? It's just that you cannot use QueryParser again to
pars
On Tuesday 05 December 2006 20:14, Alice wrote:
> It returns
> content:"(wind window)"
That might be the correct representation of a MultiPhraseQuery. So does
your query work anyway? It's just that you cannot use QueryParser again to
parse this output (similar to some other queries like SpanQue
On Tuesday 05 December 2006 21:37, Alice wrote:
> It does not work.
>
> Even with the synonyms indexed it is not found.
So if your text contains "wind" it is not found by the query that prints as
content:"(wind window)"? Then I suggest you post a small test case that
shows this problem. As Chri
o:[EMAIL PROTECTED]
Sent: terça-feira, 5 de dezembro de 2006 17:09
To: java-user@lucene.apache.org
Subject: Re: Customized Analyzer
: I search my synonyms set and if I find something I return the token like:
: return new Token(synonyms[i], token.startOffset(), token.endOffset(),
: token.type());
: I search my synonyms set and if I find something I return the token like:
: return new Token(synonyms[i], token.startOffset(), token.endOffset(),
: token.type());
: And when it gets do the query I see:
:
: content:"wind window"
When you add your synonym, it's just going into the stream of tok
16 matches
Mail list logo