On Tue, 2008-12-02 at 23:42 +0100, Chris Hostetter wrote:
> : A cosmetic remark, I would personally choose a single field for the boosts
> and
> : then one token per source. (groupboost:A^10 groupboost:B^1
> groupboost:C^0.1).
>
> that's a key improvement, as it helps keep the number of unique f
: > "foo AND (
: > groupboost_A:dummy^10 OR
: > groupboost_B:dummy OR
: > groupboost_C:dummy^0.1 OR
: > ...
: > groupboost_Z:dummy
: > )"
: >
: > With that query, it seems that only documents matching foo will result
: > in a hit and be scored?
:
: Someone else than me needs to answer this.
On Thu, 2008-11-27 at 20:55 +0100, Karl Wettin wrote:
> A cosmetic remark, I would personally choose a single field for the
> boosts and then one token per source. (groupboost:A^10 groupboost:B^1
> groupboost:C^0.1).
Agreed. Thanks.
> If I'm not misstaken CustomScoreQuery is a non matching qu
27 nov 2008 kl. 10.15 skrev Toke Eskildsen:
On Thu, 2008-11-27 at 07:30 +0100, Karl Wettin wrote:
The most scary part is that that you will have to score each and
every
document that has a source, probably all of the documents in your
corpus.
I now see my query-logic was flawed. In order t
On Thu, 2008-11-27 at 07:30 +0100, Karl Wettin wrote:
> The most scary part is that that you will have to score each and every
> document that has a source, probably all of the documents in your
> corpus.
I now see my query-logic was flawed. In order to avoid matching all
documents every time,
The most scary part is that that you will have to score each and every
document that has a source, probably all of the documents in your
corpus. So if you have a very large number of documents it might be a
bit expensive. Also, appending this query for boost only means that
you will get hit
We use Lucene at our library for indexing from different sources into
the same logical index. The sources are very diverse and are prioritized
differently at index-time with document boosts. However, different
groups of users (or individual users for that matter) have different
preferences for the