Re: SortField.STRING

2012-10-24 Thread Carlos de Luna Saenz
Thanks... that's it... sorry to siturb with something that simple. > > De: Ian Lea >Para: java-user@lucene.apache.org; Carlos de Luna Saenz > >Enviado: Miércoles, 24 de octubre, 2012 1:55 P.M. >Asunto: Re: SortField.STRING > &g

Re: SortField.STRING

2012-10-24 Thread Ian Lea
.. and i have the following > code that i don't know how to change: > > hits = searcher.search(queryGlobal, searcher.maxDoc(), > new Sort(new SortField(ordenarPor, SortField.STRING))); > > I already change the searcher.maxDoc() to indxr.maxDoc() but SortFi

SortField.STRING

2012-10-24 Thread Carlos de Luna Saenz
I am migrating code from Lucene 3 to Lucene 4... and i have the following code that i don't know how to change:   hits = searcher.search(queryGlobal, searcher.maxDoc(),     new Sort(new SortField(ordenarPor, SortField.STRING)));   I already change the searcher.maxDoc