# Package org.apache.lucene.queryparser.flexible.core.parser

Necessary interfaces to implement text parsers.

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  EscapeQuerySyntax | A parser needs to implement `EscapeQuerySyntax` to allow the QueryNode to escape the queries, when the toQueryString method is called.
  SyntaxParser | A parser needs to implement `SyntaxParser` interface

- Enum Summary
  Enum | Description
  --- | ---
  EscapeQuerySyntax.Type | Type of escaping: String for escaping syntax, NORMAL for escaping reserved words (like AND) in terms

## Package org.apache.lucene.queryparser.flexible.core.parser Description

Necessary interfaces to implement text parsers.

## Parser

The package `org.apache.lucene.queryparser.flexible.parser` contains interfaces that should be implemented by the parsers. Parsers produce QueryNode Trees from a string object. These package still needs some work to add support to for multiple parsers. Features that should be supported for the future, related with the parser: - QueryNode tree should be able convertible to any parser syntax. - The query syntax should support calling other parsers. - QueryNode tree created by multiple parsers.

Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.