StandardSyntaxParser

Parser for the standard Lucene syntax

Constructors

Link copied to clipboard
constructor()
constructor(stream: CharStream)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard

Disable tracing.

Link copied to clipboard

Enable tracing.

Link copied to clipboard

Generate ParseException.

Link copied to clipboard

Get the next Token.

Link copied to clipboard
fun getToken(index: Int): Token

Get the specific Token.

Link copied to clipboard
open override fun parse(query: CharSequence, field: CharSequence?): QueryNode

Parses a query string, returning a QueryNode.

Link copied to clipboard
fun ReInit(stream: CharStream)

Reinitialise.

Link copied to clipboard

The top-level rule ensures that there is no garbage after the query string.

Link copied to clipboard

Trace enabled.