|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectExample
public class Example
Example code showing RankingAlgorithm usage. Very easy to uses, similar to Lucene API. Needs access to a Lucene index to work.
args[0] is a lucene index path
args[1] is the field to search on
args[2] are the search terms
args[3] is the field to show in the results
Example:
java Example "/lucene/index" contents "ranking algorithm" text
RankingQuery,
RankingHits,
RankingScore| Constructor Summary | |
|---|---|
Example()
|
|
| Method Summary | |
|---|---|
static void |
main(java.lang.String[] args)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Example()
| Method Detail |
|---|
public static void main(java.lang.String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||