Search Postgresql Archives

Re: fts, compond words?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> >   A & (B | (New OperatorTheNextWordMustFollow York))
>

I had thought about this before myself.  Alas I have never had the time to 
properly investigate implementing such a feature.

:(

A & (B | (New + York))

Something like that?

> Actually, I love that idea.  Oleg, would it be possible to create a
> tsquery operator that understands proximity?  Or, how allowing a
> predicate to the current '&' op, as in '&[dist<=1]' meaning "next
> token follows with a max distance of  1".  I imagine that it would
> only be useful on unstripped tsvectors, but if the lexem position is
> already stored ...
>

Would the proximity go in both directions?  Or just forward? What about tokens 
that come before?  Just a thought.



Andy


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux