lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sean O'Connor <s...@oconeco.com>
Subject Can Span Queries contain boolean, prefix and other component queries?
Date Sun, 04 Sep 2005 18:43:13 GMT
Hello,
    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.

[Query]
"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.
Thanks,

Sean



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


Mime
View raw message