What is the problem you're trying to solve? I'm wondering if
this is an XY problem. See:
http://people.apache.org/~hossman/#xyproblem

Best
Erick

On Wed, May 4, 2011 at 3:16 AM, Clemens Wyss <clemens...@mysign.ch> wrote:
> Given the I have 3 documents with exactly one field and the fields have the 
> following contents:
> This is a moon
> The moon is bright
> moon
>
> If I analyze these documents they all hit on "moon". But how do I need to 
> analyze/search my index in order to have the following "sort order":
> moon
> The moon is bright
> This is a moon
>
> i.e. the earlier the term appears the higher the score.
>
> Thx
> Clemens
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
> For additional commands, e-mail: java-user-h...@lucene.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to