> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Michiel Meeuwissen
> 
> Actually, I would have implemented it already for postgresql 
> (openFTS) and mysql (support is native I think), but I still 
> don't really know how this functionality then should be 
> called from e.g. taglib. I would expect a pseudo operator 
> like 'FTS' or so, but it seams that it is needed to use 
> LegacyConstraint.

Not correct. 

See the javadoc of org.mmbase.storage.search.legacy.ConstraintParser,
for the syntax of constraints that can be parsed into Constraint objects
(non-legacy). That means this syntax can safely be used in the taglib
and bridge methods.

Here you'll find the syntax of the string-search-condition, that is
translated into a StringSearchConstraint. It may look a bit cumbersome
at first, but it's just a generalization of the various pseudo-operators
like FTS, used by different vendors.

Rob van Maris
Technical Consultant

Quantiq
xmedia & communication solutions

Koninginneweg 11-13
1217 KP Hilversum
 
T    +31 (0)356257211
M    +31 (0)651444006
E    [EMAIL PROTECTED]


Reply via email to