Itanar would know more about this, but I thought the query parser IS
used in the new version. Itamar?

On Wednesday, September 1, 2010, Veit Jahns <nuncupa...@googlemail.com> wrote:
> Hi Mark,
>
> in wildcard queries the tokens are not processed by the analyzer (see
> also [1]). So in your case the searcher will look for terms beginning
> the the characters "1ab". And because they original term is split up
> by the StandardAnalyzer into two terms, there is no such term in the
> index.
>
> I had once a similar problem. I solved it by extending the query
> parser, which processed the part before the asterisk separately and
> combined the result with the wildcard query.
>
> HTH,
>
> Veit
>
> [1] 
> http://wiki.apache.org/lucene-java/LuceneFAQ#Are_Wildcard.2C_Prefix.2C_and_Fuzzy_queries_case_sensitive.3F
>
> ------------------------------------------------------------------------------
> This SF.net Dev2Dev email is sponsored by:
>
> Show off your parallel programming skills.
> Enter the Intel(R) Threading Challenge 2010.
> http://p.sf.net/sfu/intel-thread-sfd
> _______________________________________________
> CLucene-developers mailing list
> CLucene-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/clucene-developers
>

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
CLucene-developers mailing list
CLucene-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/clucene-developers

Reply via email to