lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kevinkilroy <kevinkil...@hotmail.com>
Subject Sorting case insensitive wildcard queries
Date Fri, 19 Feb 2010 11:02:30 GMT

Hi,

I have an AnalyzerDefinition:

@AnalyzerDef(name = "CustomAnalyzer", 
             tokenizer = @TokenizerDef(factory =
StandardTokenizerFactory.class),
             filters = { @TokenFilterDef(factory =
LowerCaseFilterFactory.class) }
            )

This works well, as I can do case insensitive searches, however, I sort my
results, but lowercase names remain at the end of the list of results. For
example:

Name
Mobile phone 
Monitor 
Searching
Testing
mobile defib

I would like to sort case insensitively, so mobile defib would appear
between Name & Mobile phone.

note, I am using wildcard queries for the search.

Is this possible?

Thanks in advance,

Kevin.


-- 
View this message in context: http://old.nabble.com/Sorting-case-insensitive-wildcard-queries-tp27652362p27652362.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message