> From: Tal Dayan [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 13, 2001 8:06 PM
> To: Brian Goetz
> Cc: [EMAIL PROTECTED]
> Subject: RE: [Lucene-dev] New QueryParser
>
> Having a query language that can express all the query capabilities
> supported
> by Lucene will allow programmers to construct a string
> representation of the
> query and then 'compile' it using the query parser. This way,
> one don't
> have to learn the internal representation of the various
> query classes.
This is not what the query parser is intended for. The query parser is
intended to parse the contents of a single text box entered by a user. A
developer should be able to assemble more complex queries from a set of form
values using the query API.
Is the query API too complex?
Java's a good language for composing objects. There's no need to invent a
"query scripting language" here--just use Java.
Doug
_______________________________________________
Lucene-dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/lucene-dev