My exact requirement is, I will have a new field for a set of documents
for sorting. So the number of fields is growing like 10k
fields(custom_sort1,custom_sort2.,etc), for 10k groups, each group grouping
a set of documents. Since the documents can reside in more than one group I
cannot use a sing
Maybe can you do it as part of the loading to calculate the score?
Which Solr version are you using?
Are you doing some heavily lifting into the constructor or your filter?
> Am 27.11.2019 um 09:34 schrieb Sripra deep :
>
>
> Hi Jörn Franke,
>
> I modified the custom function to just return
Hi Jörn Franke,
I modified the custom function to just return a constant value as 1.0 for
all the docs and ran the load again, the latency is worst like more than
20sec. The filter I am using will fetch 15k documents (so this function is
called 15k times). And if I don't call this function in my
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 field is
> indexed, s
What methods do you use for your condition checks? Regexes ? Then you could for
instance precompile the regexes (saves a lot of time). Any other method? I
don’t ask about the exact condition check but only the methods you use within
those checks.
> Am 27.11.2019 um 07:52 schrieb Sripra deep :
>
Thank you Erick, it worked.
--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html
I guess I don't see the problem, just store it as a string and sort on
the field.
# sorts before numbers which sort before characters. Or I'm reading
the ASCII chart wrong.
Best,
Erick
On Wed, Aug 2, 2017 at 6:55 AM, padmanabhan
wrote:
> Hello Solr Geeks,
>
> Am newbie to SOLR. I have a require
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
Edismax applies the multiplicative boost ("boost") after applying the
additive boost functions ("bf").
I think (0.2*relervance score + 0.8* specified_numberic_field) should be
equivalent to:
0.2*(relevance score + (0.8/0.2)* specified_numeric_field)
or
0.2*(relevance score + 4.0* specified_nu
okobloko wrote:
>
> It could be that you should be providing an implementation of
> "SortComparatorSource"
> I have missed the earlier part of this thread, I assume you're trying to
> implement some form of custom search?
>
> B
>
Yes, exactly. What I'm trying to do is sort the results of a
It could be that you should be providing an implementation of
"SortComparatorSource"
I have missed the earlier part of this thread, I assume you're trying to
implement some form of custom search?
B
dontthinktwice wrote:
Marc Sturlese wrote:
I have been able to create my custom field. The
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 to this HashMaps.
> I a
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 that w
The custom Field type similar to RandomSortField is definitely the way
to go over a custom component since it's much less invasive - then
everything else like distributed search should work.
But see SOLR-... I'm in the process of converting Solr to use the
new FieldComparatorSource.
-Yonik
ht
: 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
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:
> >
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
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
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 solrconfig.xml?
George
On Sun, Nov 2, 2008 at 3:01 PM, Yonik Seeley <[EMAIL PROTEC
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
20 matches
Mail list logo