19 sep 2008 kl. 11.05 skrev 叶双明:
Document<stored/uncompressed,indexed<field:abc>>
Document<stored/uncompressed,indexed<field:bcd>>
How can I get the first Document buy some query string like "a" ,
"ab" or
"abc" but no "b" and "bc"?
You would create an ngram filter that create grams from the first
position only. Take a look at EdgeNGramTokenFilter in contrib/analyzers.
karl
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]