Class LuceneCollectorExample

java.lang.Object
  extended by LuceneCollectorExample

public class LuceneCollectorExample
extends java.lang.Object

LuceneCollectorExample 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 LuceneCollectorExample "/lucene/index" contents "ranking algorithm" text
 
 

Author:
Nagendra Nagarajayya
Date 2011/08/15
See Also:
RankingQuery, RankingHits, RankingScore

Constructor Summary
LuceneCollectorExample()
           
 
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

LuceneCollectorExample

public LuceneCollectorExample()
Method Detail

main

public static void main(java.lang.String[] args)