I like the idea of having syntax extensions,
and proposed something similar for "ComplexPhraseQueryParser" JIRA issue.

But we should create a new jira issue for this using the new queryparser,
this is a new feature an is not backward compatible with the current lucene syntax.

For the syntax I would like to propose something similar to calling functions
::complexPhrase('other syntax')

but I also like
complePhrase:'other syntax'

and in case the user configure just one extension he could use just
::('other syntax')
or
'other syntax'


Adriano Crestani wrote:
We can perhaps have one colon (:) and ' to surround the query and change the field handling to recognize this is an opaque field (because of the '), but I don't know if this breaks the current syntax/parser.

I think this way is cleaner :)

On Wed, Aug 12, 2009 at 1:51 AM, Shai Erera <ser...@gmail.com <mailto:ser...@gmail.com>> wrote:

    We can perhaps have one colon (:) and ' to surround the query and
    change the field handling to recognize this is an opaque field
    (because of the '), but I don't know if this breaks the current
    syntax/parser.




--
-Lafa



---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-dev-h...@lucene.apache.org

Reply via email to