; problem:
>> >>
>> >>
>> >>
>> http://localhost/solr//select/?q=whatever&version=2.2&start=0&rows=10&indent=on&sort=town
>> >> asc&fq=town:[a<
>> http://localhost/solr//select/?q=whatever&version=2.2&start=0&
Ah ... I just got wiser!
Thanks Erik.
Cheers
Avlesh
On Mon, Aug 24, 2009 at 4:39 PM, Erik Hatcher wrote:
>
> On Aug 24, 2009, at 7:03 AM, Avlesh Singh wrote:
>
> Can you really sort accurately on tokenized fields?
>>
>
> Yes, as long as there is *one and only one* term emitted from the analyzer
On Aug 24, 2009, at 7:03 AM, Avlesh Singh wrote:
Can you really sort accurately on tokenized fields?
Yes, as long as there is *one and only one* term emitted from the
analyzer. KeywordTokenizer is your friend, and comes in handy to
lowercase or pattern replace things.
Erik
/?q=whatever&version=2.2&start=0&rows=10&indent=on&sort=town
> >> asc&fq=town:[a<
> http://localhost/solr//select/?q=whatever&version=2.2&start=0&rows=10&indent=on&sort=town%0Aasc&fq=town:%5Ba
> >TO
> >> z]
> >>
gt;
> http://localhost/solr//select/?q=whatever&version=2.2&start=0&rows=10&indent=on&sort=town
> >> asc&fq=town:[a<
> http://localhost/solr//select/?q=whatever&version=2.2&start=0&rows=10&indent=on&sort=town%0Aasc&fq=town:%5Ba
> >TO
filter: fq=town:[a TO z] is definitely not good in
>> terms
>> of memory, speed and clauses...
>> Is there any way to do something similar but with a more optimized query?
>> Thanks in advance!
>>
>> --
>> View this message in context:
>> http://www.nabb
TO z] is definitely not good in terms
> of memory, speed and clauses...
> Is there any way to do something similar but with a more optimized query?
> Thanks in advance!
>
> --
> View this message in context:
> http://www.nabble.com/Optimizing-a-query-to-sort-results-alphabetically-for-a-determinated-field-tp25113379p25113379.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
>
timized query?
Thanks in advance!
--
View this message in context:
http://www.nabble.com/Optimizing-a-query-to-sort-results-alphabetically-for-a-determinated-field-tp25113379p25113379.html
Sent from the Solr - User mailing list archive at Nabble.com.