Also, I made a mistake in my original post, the sort constructor used is
actually of type String as follows:

Sort sort = new Sort(new SortField(fieldName,SortField.Type.STRING));
                        
All the rest of the code is correct.

Thanks.



--
View this message in context: 
http://lucene.472066.n3.nabble.com/java-lang-NumberFormatException-Using-PhraseQuery-with-Lucene-4-0-0-tp4036273p4036383.html
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]

Reply via email to