com.transaxtions.search.examples
Class Example
java.lang.Object
com.transaxtions.search.examples.Example
public class Example
- extends java.lang.Object
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 com.transaxtions.search.example.Example "/lucene/perl/index" text "extracting strings from an array" id
- Author:
- Nagendra Nagarajayya
- See Also:
RankingQuery,
RankingHits,
RankingScore
|
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 |
Example
public Example()
main
public static void main(java.lang.String[] args)