Works like a charm!

Thank you sir.

//Marcus

On Fri, Apr 24, 2009 at 11:01 PM, Marcus Herou
<marcus.he...@tailsweep.com>wrote:

> That is fantastic, I am creating a really small index right now trying to
> figure out howto implement the FunctionQuery for this.
>
> //Marcus
>
>
> On Fri, Apr 24, 2009 at 10:55 PM, Yonik Seeley <yo...@lucidimagination.com
> > wrote:
>
>> On Fri, Apr 24, 2009 at 1:39 PM, Marcus Herou
>> <marcus.he...@tailsweep.com> wrote:
>> > Great! That seems like something that could work. Depends on how that
>> field
>> > get's re-read/indexed I guess.
>>
>>
>> http://lucene.apache.org/solr/api/org/apache/solr/schema/ExternalFileField.html
>>
>> It's a separate *text* file that just contains id/value pairs for a field.
>> Calculate your custom score and save it to that file.  Then call
>> commit so the file is re-read and all your scores will be updated (and
>> usable in a function query).
>>
>> So the short answer is, you should be able to do what you want with no
>> Solr customization in Java... it's all built in.
>>
>> -Yonik
>> http://www.lucidimagination.com
>>
>
>
>
> --
> Marcus Herou CTO and co-founder Tailsweep AB
> +46702561312
> marcus.he...@tailsweep.com
> http://www.tailsweep.com/
> http://blogg.tailsweep.com/
>



-- 
Marcus Herou CTO and co-founder Tailsweep AB
+46702561312
marcus.he...@tailsweep.com
http://www.tailsweep.com/
http://blogg.tailsweep.com/

Reply via email to