Re: Custom sort function

2019-11-27 Thread Sripra deep
e > its been used in many business scenarios. Looking out for what's going > wrong. > > Thanks, > Sripradeep P > > > On Wed, Nov 27, 2019 at 1:00 PM Jörn Franke wrote: > >> And have you tried how fast it is if you don’t do anything in this >> method? >

Re: Custom sort function

2019-11-27 Thread Jörn Franke
wrote: >> And have you tried how fast it is if you don’t do anything in this method? >> >> > Am 27.11.2019 um 07:52 schrieb Sripra deep : >> > >> > Hi Team, >> > I wrote a custom sort function that will read the field value and parse >> >

Re: Custom sort function

2019-11-27 Thread Sripra deep
ried how fast it is if you don’t do anything in this method? > > > Am 27.11.2019 um 07:52 schrieb Sripra deep >: > > > > Hi Team, > > I wrote a custom sort function that will read the field value and parse > > and returns a float value that will be used f

Re: Custom sort function

2019-11-26 Thread Jörn Franke
And have you tried how fast it is if you don’t do anything in this method? > Am 27.11.2019 um 07:52 schrieb Sripra deep : > > Hi Team, > I wrote a custom sort function that will read the field value and parse > and returns a float value that will be used for sorting. this fie

Re: Custom sort function

2019-11-26 Thread Jörn Franke
eep : > > Hi Team, > I wrote a custom sort function that will read the field value and parse > and returns a float value that will be used for sorting. this field is > indexed, stored and docvalues enabled. my latency increases drastically > from 10ms when the filter loads 50 doc

Custom sort function

2019-11-26 Thread Sripra deep
Hi Team, I wrote a custom sort function that will read the field value and parse and returns a float value that will be used for sorting. this field is indexed, stored and docvalues enabled. my latency increases drastically from 10ms when the filter loads 50 documents and 200ms when it loads 250

Re: Custom Sort option to apply at SOLR index

2018-01-09 Thread padmanabhan
Thank you Erick, it worked. -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Custom Sort option to apply at SOLR index

2017-08-02 Thread Erick Erickson
Descending order* > > ABCD5678 > ABCD1234 > 5678ABCD > 1234ABCD > 1234#ABCD > #2345DBCA > #2345ACBD > #2345ABCD > > Thanks & Regards, > Paddy > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Custom-Sort-option-to-apply-at-SOLR-index-tp4348787.html > Sent from the Solr - User mailing list archive at Nabble.com.

Custom Sort option to apply at SOLR index

2017-08-02 Thread padmanabhan
egards, Paddy -- View this message in context: http://lucene.472066.n3.nabble.com/Custom-Sort-option-to-apply-at-SOLR-index-tp4348787.html Sent from the Solr - User mailing list archive at Nabble.com.

RE: Help on custom sort

2014-09-22 Thread Scott Smith
I'll take a look at that. Thanks -Original Message- From: Apoorva Gaurav [mailto:apoorva.gau...@myntra.com] Sent: Sunday, September 21, 2014 11:32 PM To: solr-user Subject: Re: Help on custom sort Try using a custom value source parser and pass the "formula" of computin

Re: Help on custom sort

2014-09-21 Thread Apoorva Gaurav
er 20, 2014 11:58 AM > To: solr-user@lucene.apache.org > Subject: Re: Help on custom sort > > How many different groups are there? And can user A ever be part of more > than one group? > If > 1> there are a reasonably small number of groups (< 100 or so as a > place

RE: Help on custom sort

2014-09-21 Thread Scott Smith
tember 20, 2014 11:58 AM To: solr-user@lucene.apache.org Subject: Re: Help on custom sort How many different groups are there? And can user A ever be part of more than one group? If 1> there are a reasonably small number of groups (< 100 or so as a place to start) and 2> a user is alway

Re: Help on custom sort

2014-09-20 Thread Erick Erickson
ax of all the groups the user is in. I admit I haven't really thought that through well though... Best, Erick On Sat, Sep 20, 2014 at 9:26 AM, Scott Smith wrote: > I need to provide a custom sort option for sorting by price and I would like > some suggestions. It's not the stra

Help on custom sort

2014-09-20 Thread Scott Smith
I need to provide a custom sort option for sorting by price and I would like some suggestions. It's not the straightforward "just sort by a price field in the document" scenario or I wouldn't be asking for help. Here's the scenario I'm dealing with. I have 10

Re: Custom Sort(0.2*relervanceScore + 0.8*numberic_field_value)

2013-08-19 Thread 刘健
7 AM To: "solr-user"; Subject: Re: Custom Sort(0.2*relervanceScore + 0.8*numberic_field_value) Edismax applies the multiplicative boost ("boost") after applying the additive boost functions ("bf"). I think (0.2*relervance score + 0.8* specified_numberic_fie

Re: Custom Sort(0.2*relervanceScore + 0.8*numberic_field_value)

2013-08-19 Thread Jack Krupansky
elevance score + 4.0* specified_numeric_field) Unless the actual numeric range of the scores matters, just use: relevance score + 4.0* specified_numeric_field or bf=mul(4.0, specified_numeric_field) -- Jack Krupansky -Original Message- From: 刘健 Sent: Monday, August 19, 2013 9:50 PM To: solr-user

Custom Sort(0.2*relervanceScore + 0.8*numberic_field_value)

2013-08-19 Thread 刘健
Hello: I want to get final search result sorted by (0.2*relervance score + 0.8* specified_numberic_field) . I have known that if I use “bf”in edismax (e.g. bf=field(value)), I can get a result sorted by(relervance sore + field(value)) ,but I don`t know how to Implement the result sorted b

Re: Query regarding solr custom sort order

2012-01-17 Thread umaswayam
s discussed in the thread. So can we restrict it to send single values based on certain category ID or something like this. Thanks in advance, Uma Shankar -- View this message in context: http://lucene.472066.n3.nabble.com/Query-regarding-solr-custom-sort-order-tp3631854p3665545.html Sent from t

Re: Query regarding solr custom sort order

2012-01-06 Thread Bernd Fehling
regarding-solr-custom-sort-order-tp3631854p3637181.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Query regarding solr custom sort order

2012-01-05 Thread umaswayam
6.n3.nabble.com/Query-regarding-solr-custom-sort-order-tp3631854p3637181.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Query regarding solr custom sort order

2012-01-04 Thread Bernd Fehling
Hi, I suggest using the following fieldType for your field: Regards Bernd Am 04.01.2012 14:40, schrieb umaswayam: Hi, We want to sort our records based on some sequence which is like 1 2 3 4 5 6 7 8 9 10 11 12 13 14. I am using Websphere commerce to retrieve data using solr. When we a

Re: Query regarding solr custom sort order

2012-01-04 Thread Sethi, Parampreet
ong here. > >Thanks in advance >Uma Shankar > > > >-- >View this message in context: >http://lucene.472066.n3.nabble.com/Query-regarding-solr-custom-sort-order- >tp3631854p3631854.html >Sent from the Solr - User mailing list archive at Nabble.com.

Re: Query regarding solr custom sort order

2012-01-04 Thread Erik Hatcher
I am doing something > wrong here. > > Thanks in advance > Uma Shankar > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Query-regarding-solr-custom-sort-order-tp3631854p3631854.html > Sent from the Solr - User mailing list archive at Nabble.com.

Query regarding solr custom sort order

2012-01-04 Thread umaswayam
ng wrong here. Thanks in advance Uma Shankar -- View this message in context: http://lucene.472066.n3.nabble.com/Query-regarding-solr-custom-sort-order-tp3631854p3631854.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Question about SOLR custom sort order

2012-01-01 Thread Andrea Gazzarini
We fullfilled a similar requirement by creating a new field that is populated at client-level (a standalone app that converts binary data in solr input documents) Andrea On 1/1/12, Erick Erickson wrote: > There's no good way of enforcing this as far as I know > as you've outlined the problem. Yo

Re: Question about SOLR custom sort order

2012-01-01 Thread Erick Erickson
There's no good way of enforcing this as far as I know as you've outlined the problem. You can easily specify multiple sort criteria, where ties in the first criteria are broken by the second criteria and so on. So, if your records have *no* city value you can do what you want by specifying the ci

Question about SOLR custom sort order

2012-01-01 Thread Gupta, Veeranjaneya
Hi, I use Solr 1.4 version and I have a question about SOLR sort order. Requirement : Sort names(e.g. : location names like Dallas(City), las vegas(City), Texas(State), India(Country), Canada(Country), etc..) based on category(e.g. : CITY, STATE, COUNTRY, etc..) How to sort the SOLR results bas

Re: Custom sort

2009-07-10 Thread dontthinktwice
omparatorSource (as you mention), Comparator, SortField, and ValueSource. The ValueSource stuff is actually what's confusing me right now. I wish I had an example other than RandomSortField. Any advice? Alex -- View this message in context: http://www.nabble.com/Custom-sort-tp23722921p24434489.html

Re: Custom sort

2009-07-10 Thread Ben
my custom field. The problem is that I have laoded in the solr core a couple of HashMaps from a DB with values that will influence in the sort. My problem is that I don't know how to let my custom sort have access to this HashMaps. I am a bit confused now. I think that would be easy to

Re: Custom sort

2009-07-10 Thread dontthinktwice
Marc Sturlese wrote: > > I have been able to create my custom field. The problem is that I have > laoded in the solr core a couple of HashMaps > from a DB with values that will influence in the sort. My problem is that > I don't know how to let my custom sort have access t

Re: Custom sort

2009-05-29 Thread Marc Sturlese
I have been able to create my custom field. The problem is that I have laoded in the solr core a couple of HashMaps from a DB with values that will influence in the sort. My problem is that I don't know how to let my custom sort have access to this HashMaps. I am a bit confused now. I think

Re: Custom sort

2009-05-26 Thread Yonik Seeley
e. -Yonik http://www.lucidimagination.com On Tue, May 26, 2009 at 9:25 AM, Marc Sturlese wrote: > > Hey there, > > I want to implement a custom sort coding my own SortComparatorSource. The > sorter would sort the results doing some calculations of some document > attributes wi

Custom sort

2009-05-26 Thread Marc Sturlese
Hey there, I want to implement a custom sort coding my own SortComparatorSource. The sorter would sort the results doing some calculations of some document attributes witch I have loaded previously from a DB at the solr core init. I mean, I have a preloaded hash with some attributes per doc id

Re: Custom sort based on arbitrary order

2009-04-14 Thread Chris Hostetter
: custom order that is fairly simple: there is a list of venues and some of : them are more relevant than others (there is no logic, it's arbitrary, it's : not an alphabetic order), it'd be something like this: : : Orange venue = 1 : Red venu = 2 : Blue venue = 3 : : So results where venue is "o

Custom sort based on arbitrary order

2009-04-06 Thread pris54
finally "blue". Could you advice on the easiest way to have this example working? Thanks a lot, Paula -- View this message in context: http://www.nabble.com/Custom-sort-based-on-arbitrary-order-tp22908037p22908037.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Custom sort (score + custom value)

2008-11-04 Thread George
Todd: Yes, I looked into these arguments before I found the problem I described in the first email. Yonik: It's exactly what I was looking for. George On Mon, Nov 3, 2008 at 7:10 PM, Yonik Seeley <[EMAIL PROTECTED]> wrote: > On Mon, Nov 3, 2008 at 12:37 PM, George <[EMAIL PROTECTED]> wrote: > >

Re: Custom sort (score + custom value)

2008-11-03 Thread Yonik Seeley
On Mon, Nov 3, 2008 at 12:37 PM, George <[EMAIL PROTECTED]> wrote: > Ok Yonik, thank you. > > I've tried to execute the following query: "{!boost b=log(myrank) > defType=dismax}q" and it works great. > > Do you know if I can do the same (combine a DisjunctionMaxQuery with a > BoostedQuery) in solrc

RE: Custom sort (score + custom value)

2008-11-03 Thread Feak, Todd
Monday, November 03, 2008 9:38 AM To: solr-user@lucene.apache.org Subject: Re: Custom sort (score + custom value) Ok Yonik, thank you. I've tried to execute the following query: "{!boost b=log(myrank) defType=dismax}q" and it works great. Do you know if I can do the same (c

Re: Custom sort (score + custom value)

2008-11-03 Thread George
Seeley <[EMAIL PROTECTED]> wrote: > On Sun, Nov 2, 2008 at 5:09 AM, George <[EMAIL PROTECTED]> wrote: > > I want to implement a custom sort in Solr based on a combination of > > relevance (Solr gives me it yet => score) and a custom value I've > calculated > >

Re: Custom sort (score + custom value)

2008-11-02 Thread Yonik Seeley
On Sun, Nov 2, 2008 at 5:09 AM, George <[EMAIL PROTECTED]> wrote: > I want to implement a custom sort in Solr based on a combination of > relevance (Solr gives me it yet => score) and a custom value I've calculated > previously for each document. I see two options: > >

Custom sort (score + custom value)

2008-11-02 Thread George
Hi, I want to implement a custom sort in Solr based on a combination of relevance (Solr gives me it yet => score) and a custom value I've calculated previously for each document. I see two options: 1. Use a function query (I'm using a DisMaxRequestHandler). 2. Create a compo

RE: locallucene former custom-sort thread

2007-09-28 Thread Sandeep Shetty
also probably a point to consider, the index has about 2.9 million records in total -Original Message- From: Sandeep Shetty Sent: 28 September 2007 17:15 To: 'solr-user@lucene.apache.org' Subject: RE: locallucene former custom-sort thread yes i was thinking abt the sam

RE: locallucene former custom-sort thread

2007-09-28 Thread Sandeep Shetty
Message- From: patrick o'leary [mailto:[EMAIL PROTECTED] Sent: 28 September 2007 17:02 To: solr-user@lucene.apache.org Subject: Re: locallucene former custom-sort thread That's the latest. I was experimenting with caching, which might be the problem. I'll have a look, could

Re: locallucene former custom-sort thread

2007-09-28 Thread patrick o'leary
t zip file solr-example_s1.3_ls0.2.tgz is there a newer version available? Thanks! Sandeep -Original Message- From: patrick o'leary [mailto:[EMAIL PROTECTED]] Sent: 28 September 2007 16:08 To: solr-user@lucene.apache.org Subject: locallucene former custom-sort thread Changing thread

RE: locallucene former custom-sort thread

2007-09-28 Thread Sandeep Shetty
rg Subject: locallucene former custom-sort thread Changing thread name; Are you using local lucene or local solr, and which version? P [EMAIL PROTECTED] wrote: > i have been testing locallucene with our data for the last couple of days. > one issue i faced with it is during when using geo sorting

locallucene former custom-sort thread

2007-09-28 Thread patrick o'leary
Changing thread name; Are you using local lucene or local solr, and which version? P [EMAIL PROTECTED] wrote: i have been testing locallucene with our data for the last couple of days. one issue i faced with it is during when using geo sorting is that it seems to eat up all the memory