Re: [HACKERS] Updated tsearch documentation

2007-07-27 Thread Bruce Momjian
Dimitri Fontaine wrote: -- Start of PGP signed section. > Hi, > > Le mercredi 25 juillet 2007, Bruce Momjian a ?crit?: > > I have added more documentation to try to show how full text search is > > used by user tables. I think this the documentaiton is almost done: > > > > http://momjian.us/e

Re: [HACKERS] Updated tsearch documentation

2007-07-27 Thread Bruce Momjian
Oleg Bartunov wrote: > On Thu, 26 Jul 2007, Bruce Momjian wrote: > > > Oleg Bartunov wrote: > >> On Wed, 25 Jul 2007, Erikjan wrote: > >> > >>> In > >>> http://momjian.us/expire/fulltext/HTML/textsearch-intro.html#TEXTSEARCH-DOCUMENT > >>> > >>> it says: > >>> > >>> "A document is any text file th

Re: [HACKERS] Updated tsearch documentation

2007-07-27 Thread Bruce Momjian
Thanks, I found a few more places that needed updating. It should be accurate now. Thanks for the report. --- Oleg Bartunov wrote: > On Thu, 26 Jul 2007, Bruce Momjian wrote: > > > Oleg Bartunov wrote: > >> Bruce, > >> >

Re: [HACKERS] Updated tsearch documentation

2007-07-26 Thread Oleg Bartunov
On Thu, 26 Jul 2007, Bruce Momjian wrote: Oleg Bartunov wrote: Bruce, I sent you link to my wiki page with summary of changes http://www.sai.msu.su/~megera/wiki/ts_changes Your documentation looks rather old. I have updated it to reflect your changes: http://momjian.us/expire/fullt

Re: [HACKERS] Updated tsearch documentation

2007-07-26 Thread Oleg Bartunov
On Thu, 26 Jul 2007, Bruce Momjian wrote: Oleg Bartunov wrote: On Wed, 25 Jul 2007, Erikjan wrote: In http://momjian.us/expire/fulltext/HTML/textsearch-intro.html#TEXTSEARCH-DOCUMENT it says: "A document is any text file that can be opened, read, and modified." OOps, in my original docume

Re: [HACKERS] Updated tsearch documentation

2007-07-26 Thread Bruce Momjian
Oleg Bartunov wrote: > On Wed, 25 Jul 2007, Erikjan wrote: > > > In > > http://momjian.us/expire/fulltext/HTML/textsearch-intro.html#TEXTSEARCH-DOCUMENT > > > > it says: > > > > "A document is any text file that can be opened, read, and modified." > > OOps, in my original documentation it was: >

Re: [HACKERS] Updated tsearch documentation

2007-07-26 Thread Bruce Momjian
Oleg Bartunov wrote: > Bruce, > > I sent you link to my wiki page with summary of changes > http://www.sai.msu.su/~megera/wiki/ts_changes > > Your documentation looks rather old. I have updated it to reflect your changes: http://momjian.us/expire/fulltext/HTML/textsearch-tables.html --

Re: [HACKERS] Updated tsearch documentation

2007-07-25 Thread Oleg Bartunov
On Wed, 25 Jul 2007, Erikjan wrote: In http://momjian.us/expire/fulltext/HTML/textsearch-intro.html#TEXTSEARCH-DOCUMENT it says: "A document is any text file that can be opened, read, and modified." OOps, in my original documentation it was: "Document, in usual meaning, is a text file, that

Re: [HACKERS] Updated tsearch documentation

2007-07-25 Thread Erikjan
In http://momjian.us/expire/fulltext/HTML/textsearch-intro.html#TEXTSEARCH-DOCUMENT it says: "A document is any text file that can be opened, read, and modified." Is this an openfts docs relic? tsearch2 is not meant to be be reading out-of-database *files*, or is it? If it is actually the case

Re: [HACKERS] Updated tsearch documentation

2007-07-25 Thread Dimitri Fontaine
Hi, Le mercredi 25 juillet 2007, Bruce Momjian a écrit : > I have added more documentation to try to show how full text search is > used by user tables. I think this the documentaiton is almost done: > > http://momjian.us/expire/fulltext/HTML/textsearch-tables.html I've come to understand

Re: [HACKERS] Updated tsearch documentation

2007-07-24 Thread Oleg Bartunov
Bruce, I sent you link to my wiki page with summary of changes http://www.sai.msu.su/~megera/wiki/ts_changes Your documentation looks rather old. Oleg On Tue, 24 Jul 2007, Bruce Momjian wrote: I have added more documentation to try to show how full text search is used by user tables. I thin

Re: [HACKERS] Updated tsearch documentation

2007-07-24 Thread Bruce Momjian
I have added more documentation to try to show how full text search is used by user tables. I think this the documentaiton is almost done: http://momjian.us/expire/fulltext/HTML/textsearch-tables.html --- Oleg Bart

Re: [HACKERS] Updated tsearch documentation

2007-07-18 Thread Oleg Bartunov
On Wed, 18 Jul 2007, Bruce Momjian wrote: Oleg, Teodor, I am confused by the following example. How does gin know to create a tsvector, or does it? Does gist know too? No, gist doesn't know. I don't remember why, Teodor ? For GIN see http://archives.postgresql.org/pgsql-hackers/2007-05/msg

Re: [HACKERS] Updated tsearch documentation

2007-07-18 Thread Bruce Momjian
Oleg, Teodor, I am confused by the following example. How does gin know to create a tsvector, or does it? Does gist know too? FYI, at some point we need to chat via instant messenger or IRC to discuss the open items. My chat information is here: http://momjian.us/main/contact.html

Re: [HACKERS] Updated tsearch documentation

2007-07-18 Thread Bruce Momjian
Oleg Bartunov wrote: > On Wed, 18 Jul 2007, Bruce Momjian wrote: > > > > >>> Why are we allowing my_filter_name here? Isn't that something for a > >>> custom trigger. Is calling it tsearch() a good idea? Why not > >>> tsvector_trigger(). > >> > >> I don't see any benefit from the tsvector_trigg

Re: [HACKERS] Updated tsearch documentation

2007-07-18 Thread Oleg Bartunov
On Wed, 18 Jul 2007, Bruce Momjian wrote: Why are we allowing my_filter_name here? Isn't that something for a custom trigger. Is calling it tsearch() a good idea? Why not tsvector_trigger(). I don't see any benefit from the tsvector_trigger() name. If you want to add some semantic, than t

Re: [HACKERS] Updated tsearch documentation

2007-07-18 Thread Bruce Momjian
Oleg Bartunov wrote: > >> I agree, that there are could be more examples, but text search doesn't > >> require something special ! > >> *Example* of trigger function is documented on > >> http://momjian.us/expire/fulltext/HTML/textsearch-opfunc.html > > > > Yes, I see that in tsearch() here: > > >

Re: [HACKERS] Updated tsearch documentation

2007-07-18 Thread Oleg Bartunov
On Tue, 17 Jul 2007, Bruce Momjian wrote: Oleg Bartunov wrote: On Tue, 17 Jul 2007, Bruce Momjian wrote: I think the tsearch documentation is nearing completion: http://momjian.us/expire/fulltext/HTML/textsearch.html but I am not happy with how tsearch is enabled in a user table:

Re: [HACKERS] Updated tsearch documentation

2007-07-17 Thread Bruce Momjian
Michael Glaesemann wrote: > > On Jul 17, 2007, at 16:24 , Bruce Momjian wrote: > > > I assume my_filter_name is optional right? I have updated the > > prototype > > to be: > > > > tsearch([vector_column_name], [my_filter_name], text_column_name > > [, ... ]) > > Just a style point, but

Re: [HACKERS] Updated tsearch documentation

2007-07-17 Thread Michael Glaesemann
On Jul 17, 2007, at 16:24 , Bruce Momjian wrote: I assume my_filter_name is optional right? I have updated the prototype to be: tsearch([vector_column_name], [my_filter_name], text_column_name [, ... ]) Just a style point, but would [filter_name] be better than [my_filter_name]? You'

Re: [HACKERS] Updated tsearch documentation

2007-07-17 Thread Bruce Momjian
Oleg Bartunov wrote: > On Tue, 17 Jul 2007, Bruce Momjian wrote: > > > I think the tsearch documentation is nearing completion: > > > > http://momjian.us/expire/fulltext/HTML/textsearch.html > > > > but I am not happy with how tsearch is enabled in a user table: > > > > http://momjian.us/e

Re: [HACKERS] Updated tsearch documentation

2007-07-17 Thread Oleg Bartunov
On Tue, 17 Jul 2007, Oleg Bartunov wrote: On Tue, 17 Jul 2007, Bruce Momjian wrote: I think the tsearch documentation is nearing completion: http://momjian.us/expire/fulltext/HTML/textsearch.html but I am not happy with how tsearch is enabled in a user table: http://momjian.

Re: [HACKERS] Updated tsearch documentation

2007-07-17 Thread Oleg Bartunov
On Tue, 17 Jul 2007, Bruce Momjian wrote: I think the tsearch documentation is nearing completion: http://momjian.us/expire/fulltext/HTML/textsearch.html but I am not happy with how tsearch is enabled in a user table: http://momjian.us/expire/fulltext/HTML/textsearch-app-tutor

Re: [HACKERS] Updated tsearch documentation

2007-07-16 Thread Bruce Momjian
I think the tsearch documentation is nearing completion: http://momjian.us/expire/fulltext/HTML/textsearch.html but I am not happy with how tsearch is enabled in a user table: http://momjian.us/expire/fulltext/HTML/textsearch-app-tutorial.html Aside from the fact that it needs m

Re: [HACKERS] Updated tsearch documentation

2007-07-10 Thread Bruce Momjian
Thanks, I applied this patch and rebuild HTML version. I was wondering how I was going to make all the changes accurately. ;-) --- Nicolas Barbier wrote: > 2007/7/7, Bruce Momjian <[EMAIL PROTECTED]>: > > > FYI, I have ma

Re: [HACKERS] Updated tsearch documentation

2007-07-07 Thread Nicolas Barbier
2007/7/7, Bruce Momjian <[EMAIL PROTECTED]>: FYI, I have massively reorganized the text search documentation and it is getting closer to something I am happy with: http://momjian.us/expire/fulltext/HTML/textsearch.html The following is the result of me proofreading, mainly searching f

Re: [HACKERS] Updated tsearch documentation

2007-07-06 Thread Bruce Momjian
FYI, I have massively reorganized the text search documentation and it is getting closer to something I am happy with: http://momjian.us/expire/fulltext/HTML/textsearch.html -- Bruce Momjian <[EMAIL PROTECTED]> http://momjian.us EnterpriseDB ht

Re: [HACKERS] Updated tsearch documentation

2007-07-02 Thread Bruce Momjian
Oleg Bartunov wrote: > On Wed, 20 Jun 2007, Bruce Momjian wrote: > >> > >> We need to decide if we need oids as user-visible argument. I don't see > >> any value, probably Teodor think other way. > > > > This is a good time to clean up the API because there are going to be > > user-visible changes

Re: [HACKERS] Updated tsearch documentation

2007-06-21 Thread Oleg Bartunov
On Wed, 20 Jun 2007, Bruce Momjian wrote: We need to decide if we need oids as user-visible argument. I don't see any value, probably Teodor think other way. This is a good time to clean up the API because there are going to be user-visible changes anyway. Bruce, just remove oid argument spe

Re: [HACKERS] Updated tsearch documentation

2007-06-21 Thread Oleg Bartunov
On Wed, 20 Jun 2007, Bruce Momjian wrote: Oleg Bartunov wrote: On Wed, 20 Jun 2007, Bruce Momjian wrote: Comments to editorial work of Bruce Momjian. fulltext-intro.sgml: it is useful to have a predefined list of lexemes. Bruce, here should be list of types of lexemes ! Agreed. Are the l

Re: [HACKERS] Updated tsearch documentation

2007-06-20 Thread Bruce Momjian
Oleg Bartunov wrote: > On Wed, 20 Jun 2007, Bruce Momjian wrote: > >> Comments to editorial work of Bruce Momjian. > >> > >> fulltext-intro.sgml: > >> > >> it is useful to have a predefined list of lexemes. > >> > >> Bruce, here should be list of types of lexemes ! > > > > Agreed. Are the list of

Re: [HACKERS] Updated tsearch documentation

2007-06-20 Thread Oleg Bartunov
On Wed, 20 Jun 2007, Bruce Momjian wrote: Oleg Bartunov wrote: On Sun, 17 Jun 2007, Bruce Momjian wrote: I have completed my first pass over the tsearch documentation: http://momjian.us/expire/fulltext/HTML/sql.html They are from section 14 and following. I have come up with a numb

Re: [HACKERS] Updated tsearch documentation

2007-06-20 Thread Bruce Momjian
Oleg Bartunov wrote: > On Sun, 17 Jun 2007, Bruce Momjian wrote: > > > I have completed my first pass over the tsearch documentation: > > > > http://momjian.us/expire/fulltext/HTML/sql.html > > > > They are from section 14 and following. > > > > I have come up with a number of questions that I

Re: [HACKERS] Updated tsearch documentation

2007-06-17 Thread Oleg Bartunov
On Sun, 17 Jun 2007, Bruce Momjian wrote: I have completed my first pass over the tsearch documentation: http://momjian.us/expire/fulltext/HTML/sql.html They are from section 14 and following. I have come up with a number of questions that I placed in SGML comments in these files:

[HACKERS] Updated tsearch documentation

2007-06-16 Thread Bruce Momjian
I have completed my first pass over the tsearch documentation: http://momjian.us/expire/fulltext/HTML/sql.html They are from section 14 and following. I have come up with a number of questions that I placed in SGML comments in these files: http://momjian.us/expire/fulltext/SGML/