How often are you updating the rank?

You might also be able to keep the rank info in a flat file via the ExternalFileField and the FileFloatSource and do FunctionQuery stuff that way. However, I don't know how that handles refreshing data or if it would be efficient in your case.

On Apr 24, 2009, at 1:52 AM, Marcus Herou wrote:

Hi.

I've posted before but here it goes again:

I have BlogData data which is more or less 100% static but one field is not
- the PageRank.
I would like to sort on that field and on the Lucene list I got these
answers.

1. Use two indexes and a ParallellReader
2. Use a FieldScoreQuery containing the PageRank field.
3. Use a CustomScoreQuery which uses the FieldScoreQuery combined with other
Queries (the actual search).

I think I could use this pattern as well:
1. Use two indexes and a ParallellReader
2. Normal search and Sort on the PageRank column (perhaps consuming more
memory)

Anyone have an idea of howto implement these patterns in SOLR ?
I have never extended SOLR but am not afraid of doing so if someone pushes
me in the right direction.

Kindly

//Marcus




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

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

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

Reply via email to