|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgate.creole.annic.lucene.SubQueryParser
public class SubQueryParser
This class behaves as a helper class to the QueryParser and provides various methods which are called from various methods of QueryParser.
| Constructor Summary | |
|---|---|
SubQueryParser()
|
|
| Method Summary | |
|---|---|
static ArrayList<String> |
findOrTokens(String query)
This method given a query identifies the OR Tokens for eg. |
static void |
main(String[] args)
|
static ArrayList<String> |
parseQuery(String q1)
this method parses the query and returns the different queries converted into the OR normalized form for e.g. |
static boolean |
scanQueryForOrOrBracket(String query)
This method checks if query has either | or ( in it. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SubQueryParser()
| Method Detail |
|---|
public static void main(String[] args)
public static ArrayList<String> parseQuery(String q1)
throws SearchException
q1 -
SearchExceptionpublic static boolean scanQueryForOrOrBracket(String query)
query -
public static ArrayList<String> findOrTokens(String query)
query -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||