I like your second idea there.  I'll give that a try.  Thanks a lot!

Micky

On Tue, Mar 18, 2008 at 1:06 PM, Digy <[EMAIL PROTECTED]> wrote:

> I see no simpler way than making separate searches and then merging the
> results with some calculation on "score" field.
>
> If you can add  a new field to indexes to describe its category(or
> indexname), than you can create a query using
> boost factors like this:
>
> "((+Content:benjamin +Category:movies)^2.0)   ((+Content:benjamin +
> Category:music)^2.0)   ((Content:benjamin)^0.5)"  --> //Searching for
> benjamin while giving more priority if the category is music or movies.
>
> DIGY
>
> -----Original Message-----
> From: Micky McQuade [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 17, 2008 11:23 PM
> To: lucene-net-user@incubator.apache.org
> Subject: Giving Preference to Certain Indexes
>
> I am doing a search on multiple indexes.  I'd like the results from one
> particular index to be given preference.  Is it possible to boost results
> from one particular index?
>
> Thanks,
> Micky
>
>

Reply via email to