Turning off automatic ranking on words

From: James Dooley <jamdooley(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Turning off automatic ranking on words
Date: 2009-02-06 12:21:04
Message-ID: c01aff630902060421m57d55173v1a94149ebecd30c5@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

How can I turn off the positioning since I won't be needing it.

SELECT to_tsvector('english','in the list of stop words');
to_tsvector
----------------------------
'list':3 'stop':5 'word':6

I don't need to store the positions as shown in the example because I rank
according to date/price etc..

Thank you, James

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Oleg Bartunov 2009-02-06 12:37:54 Re: Turning off automatic ranking on words
Previous Message Oleg Bartunov 2009-02-06 12:10:20 Re: How to use compoundwords controlled z when creating dictionary