lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djd0383 <ddigm...@formos.com>
Subject Re: Searching with "1"
Date Mon, 25 Sep 2006 18:21:13 GMT

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: java-dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-dev-help@lucene.apache.org
> 
> 
> 

-- 
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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message