Re: Solr 8 - Sort Issue

2019-12-09 Thread Paras Lehana
Hi Anuj, Glad that it worked. I ask for schema screenshot everyone because I'm mostly sure of the schema not being reloaded or something. However, I change pint to plong because it was taking an awful lot of time > to index. Strange! Why do you think that this is the case? On Mon, 9 Dec 2019 a

Re: Solr 8 - Sort Issue

2019-12-09 Thread Anuj Bhargava
Thanks Paras, that was very helpful. Restarted solr and for posting_id it showed pint earlier it was showing string. However, I change pint to plong because it was taking an awful lot of time to index. Thanks again, Regards, ANuj On Mon, 9 Dec 2019 at 11:32, Paras Lehana wrote: > Hi Anuj, > >

Re: Solr 8 - Sort Issue

2019-12-08 Thread Paras Lehana
Hi Anuj, Thanks for that. 1. Go to Schema (left side section) > choose your field posting_id and post the screenshot. Are you able to see IntPointField or pint there?. 2. Please post the query you are using for sorting. Also, post a sample of response. -- * *

Re: Solr 8 - Sort Issue

2019-12-08 Thread Anuj Bhargava
Hi Paras, Regards, Anuj On Mon, 9 Dec 2019 at 10:37, Paras Lehana wrote: > Hi Anuj, > > Please post the part of your schema for this field and its fieldType. > > On Sat, 7 Dec 2019 at 10:38, Anuj Bhargava wrote: > > > Tried with plong, pint and string. Reindexed aft

Re: Solr 8 - Sort Issue

2019-12-08 Thread Paras Lehana
Hi Anuj, Please post the part of your schema for this field and its fieldType. On Sat, 7 Dec 2019 at 10:38, Anuj Bhargava wrote: > Tried with plong, pint and string. Reindexed after each change. The sort > results on numeric values being shown are the same - > Ascending > 1 > 10 > 100 > 2 > 210

Re: Solr 8 - Sort Issue

2019-12-06 Thread Anuj Bhargava
Tried with plong, pint and string. Reindexed after each change. The sort results on numeric values being shown are the same - Ascending 1 10 100 2 2100 3 Descending 999 99 9 88 88 On Fri, 6 Dec 2019 at 17:15, Anuj Bhargava wrote: > Numeric sorting. Did the re-indexing. But did

Re: Solr 8 - Sort Issue

2019-12-06 Thread Anuj Bhargava
Numeric sorting. Did the re-indexing. But didn't work. Regards, Anuj On Fri, 6 Dec 2019 at 16:44, Munendra S N wrote: > > > > What should I use for numeric search. > > numeric search or numeric sorting? > > I tried with pint also, but the result was the same. > > It should have worked. please

Re: Solr 8 - Sort Issue

2019-12-06 Thread Munendra S N
> > What should I use for numeric search. numeric search or numeric sorting? I tried with pint also, but the result was the same. It should have worked. please make sure data is reindexed after fieldType changes Regards, Munendra S N On Fri, Dec 6, 2019 at 4:10 PM Anuj Bhargava wrote: > I

Re: Solr 8 - Sort Issue

2019-12-06 Thread Anuj Bhargava
I tried with pint also, but the result was the same. What should I use for numeric search. Regards, Anuj On Fri, 6 Dec 2019 at 15:55, Munendra S N wrote: > Hi Anuj, > As the field type is String, lexicographical sorting is done, not numeric > sorting. > > Regards, > Munendra S N > > > > On Fri

Re: Solr 8 - Sort Issue

2019-12-06 Thread Munendra S N
Hi Anuj, As the field type is String, lexicographical sorting is done, not numeric sorting. Regards, Munendra S N On Fri, Dec 6, 2019 at 3:12 PM Anuj Bhargava wrote: > When I sort desc on posting_id sort=posting_id%20desc, I get the following > result > "posting_id":"313" > "posting_id":"

Solr 8 - Sort Issue

2019-12-05 Thread Anuj Bhargava
When I sort desc on posting_id sort=posting_id%20desc, I get the following result "posting_id":"313" "posting_id":"312" "posting_id":"310" When I sort asc on posting_id sort=posting_id%20asc, I get the following result "posting_id":"10005343" "posting_id":"10005349" "posting_id":"10005