: >If not, you can add a field that is present in all documents, and add
: >this as part of the query.  Then you can fiddle with the index-time
: >field boost to alter the results (without skewing queries that have a
: >meaningful relevancy score as using document boosts would do).
:
: That seems to work. Thanks!

maybe i'm missing something, but it sounds like what you want is a simple
sort on a numeric field -- whatever value you are tyring to use as the
index time boost, you can just set as a field value instead and then sort
on it right?

: I was looking at how I would write a modified version of
: MatchAllDocsQuery that would simply return the documents boost as the
: score. But I haven't really figured out Lucene scoring.

document boosts aren't maintained in the index ... they are multiplied by
the various field boosts and lengthNorms and stored on a per field basis.




-Hoss

Reply via email to