Re: solr sorting problem

2011-05-02 Thread Erick Erickson
.2&start=0&rows=10&indent=on > > Cache could not be a problem as it did not fetch any records from the very > begining. > > So, basically it does not fetch any documents/records whereas it does index > them. > > Thanks > Pratik > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/solr-sorting-problem-tp486144p2889075.html > Sent from the Solr - User mailing list archive at Nabble.com. >

Re: solr sorting problem

2011-05-02 Thread Pratik
Hi, Were you able to sort the results using alphaOnlySort ? If yes what changes were made to the schema and data-config ? Thanks -- View this message in context: http://lucene.472066.n3.nabble.com/solr-sorting-problem-tp486144p2889473.html Sent from the Solr - User mailing list archive at

Re: solr sorting problem

2011-05-02 Thread Pratik
So, basically it does not fetch any documents/records whereas it does index them. Thanks Pratik -- View this message in context: http://lucene.472066.n3.nabble.com/solr-sorting-problem-tp486144p2889075.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: solr sorting problem

2011-05-01 Thread Lance Norskog
on't work > > Thanks -- > View this message in context: > http://lucene.472066.n3.nabble.com/solr-sorting-problem-tp486144p2886248.html > Sent from the Solr - User mailing list archive at Nabble.com. > -- Lance Norskog goks...@gmail.com

Re: solr sorting problem

2011-05-01 Thread Pratik
ColXYZ My data-config looks like :- In which scenarios would SOLR index the records/documents but the search won't work Thanks -- View this message in context: http://lucene.472066.n3.nabble.com/solr-sorting-problem-tp486144p2886248.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: solr sorting problem

2011-04-22 Thread Erick Erickson
ng alphaname ... i get this error :- > The field :foodDesc present in DataConfig does not have a counterpart in > Solr Schema > > Please help > > Thanks > Pratik > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/solr-sorting-problem-tp486144p2851229.html > Sent from the Solr - User mailing list archive at Nabble.com. >

Re: solr sorting problem

2011-04-22 Thread Pratik
name "foodDescUS" to "alphaname". When i try to sort using alphaname ... i get this error :- The field :foodDesc present in DataConfig does not have a counterpart in Solr Schema Please help Thanks Pratik -- View this message in context: http://lucene.472066.n3.nabble.

Re: Solr sorting problem

2010-10-27 Thread Ron Mayer
Savvas-Andreas Moysidis wrote: > In my understanding sorting on a field for which analysis has yielded > multiple terms just doesn't make sense.. > If you have document#1 with a field A which has the terms Epsilon, Alpha, > and document#2 with field A which has the terms Beta, Delta and request > a

RE: Solr sorting problem

2010-10-27 Thread Toke Eskildsen
Jonathan Rochkind [rochk...@jhu.edu] wrote: > I too sometimes have similar use cases, and my best ideas about how to > solve them involve using faceting --- you can facet on a multi-valued > field, and you can sort facets--but you can only sort facets by "index > order", a strict byte-by-byte sort.

Re: Solr sorting problem

2010-10-27 Thread Lance Norskog
You may not sort on a tokenized field. You may not sort on a multiValued field. You can only have one term in a field. If there are more search terms than documents, A) sorting doesn't mean anything and B) Lucene will throw an exception. Erick Erickson wrote: In general, the behavior when so

Re: Solr sorting problem

2010-10-26 Thread Ron Mayer
Erick Erickson wrote: > In general, the behavior when sorting is not predictable when > sorting on a tokenized field, which "text" is. What would > it mean to sort on a field with "erick" "Moazzam" as tokens > in a single document? Should it be in the "e"s or the "m"s? Might it be possible or reas

Re: Solr sorting problem

2010-10-23 Thread Erick Erickson
In general, the behavior when sorting is not predictable when sorting on a tokenized field, which "text" is. What would it mean to sort on a field with "erick" "Moazzam" as tokens in a single document? Should it be in the "e"s or the "m"s? That said, you probably want to watch out for case Be

Re: Solr sorting problem

2010-10-22 Thread Moazzam Khan
For anyone who faced the same problem, changing the field to string from text worked! -Moazzam On Fri, Oct 22, 2010 at 8:50 AM, Moazzam Khan wrote: > The field type of the first name and last name is text. Could that be > why it's not sorting properly? I just changed it to string and started > a

Re: Solr sorting problem

2010-10-22 Thread Moazzam Khan
The field type of the first name and last name is text. Could that be why it's not sorting properly? I just changed it to string and started a full-import. Hopefully that will work. Thanks, Moazzam On Thu, Oct 21, 2010 at 7:42 PM, Jayendra Patil wrote: > need additional information . > Sorti

Re: Solr sorting problem

2010-10-21 Thread Jayendra Patil
need additional information . Sorting is easy in Solr just by passing the sort parameter However, when it comes to text sorting it depends on how you analyse and tokenize your fields Sorting does not work on fields with multiple tokens. http://wiki.apache.org/solr/FAQ#Why_Isn.27t_Sorting_Worki

Solr sorting problem

2010-10-21 Thread Moazzam Khan
Hey guys, I have a list of people indexed in Solr. I am trying to sort by their first names but I keep getting results that are not alphabetically sorted (I see the names starting with W before the names starting with A). I have a feeling that the results are first being sorted by relevancy then s

Re: solr sorting problem

2008-05-23 Thread pmg
riginal Message >> From: pmg <[EMAIL PROTECTED]> >> To: solr-user@lucene.apache.org >> Sent: Thursday, May 22, 2008 10:19:52 PM >> Subject: Re: solr sorting problem >> >> >> I forgot to mention that I made changes to schema after indexing. >

Re: solr sorting problem

2008-05-23 Thread Otis Gospodnetic
e.org > Sent: Thursday, May 22, 2008 10:19:52 PM > Subject: Re: solr sorting problem > > > I forgot to mention that I made changes to schema after indexing. > > > pmg wrote: > > > > I have problem sorting solr results. Here is my solr confi

Re: solr sorting problem

2008-05-22 Thread pmg
> > select/?&rows=100&start=0&q=artistId:100346%20AND%20type:track&sort=alphaTrackSort%20desc&fl=track > > does not sort track. > > Don't understand what is missing from config > -- View this message in context: http://www.nabble.com/solr-sorting-problem-tp17417394p17417408.html Sent from the Solr - User mailing list archive at Nabble.com.

solr sorting problem

2008-05-22 Thread pmg
fig -- View this message in context: http://www.nabble.com/solr-sorting-problem-tp17417394p17417394.html Sent from the Solr - User mailing list archive at Nabble.com.