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
.. 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
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