You can try to use weights
Am Donnerstag, 23. Januar 2014 12:20:30 UTC+1 schrieb Fabian Köstring:
>
> Hey there!
>
> Is there a way to tell elasticsearch that an input of the completion type
> should be scored differently than other?
>
> Maybe somethings like this? (Just typed)
>
> {
>
> "name" : "Hotel Monaco",
>
> "city" : "Munich",
>
> "name_suggest" : {
>
> "input" : [
>
> "Monaco Munich" : {"score" : 1.0},
>
> "Hotel Monaco" : {"score" : 0.8},
>
> ],
>
> "output": "Hotel Monaco"
>
> }
>
> }
>
>
> Thanks
>
--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/9e5fe8fb-d204-48a7-a7b7-40ef75189c81%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.