Re: Custom sort function

2019-11-27 Thread Sripra deep
; 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
gt;> 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 retu

Re: Custom sort function

2019-11-27 Thread Sripra deep
ast 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 sor

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
CD1234 > ABCD5678 > > *Expected 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 computing the price

Re: Help on custom sort

2014-09-21 Thread Apoorva Gaurav
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 always part of a single group then you could store separate prices

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 100 million+ documents (so multi

Re: Help on custom sort

2014-09-20 Thread Erick Erickson
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 ssm...@mainstreamdata.com wrote: 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

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

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

2013-08-19 Thread Jack Krupansky
* 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 Subject: Custom Sort(0.2

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

2013-08-19 Thread 刘健
10:47 AM To: solr-usersolr-user@lucene.apache.org; 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_field

Re: Query regarding solr custom sort order

2012-01-17 Thread umaswayam
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 the Solr - User

Re: Query regarding solr custom sort order

2012-01-06 Thread Bernd Fehling
-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
.nabble.com/Query-regarding-solr-custom-sort-order-tp3631854p3637181.html Sent from the Solr - User mailing list archive at Nabble.com.

Query regarding solr custom sort order

2012-01-04 Thread umaswayam
. 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
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 Sethi, Parampreet
: 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 Bernd Fehling
Hi, I suggest using the following fieldType for your field: fieldType name=sint class=solr.SortableIntField sortMissingLast=true omitNorms=true/ 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

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

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

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 erickerick...@gmail.com wrote: There's no good way of enforcing this as far as I know as you've

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 HashMapsid_doc,value_influence_sort 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

Re: Custom sort

2009-07-10 Thread Ben
. The problem is that I have laoded in the solr core a couple of HashMapsid_doc,value_influence_sort 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 reach

Re: Custom sort

2009-07-10 Thread dontthinktwice
, 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 Sent from the Solr - User mailing list archive at Nabble.com.

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 HashMapsid_doc,value_influence_sort 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

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

Custom sort based on arbitrary order

2009-04-06 Thread pris54
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-03 Thread George
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 previously for each document. I see two options: 1. Use a function

RE: Custom sort (score + custom value)

2008-11-03 Thread Feak, Todd
: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 (combine a DisjunctionMaxQuery with a BoostedQuery

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 component that set SortSpec

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: 1. Use a function query (I'm using

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

RE: locallucene former custom-sort thread

2007-09-28 Thread Sandeep Shetty
: 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 is that it seems

Re: locallucene former custom-sort thread

2007-09-28 Thread patrick o'leary
-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 name; Are you using

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 same. i

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 you give me