Those two message print the following:
For qtxt 1* the result query is allText:1*
and
The analyzer in use is: org.apache.lucene.analysis.standard.StandardAnalyzer
- org.apache.lucene.analysis.standard.StandardAnalyzer
I hope this helps. Thank you for all your help.
Doron Cohen wrote:
>
>
>> My QueryParser looks like this:
>> query = QueryParser.parse("1*","allText",analyzer);
>>
>> analyzer is predetermited for this class. Is there something special I
>> should be setting in this to allow for this search string?
>
> Is it a custom analyzer or one of Lucene's analyzers?
> Examining the result query will tell if the used analyzer is causing you
> trouble: what would be printed by adding the following lines just after
> you
> create the query?
>
> System.out.println("For qtxt 1* the result query is" + query);
> System.out.println("The analyzer in use is:
> "+analyzer.getClass().getName() + " - " + analyzer);
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
View this message in context:
http://www.nabble.com/Searching-with-%221%22-tf2320552.html#a6492358
Sent from the Lucene - Java Developer mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]