Re: Alphanumeric Field Comparison : Lucene 4.5

2013-11-27 Thread Erick Erickson
;> >> Name field has Bay 1, Bay10, Bay 11, bay 2, Bay 3 >> should be sorted asBay 1, bay 2, Bay 3, Bay10, Bay 11 >> >> >> -Original Message- >> From: Umashanker, Srividhya >> Sent: Tuesday, November 26, 2013 2:26 PM >> To: Uwe Schindler >

Re: Alphanumeric Field Comparison : Lucene 4.5

2013-11-27 Thread Erick Erickson
Bay 1, Bay10, Bay 11, bay 2, Bay 3 > should be sorted asBay 1, bay 2, Bay 3, Bay10, Bay 11 > > > -Original Message- > From: Umashanker, Srividhya > Sent: Tuesday, November 26, 2013 2:26 PM > To: Uwe Schindler > Cc: java-user@lucene.apache.org > Subject: RE: Alph

RE: Alphanumeric Field Comparison : Lucene 4.5

2013-11-26 Thread Umashanker, Srividhya
er, Srividhya Sent: Tuesday, November 26, 2013 2:26 PM To: Uwe Schindler Cc: java-user@lucene.apache.org Subject: RE: Alphanumeric Field Comparison : Lucene 4.5 We do have a duplicate field for every indexed field. 1> field stores text with exact case (used for case sensitive search) 2>lower

RE: Alphanumeric Field Comparison : Lucene 4.5

2013-11-26 Thread Umashanker, Srividhya
return new AlphaNumericFieldComparator(); } } -Original Message----- From: Uwe Schindler [mailto:u...@thetaphi.de] Sent: Tuesday, November 12, 2013 1:57 PM To: java-user@lucene.apache.org Subject: RE: Alphanumeric Field Comparison : Lucene 4.5 Hi, What are you intendin

RE: Alphanumeric Field Comparison : Lucene 4.5

2013-11-12 Thread Uwe Schindler
Hi, What are you intending to do? The example code is lost! In general, to sort alphanumeric/lexical on a human readable field, you would use the collation functionalities (needs a separate field for sorting containing the collation keys) provided by Lucene. Use http://lucene.apache.org/co