Re: tsearch2 dictionary for statute cites

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
Cc: "Oleg Bartunov" <oleg(at)sai(dot)msu(dot)su>, pgsql-general(at)postgresql(dot)org
Subject: Re: tsearch2 dictionary for statute cites
Date: 2009-04-07 19:29:49
Message-ID: 20156.1239132589@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov> writes:
> Can I use a different set of dictionaries
> for creating the tsquery than I did for the tsvector?

Sure, as long as the tokens (normalized words) that they produce match
up for words that you want to have match. Once the tokens come out,
they're just strings as far as the rest of the text search machinery
is concerned.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Oleg Bartunov 2009-04-07 19:32:38 Re: tsearch2 dictionary for statute cites
Previous Message Kevin Grittner 2009-04-07 19:20:30 Re: tsearch2 dictionary for statute cites