I need to make sure that documents with the search term occurring
towards the beginning of the document are ranked higher.

For example,

Search term : ox
Doc 1: box fox ox
Doc 2: ox box fox

Result: Doc2 will be ranked higher than Doc1.

The solution I can think of is sorting by term position (after enabling
term vectors). Is that the best way to go about it ?

Thanks
Papiya


Pink OTC Markets Inc. provides the leading inter-dealer quotation and trading 
system in the over-the-counter (OTC) securities market.   We create innovative 
technology and data solutions to efficiently connect market participants, 
improve price discovery, increase issuer disclosure, and better inform 
investors.   Our marketplace, comprised of the issuer-listed OTCQX and 
broker-quoted   Pink Sheets, is the third largest U.S. equity trading venue for 
company shares.

This document contains confidential information of Pink OTC Markets and is only 
intended for the recipient.   Do not copy, reproduce (electronically or 
otherwise), or disclose without the prior written consent of Pink OTC Markets.  
    If you receive this message in error, please destroy all copies in your 
possession (electronically or otherwise) and contact the sender above.

Reply via email to