dweiss commented on pull request #634:
URL: https://github.com/apache/lucene/pull/634#issuecomment-1029904911


   > I get that nobody wants to have to deal with javacc to change the syntax
   
   Sure, no worries - I don't have to commit it to Lucene and can apply it 
externally.
   
   Let me explain my motivation of why I thought it'd be useful though - it's 
not about changing javacc - I can change the syntax with no problem - it's that 
a great many folks I deal with who use Lucene search systems never look 
(deeply) at the documentation. They don't get the difference or need for things 
things that are more obvious to programmers. For these users foo:[5 TO 6], 
foo:{5 TO 6], foo:(5 TO 6) and foo:(5 to 6) is the same even if all of these 
are different queries in the flexible query parser... My experience is that 
even the sophisticated search-interface users rarely go beyond boolean queries 
(maybe sprinkled with fuzzy or wildcards). These can be large queries, but 
structurally they're simple.
   
   I'll just leave this as a PR/ patch, perhaps an idea for a better general 
solution will come to me in the future.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



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

Reply via email to