lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aruna Raghavan <Aru...@opin.com>
Subject another simple question on query syntax
Date Thu, 27 Dec 2001 20:09:49 GMT
		Hello,
		Does any one know what is  PrefixQuery '(' Query ')'? in the
definition of query syntax
Syntax:
Query  ::=  Clause  ( [ Conjunction ] Clause ) *

Where:
		Clause ::=  [ Modifier ] [ FieldName ':' ] BasicClause 
			Modifier    ::= '-' | '+' | '!' | 'NOT'
			BasicClause ::= ( Term | Phrase | | PrefixQuery '('
Query ')'
			PrefixQuery ::= Term '*'
			Term        ::= <a-word-or-token-to-match>
			Phrase      ::= '"' Term * '"'

		Conjunction ::= 'AND' | 'OR' | '||'

		-----------------------------


		It seems to imply the following
		(dog*)((cat) AND (bird))
		but I am not sure what this finds.
		Thanks once again for all the help!


--
To unsubscribe, e-mail:   <mailto:lucene-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-user-help@jakarta.apache.org>


Mime
View raw message