forked from apache/lucene-solr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* remove ltr-component * update README * fix example * update example files * reuse MenagedModelStore * replace type with class in LibSvmFormatter * debugging * change cloud test first query to return docs 1..4 * refactor cloud tests * randomizing shards and replicas * randomize number of shards and replicas in cloud test
- Loading branch information
1 parent
70c1682
commit 1542683
Showing
10 changed files
with
109 additions
and
167 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,26 @@ | ||
[ | ||
{ | ||
"name": "isInStock", | ||
"type": "org.apache.solr.ltr.feature.impl.FieldValueFeature", | ||
"class": "org.apache.solr.ltr.feature.impl.FieldValueFeature", | ||
"params": { | ||
"field": "inStock" | ||
} | ||
}, | ||
{ | ||
"name": "price", | ||
"type": "org.apache.solr.ltr.feature.impl.FieldValueFeature", | ||
"class": "org.apache.solr.ltr.feature.impl.FieldValueFeature", | ||
"params": { | ||
"field": "price" | ||
} | ||
}, | ||
{ | ||
"name":"originalScore", | ||
"type":"org.apache.solr.ltr.feature.impl.OriginalScoreFeature", | ||
"class":"org.apache.solr.ltr.feature.impl.OriginalScoreFeature", | ||
"params":{} | ||
}, | ||
{ | ||
"name" : "productNameMatchQuery", | ||
"type" : "org.apache.solr.ltr.feature.impl.SolrFeature", | ||
"class" : "org.apache.solr.ltr.feature.impl.SolrFeature", | ||
"params" : { "q" : "{!field f=name}${user_query}" } | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
73 changes: 0 additions & 73 deletions
73
solr/contrib/ltr/src/java/org/apache/solr/ltr/ranking/LTRComponent.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.