12 okt 2007 kl. 03.09 skrev Chris Hostetter:
: No, sorry, I'm still confused. It ought to be a term queries?
: > > System.out.println(new QueryParser("f", new Analyzer() {
: > > public TokenStream tokenStream(String string, Reader reader) {
: > > return new NGramTokenFilter(new Standard
: No, sorry, I'm still confused. It ought to be a term queries?
: > > System.out.println(new QueryParser("f", new Analyzer() {
: > > public TokenStream tokenStream(String string, Reader reader) {
: > > return new NGramTokenFilter(new StandardTokenizer(reader), 2, 5);
: > > }
: > > }).pars
No, sorry, I'm still confused. It ought to be a term queries?
--
the flooding troll
11 okt 2007 kl. 20.40 skrev Karl Wettin:
I now realize that that phrase makes sense, and that it was another
"feature" in my code that confused me.
So, forget about it.
Bada bing, bada bom.
--
karl
1
I now realize that that phrase makes sense, and that it was another
"feature" in my code that confused me.
So, forget about it.
Bada bing, bada bom.
--
karl
11 okt 2007 kl. 19.47 skrev Karl Wettin:
I don't understand, why does the following code create 2 phrase
queries instead of 20 term
I don't understand, why does the following code create 2 phrase
queries instead of 20 term queries? I'm quite sure I've previously
had QueryParser doing the latter.
System.out.println(new QueryParser("f", new Analyzer() {
public TokenStream tokenStream(String string, Reader reader) {
re