It looks like its because I'm using the SimpleAnalyzer instead of the
StandardAnalyzer. What is the SimpleAnalyzer to this query to make it not
work?
http://wiki.apache.org/jakarta-lucene/AnalysisParalysis
It is a good idea to analyze the analyzer. Do a .toString output of the Query and you'll see clearly what happened.
Erik
Thanks, Reece
--- Lucene Users List" <[EMAIL PROTECTED] wrote: Hi,it returns
I have a bunch of digits in a field. When I do this searchthe correct documentnothing:
myField:0000001085609805100
It returns<--when I add a * to the end like this:
myField:0000001085609805100*that Luceneadded the *
I'm not sure what is happening here. I'm thinkingis doing some number conversion internally when it sees onlydigits. WhenI add the * maybe it presumes it is still a string.
Thanks,How do I get a string of digits to work without adding a *?
Reece
---------------------------------------------------------------------
additional commands, e-mail: [EMAIL PROTECTED]To unsubscribe, e-mail: [EMAIL PROTECTED] For
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]