pg.ddx.io pgsql-admin@postgresql.org mailing list archivehelp / color / mirror / Atom feed
contrib/tsearch - word order 2+ messages / 2 participants [nested] [flat]
* contrib/tsearch - word order @ 2003-06-23 04:27 Bruce Young <hbrucey@yahoo.com> 0 siblings, 1 reply; 2+ messages in thread From: Bruce Young @ 2003-06-23 04:27 UTC (permalink / raw) To: pgsql-admin I am playing around with contrib/tsearch, but now i am not sure how to implement it. When i insert words into a txindx column, they are not in the same order after a select. Question is... is there a way to select text in the order it was inserted or do i have to insert a duplicate into a varchar/text column so i can display from the text column upon search on the txtindx column. thanks - bruce __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com ^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: contrib/tsearch - word order @ 2003-06-23 08:31 Oleg Bartunov <oleg@sai.msu.su> parent: Bruce Young <hbrucey@yahoo.com> 0 siblings, 0 replies; 2+ messages in thread From: Oleg Bartunov @ 2003-06-23 08:31 UTC (permalink / raw) To: Bruce Young <hbrucey@yahoo.com>; +Cc: pgsql-admin On Sun, 22 Jun 2003, Bruce Young wrote: > I am playing around with contrib/tsearch, but now i am not sure how to > implement it. > When i insert words into a txindx column, they are not in the same order after that's right. > a select. > Question is... is there a way to select text in the order it was inserted or > do i have to insert a > duplicate into a varchar/text column so i can display from the text column > upon search on the > txtindx column. > thanks You have to use original text anyway ( in separate column or in filesystem) because txtidx column (tsvector in tsearch v2) not save words order but also does some preprocessing (stemming, skipping stop words, morphology). > > - bruce > > __________________________________ > Do you Yahoo!? > SBC Yahoo! DSL - Now only $29.95 per month! > http://sbc.yahoo.com > > ---------------------------(end of broadcast)--------------------------- > TIP 6: Have you searched our list archives? > > http://archives.postgresql.org > Regards, Oleg _____________________________________________________________ Oleg Bartunov, sci.researcher, hostmaster of AstroNet, Sternberg Astronomical Institute, Moscow University (Russia) Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/ phone: +007(095)939-16-83, +007(095)939-23-83 ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2003-06-23 08:31 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2003-06-23 04:27 contrib/tsearch - word order Bruce Young <hbrucey@yahoo.com> 2003-06-23 08:31 ` Oleg Bartunov <oleg@sai.msu.su>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox