Re: Lucene Query Parser Special Characters

2016-10-14 Thread Ashley Ryan
The documentation I'm referencing is here:
https://lucene.apache.org/core/4_5_1/queryparser/org/apache/lucene/queryparser/classic/package-summary.html#package_description,
with a note:  org.apache.lucene.queryparser.flexible.standard

has
an alternative queryparser that matches the syntax of this one, but is more
modular, enabling substantial customization to how a query is created.


On Thu, Oct 13, 2016 at 7:56 PM, Trejkaz  wrote:

> On Fri, Oct 14, 2016 at 2:47 AM, Ashley Ryan 
> wrote:
> > Obviously, our work around of escaping the angle brackets works as we
> need
> > it to, but it seems to me that your documentation is incorrect. Am I
> > misunderstanding the documentation or conflating the issue I'm seeing
> with
> > the topic of special characters?
>
> Maybe the documentation you're reading is for the older QueryParser
> and not StandardQueryParser? Neither StandardQueryParser and
> StandardSyntaxParser appear to say anything about special
> characters... or indeed very much about the syntax at all, which is a
> bit of a gap.
>
> TX
>
> -
> To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
> For additional commands, e-mail: java-user-h...@lucene.apache.org
>
>


-- 
Ashley Ryan


Re: Lucene Query Parser Special Characters

2016-10-13 Thread Trejkaz
On Fri, Oct 14, 2016 at 2:47 AM, Ashley Ryan  wrote:
> Obviously, our work around of escaping the angle brackets works as we need
> it to, but it seems to me that your documentation is incorrect. Am I
> misunderstanding the documentation or conflating the issue I'm seeing with
> the topic of special characters?

Maybe the documentation you're reading is for the older QueryParser
and not StandardQueryParser? Neither StandardQueryParser and
StandardSyntaxParser appear to say anything about special
characters... or indeed very much about the syntax at all, which is a
bit of a gap.

TX

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