Skip to content

payload_factor query does not support [field name][term]]; #1

@kk00ss

Description

@kk00ss

Query itself : { "query": { "function_score": { "query": { "match_all":{} }, "functions": [ { "payload_factor": { "docInfo": [ "test" ] } } ] } } }
settings for index are like this :
{ "settings" : { "number_of_shards" : "1", "number_of_replicas" : "0", "analysis" : { "analyzer" : { "my_payload_analyzer" : { "tokenizer" : "whitespace", "filter" : [ "delimited_payload_filter" ] } } } } }
field is defined like this :
"docInfo": { "analyzer" : "my_payload_analyzer", "term_vector": "with_positions_offsets_payloads", "type": "string" }
and in a single document inserted it looks like this : "docInfo":"test|20 document|10"
Will attach logs later. Great plugnin any way.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions