|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectit.unimi.dsi.mg4j.query.Query
A command-line interpreter to query indices.
| Method Summary | |
static void |
displayModeOutput(DocumentIterator result,
List titles)
Scores the given document iterator and produces score output. |
static void |
interpretCommand(String command)
Interpret the given command, changing the static variables. |
static void |
main(String[] arg)
The main method. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static void interpretCommand(String command)
!display <-- pass to display-mode
!score ScorerClassName <-- use the given scorer (default constructor)
!output n <-- output at most n lines (0=all)+
command - the command.
public static void displayModeOutput(DocumentIterator result,
List titles)
result - the document iterator.titles - an optional list of titles, or null.
public static void main(String[] arg)
throws ParseException,
TokenMgrError,
IOException,
ClassNotFoundException
ParseException
TokenMgrError
IOException
ClassNotFoundException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||