Hi Veit,
Thank you for the quick response and clarification on how the Query Parser
works. It does help.
-- Mark.
Mark Ashworth
IBM Informix Extensibility Architect
Office phone: +1 (905) 413-5033, TL: 313-5033
Alternate: +1 (905) 697-8094
Notes: Mark Ashworth/Toronto/i...@ibmca
Internet: mailto:ashwo...@ca.ibm.com
From:
Veit Jahns <nuncupa...@googlemail.com>
To:
clucene-developers@lists.sourceforge.net
Date:
09/01/2010 04:20 PM
Subject:
Re: [CLucene-dev] wild card query
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