RE: Phrase suggester - field limit and order

2017-11-13 Thread ruby
thanks for your reply. I'm not seeing any documentation explaining exactly how the weightField is used. So, is it just a field which I define on each document and populate with some number during index. And during search it will be used to sort the suggestions? -- Sent from:

RE: Phrase suggester - field limit and order

2017-11-09 Thread Peter Lancaster
Hi, The weight field in combination with the BlenderType will determine the order, so yes you can control the order. I don't think you can return only the matched phrase, but I would guess that highlighting would enable you to pick off the phrase that was matched in your client. Cheers,