Hi Federico, 

Could you give more details on what is the score that you want to produce? how 
big is the collection? 
Is the score affected by the query? if not, would be possible to store the 
score with the document? 

Cheers,
Diego

From: java-user@lucene.apache.org At: 05/09/19 08:13:35To:  
java-user@lucene.apache.org
Subject: Re: About custom score using Solr8/Lucene8

Hello Mikhail,
yes i did. I read all the page at 
https://issues.apache.org/jira/browse/LUCENE-8099 
<https://issues.apache.org/jira/browse/LUCENE-8099>

I still do not understand where/how to start to write a class to be embedded in 
solr8. All
available example since 2012 where written around 
CustomScoreQuery/CustomScoreProvider.

I really don’t know how to setup a minimal project to implement custom scoring 
in solr8/lucene8 using FunctionScoreQuery

> Il giorno 8 mag 2019, alle ore 22:15, Mikhail Khludnev <m...@apache.org> ha 
scritto:
> 
> Hello.
> 
> Have you checked the fourth item at
> http://lucene.apache.org/core/8_0_0/MIGRATE.html ?
> 
> On Wed, May 8, 2019 at 5:46 PM Federico Pici <akira...@libero.it.invalid>
> wrote:
> 
>> Hi,
>> 
>> i was trying to implement custom score inside my solr8 instance.
>> On google i found some examples, all focused on using CustomScoreProvider
>> and CustomScoreQuery classes. This classes have been removed in
>> Solr8/Lucene8
>> and, from Lucene 8 changeling, i saw a developer /contributor saying to
>> use FunctionScoreQuery.
>> 
>> Googling around was unsuccessful as i found no example, so i have no clue
>> from where to start from
>> 
>> I think i have a very basic need. Generate a score from field in
>> documents using logic completely unrelated with query itself.
>> 
>> The only way available (until any clue…) is using
>> org.apache.solr.search.ValueSourceParser
>> 
>> 
>> Is there any example, at least to understand how to start a minimal basic
>> project?
>> 
>> Thanks
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
>> For additional commands, e-mail: java-user-h...@lucene.apache.org
>> 
>> 
> 
> -- 
> Sincerely yours
> Mikhail Khludnev


Reply via email to