Re: Solr 3.3 Sorting is not working for long fields

2011-11-15 Thread rajini maski
Thankyou for the responses :) Found that the bug was in naming convention of fields. (for tlong/long ) I had given a number character as a name of the field. Studyid field name was - 450 , Changed it to S450 and it started working :) Thank you all. Regards, Rajani On Tue, Nov 15, 2011 at 3

Re: Solr 3.3 Sorting is not working for long fields

2011-11-15 Thread Michael Kuhlmann
Hi, Am 15.11.2011 10:25, schrieb rajini maski: [...] [...] Hmh, why didn't you just changed the field type to tlong as you mentioned before? Instead you changed the class of the long type. There's nothing against this, it's just a bit confusing since long fields nor

Re: Solr 3.3 Sorting is not working for long fields

2011-11-15 Thread rajini maski
All I didnt find any mistake in the schema.. below I have psted my schema file

Re: Solr 3.3 Sorting is not working for long fields

2011-11-15 Thread rajini maski
All, On Tue, Nov 15, 2011 at 1:21 PM, kashif.khan wrote: > Obviously there is some problem somewhere in the schema or any other files. > the default SOLR demo which is by using the start.jar works well with the > long field. It is just that we do not know where is the problem causing > this >

Re: Solr 3.3 Sorting is not working for long fields

2011-11-15 Thread kashif.khan
Obviously there is some problem somewhere in the schema or any other files. the default SOLR demo which is by using the start.jar works well with the long field. It is just that we do not know where is the problem causing this error. -- View this message in context: http://lucene.472066.n3.nabble

Re: Solr 3.3 Sorting is not working for long fields

2011-11-14 Thread Ahmet Arslan
> Yes . > > Did you restart tomcat and perform re-index? > > > Okey, one thing left. Http caching may cause stale response. Delete your browsers cache if you are using a browser to query solr.

Re: Solr 3.3 Sorting is not working for long fields

2011-11-14 Thread rajini maski
Yes . On 11/14/11, Ahmet Arslan wrote: >> I tried this one.   > name="tlong" class="solr.TrieLongField" >> precisionStep="8" omitNorms="true" >> positionIncrementGap="0"/> >> >> It didn't work :( >> >> Sort didn't happen > > > Did you restart tomcat and perform re-index? >

Re: Solr 3.3 Sorting is not working for long fields

2011-11-14 Thread Ahmet Arslan
> I tried this one.    name="tlong" class="solr.TrieLongField" > precisionStep="8" omitNorms="true" > positionIncrementGap="0"/> > > It didn't work :( > > Sort didn't happen Did you restart tomcat and perform re-index?

Re: Solr 3.3 Sorting is not working for long fields

2011-11-14 Thread rajini maski
I On Mon, Nov 14, 2011 at 7:23 PM, Ahmet Arslan wrote: > > When I do a basic sort on *long *field. the sort doesn't > > happen. > > > > > > Query is : > > > > -< > http://blr-ws-195:8091/Solr3.3/select/?q=2%3A104+AND+526%3A27747&version=2.2&start=0&rows=10&indent=on&sort=469%20asc&fl=469# > > >

Re: Solr 3.3 Sorting is not working for long fields

2011-11-14 Thread Ahmet Arslan
> When I do a basic sort on *long *field. the sort doesn't > happen. > > > Query is : > > - > >   0 >   3 > > -

Re: Solr 3.3 Sorting is not working for long fields

2011-11-14 Thread rajini maski
There is no error as such. When I do a basic sort on *long *field. the sort doesn't happen. Query is : - 0 3 -

Re: Solr 3.3 Sorting is not working for long fields

2011-11-14 Thread Michael Kuhlmann
Am 14.11.2011 09:33, schrieb rajini maski: query : http://localhost:8091/Group/select?/&indent=on&q=studyid:120&sort=studyidasc,groupid asc,subjectid asc&start=0&rows=10 Is it a copy-and-paste error, or did you realls sort on "studyidasc"? I don't think you have a field studyidasc, and Sol

Re: Solr 3.3 Sorting is not working for long fields

2011-11-14 Thread rajini maski
Field type is long and not multi valued. Using solr 3.3 war file , Tried on solr 1.4.1 index and solr 3.3 index , both cases its not working. query : http://localhost:8091/Group/select?/&indent=on&q=studyid:120&sort=studyidasc,groupid asc,subjectid asc&start=0&rows=10 all the ID fields are lo

Re: Solr 3.3 Sorting is not working for long fields

2011-11-12 Thread Erick Erickson
Well, 3.3 has been around for quite a while, I'd suspect that something this fundamental would have been found... Is your field multi-valued? And what kind of field is studyid? You really have to provide more details, input, output, etc to get reasonable help. It might help to review: http://wik