|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.transaxtions.search.examples.BoostScoreExample
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"
public class BoostScoreExample
RankingQuery,
RankingHits,
RankingScore| Constructor Summary | |
|---|---|
BoostScoreExample()
Deprecated. |
|
| Method Summary | |
|---|---|
static void |
main(java.lang.String[] args)
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BoostScoreExample()
| 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 | |||||||||