I have asked the exact same question a few weeks ago. I just follow the
customized distance example and loop the results again to get another
field and compute the scores. It will be painful if you need more than 3
fields. So far I didn't find any other way to do it. Hope we can see
some new
Hi,
Just wondering if there is anyway to search two indexes with relations
like in the relational database. For example, in index1 there are fields
pid and content. in index2 there are fields cid, record, and
pid. I want to search keyword1 in content and keyword2 in record and
they should
Hi,
Just wondering how I can rank search result by a combination of fields. I
know there is a multi-field sort, but it is just a sorting method. It is
sorted by the first field and then the second field ...
What I need is a weighted combination. For example, I want to assign a
weight of 2 to
. If you
need to get rid of the tf/idf factors, either write your own
ScoreDocComparator, or use a FunctionQuery.
-Yonik
http://incubator.apache.org/solr Solr, The Open Source Lucene Search Server
On 3/8/06, Yang Sun [EMAIL PROTECTED] wrote:
Hi,
Just wondering how I can rank search result