Class StandardSyntaxParser
Parser for the standard Lucene syntax
Inheritance
StandardSyntaxParser
Assembly: Lucene.Net.QueryParser.dll
Syntax
public class StandardSyntaxParser : ISyntaxParser
Constructors
StandardSyntaxParser()
Parser for the standard Lucene syntax
Declaration
public StandardSyntaxParser()
StandardSyntaxParser(ICharStream)
Declaration
public StandardSyntaxParser(ICharStream stream)
Parameters
StandardSyntaxParser(StandardSyntaxParserTokenManager)
Constructor with generated Token Manager.
Declaration
public StandardSyntaxParser(StandardSyntaxParserTokenManager tm)
Parameters
Properties
Jj_nt
Declaration
public Token Jj_nt { get; set; }
Property Value
Token
Declaration
public Token Token { get; set; }
Property Value
TokenSource
Declaration
public StandardSyntaxParserTokenManager TokenSource { get; set; }
Property Value
Methods
Clause(string)
Parser for the standard Lucene syntax
Declaration
public IQueryNode Clause(string field)
Parameters
Type |
Name |
Description |
string |
field |
|
Returns
ConjQuery(string)
Parser for the standard Lucene syntax
Declaration
public IQueryNode ConjQuery(string field)
Parameters
Type |
Name |
Description |
string |
field |
|
Returns
Conjunction()
Parser for the standard Lucene syntax
Declaration
Returns
Disable_tracing()
Declaration
public void Disable_tracing()
DisjQuery(string)
Parser for the standard Lucene syntax
Declaration
public IQueryNode DisjQuery(string field)
Parameters
Type |
Name |
Description |
string |
field |
|
Returns
Enable_tracing()
Declaration
public void Enable_tracing()
GenerateParseException()
Declaration
public virtual ParseException GenerateParseException()
Returns
GetNextToken()
Declaration
public Token GetNextToken()
Returns
GetToken(int)
Declaration
public Token GetToken(int index)
Parameters
Type |
Name |
Description |
int |
index |
|
Returns
ModClause(string)
Parser for the standard Lucene syntax
Declaration
public IQueryNode ModClause(string field)
Parameters
Type |
Name |
Description |
string |
field |
|
Returns
Modifiers()
Parser for the standard Lucene syntax
Declaration
public Modifier Modifiers()
Returns
Parse(string, string)
Declaration
public IQueryNode Parse(string query, string field)
Parameters
Type |
Name |
Description |
string |
query |
the query string to be parsed.
|
string |
field |
|
Returns
Exceptions
Query(string)
Parser for the standard Lucene syntax
Declaration
public IQueryNode Query(string field)
Parameters
Type |
Name |
Description |
string |
field |
|
Returns
ReInit(ICharStream)
Declaration
public void ReInit(ICharStream stream)
Parameters
ReInit(StandardSyntaxParserTokenManager)
Declaration
public void ReInit(StandardSyntaxParserTokenManager tm)
Parameters
Term(string)
Parser for the standard Lucene syntax
Declaration
public IQueryNode Term(string field)
Parameters
Type |
Name |
Description |
string |
field |
|
Returns
TopLevelQuery(string)
Parser for the standard Lucene syntax
Declaration
public IQueryNode TopLevelQuery(string field)
Parameters
Type |
Name |
Description |
string |
field |
|
Returns
Implements