Class PQueryParser

java.lang.Object
   |
   +----PQueryParser

public class PQueryParser
extends Object
Objects of class PQueryParser are used to 1. encapsulate parsing 2. remove stop words 3. encapsulate stemming 4. exchange data between the GUI and the search mechanism Use the method parse() to start the parsing.

Author:
Gregor Panzer qversion 0.1

Constructor Index

 o PQueryParser(boolean, String)
Set up a PQueryParser with the language and a filter expression.
 o PQueryParser(boolean, String, String)
Set up a PQueryParser with the language, a filter expression and a ranking expression.
 o PQueryParser(boolean, String, String, String, String)
Set up a PQueryParser with the language, a filter expression, a ranking expression and a meta tag.

Method Index

 o parse()
This method parses the search string given from the GUI.

Constructors

 o PQueryParser
 public PQueryParser(boolean _language,
                     String _filter)
Set up a PQueryParser with the language and a filter expression. english = TRUE german = FALSE

 o PQueryParser
 public PQueryParser(boolean _language,
                     String _filter,
                     String _ranking)
Set up a PQueryParser with the language, a filter expression and a ranking expression. english = TRUE german = FALSE

 o PQueryParser
 public PQueryParser(boolean _language,
                     String _filter,
                     String _ranking,
                     String _metaName,
                     String _metaValue)
Set up a PQueryParser with the language, a filter expression, a ranking expression and a meta tag. english = TRUE german = FALSE

Methods

 o parse
 public PParsedQuery parse()
This method parses the search string given from the GUI. The method returns the parsed query as PParsedQuery.