mirror of
https://github.com/apache/lucene.git
synced 2025-02-06 01:58:44 +00:00
eb2a8ba2ee
details: * reduced README in favour of equivalent Solr Ref Guide content and (new) example/README * solr/contrib/ltr/example improvements and fixes also: * stop supporting '*' in Managed(Feature|Model)Store.doDeleteChild
27 lines
702 B
JSON
27 lines
702 B
JSON
[
|
|
{
|
|
"store" : "exampleFeatureStore",
|
|
"name" : "isInStock",
|
|
"class" : "org.apache.solr.ltr.feature.FieldValueFeature",
|
|
"params" : { "field" : "inStock" }
|
|
},
|
|
{
|
|
"store" : "exampleFeatureStore",
|
|
"name" : "originalScore",
|
|
"class" : "org.apache.solr.ltr.feature.OriginalScoreFeature",
|
|
"params" : {}
|
|
},
|
|
{
|
|
"store" : "exampleFeatureStore",
|
|
"name" : "price",
|
|
"class" : "org.apache.solr.ltr.feature.FieldValueFeature",
|
|
"params" : { "field" : "price" }
|
|
},
|
|
{
|
|
"store" : "exampleFeatureStore",
|
|
"name" : "productNameMatchQuery",
|
|
"class" : "org.apache.solr.ltr.feature.SolrFeature",
|
|
"params" : { "q" : "{!field f=name}${user_query}" }
|
|
}
|
|
]
|