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,
Peter
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: http://lucene.47206