|
Deprecated Classes |
com.transaxtions.search.examples.BoostScoreExample
BoostScoreExample code showing RankingAlgorithm usage. Very easy to uses, similar to
Lucene API. Creates a new Lucene index in the index path to work.
args[0] path to create a new lucene
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 BoostScoreExample "/tmp/index" contents "ranking algorithm"
java BoostScoreExample "/tmp/index" contents "ranking hits"
java BoostScoreExample "/tmp/index" contents "ranking hits^1.25"
java BoostScoreExample "/tmp/index" contents "ranking title:hits^1.25"
|
com.transaxtions.search.examples.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 SimpleExample "/lucene/index" contents "ranking algorithm" text
|
com.transaxtions.search.rankingalgorithm.RankingHits
|
com.transaxtions.search.rankingalgorithm.RankingQuery
|
com.transaxtions.search.examples.SimpleExample
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 SimpleExample "/lucene/index" contents "ranking algorithm" text
|