Re: Optimizing a query to sort results alphabetically for a determinated field

2009-08-24 Thread Marc Sturlese
; 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&

Re: Optimizing a query to sort results alphabetically for a determinated field

2009-08-24 Thread Avlesh Singh
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

Re: Optimizing a query to sort results alphabetically for a determinated field

2009-08-24 Thread Erik Hatcher
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

Re: Optimizing a query to sort results alphabetically for a determinated field

2009-08-24 Thread Avlesh Singh
/?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] > >>

Re: Optimizing a query to sort results alphabetically for a determinated field

2009-08-24 Thread Constantijn Visinescu
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

Re: Optimizing a query to sort results alphabetically for a determinated field

2009-08-24 Thread Marc Sturlese
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

Re: Optimizing a query to sort results alphabetically for a determinated field

2009-08-24 Thread Constantijn Visinescu
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. > >

Optimizing a query to sort results alphabetically for a determinated field

2009-08-24 Thread Marc Sturlese
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.