lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grant Ingersoll <gsing...@apache.org>
Subject Re: customizing lucene formula
Date Mon, 29 Jun 2009 12:47:15 GMT
See the Payloads functionality along with the BoostingTermQuery.


On Jun 28, 2009, at 6:23 PM, B0DYLANG wrote:

>
> Thanks for your response, what i want to do is to add a function  
> like the log
> to the well know lucene formula, this function will take its  
> argument from
> the alredy indexed data, for example if we add a field like this
>
> new Field("terms","word,100;word,300",....);
> so when the score returned the second word will have higher score  
> from the
> first one
>
>
>
> Grant Ingersoll-6 wrote:
>>
>> The source code is available.  I'd start with the Similarity class  
>> and
>> see if it can be used.  Before that, however, you might describe what
>> it is you are interested in doing.  Perhaps there is an alternate way
>> that doesn't involve editing the source.
>>
>>
>> On Jun 26, 2009, at 4:31 AM, B0DYLANG wrote:
>>
>>>
>>> Dears,
>>>
>>> i want to add some arguments to the lucene formula or override it,
>>> is there
>>> a mean of doing so ? thanks for your  response.
>>> -- 
>>> View this message in context:
>>> http://www.nabble.com/customizing-lucene-formula-tp24216772p24216772.html
>>> Sent from the Lucene - Java Developer mailing list archive at
>>> Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
>>> For additional commands, e-mail: java-dev-help@lucene.apache.org
>>>
>>
>> --------------------------
>> Grant Ingersoll
>> http://www.lucidimagination.com/
>>
>> Search the Lucene ecosystem (Lucene/Solr/Nutch/Mahout/Tika/Droids)
>> using Solr/Lucene:
>> http://www.lucidimagination.com/search
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
>> For additional commands, e-mail: java-dev-help@lucene.apache.org
>>
>>
>>
>
> -- 
> View this message in context: http://www.nabble.com/customizing-lucene-formula-tp24216772p24246152.html
> Sent from the Lucene - Java Developer mailing list archive at  
> Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-dev-help@lucene.apache.org
>

--------------------------
Grant Ingersoll
http://www.lucidimagination.com/

Search the Lucene ecosystem (Lucene/Solr/Nutch/Mahout/Tika/Droids)  
using Solr/Lucene:
http://www.lucidimagination.com/search


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message