lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sean O'Connor <>
Subject Can Span Queries contain boolean, prefix and other component queries?
Date Sun, 04 Sep 2005 18:43:13 GMT
    I am trying to do some complex queries such as:

[Field contents]
The movie Napoleon Dynamite is a movie about a kid named Napoleon who 
has no Dynamite.

"Napol* Dynamite" near "film|movie"

    Is this possible with some version of a span query? Something like a 
PhrasePrefixQuery joined to a BooleanQuery by a SpanNearQuery?

    If not, does anyone have a suggestion on how to do this? I am 
assuming I will need to do two queries, and determine the 'nearness' of 
the resulting hits myself.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message