com.transaxtions.search.examples
Class SimpleExample

java.lang.Object
  extended by com.transaxtions.search.examples.SimpleExample

public class SimpleExample
extends java.lang.Object

SimpleExample 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.SimpleExample "/lucene/perl/index" text "extracting strings from an array" id
 
 

Author:
Nagendra Nagarajayya
See Also:
RankingQuery, RankingHits, RankingScore

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

SimpleExample

public SimpleExample()
Method Detail

main

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