Could you explain your use case? Because to say that you want to score documents that don't have all the terms with a *phrase query* is contradictory. The point of a phrase query is exactly that all the terms are there and within some some proximity.....
Best Erick On Thu, Apr 3, 2008 at 12:17 PM, Ana Rábade <[EMAIL PROTECTED]> wrote: > Hi! > > I'm using Lucene Proximity Searches, but I've seen Lucene only scores > documents which contain all the terms in the phrase. I also need to score > documents although they don't contain all those terms. Is it possible > with > Lucene PhraseQueries or SpanNearQuery? If not, could you tell me a way to > find my solution? > > Thank you very much. > > - Ana M. Freire - >