Hello Bruno, Internally, bif:contains uses CONTAINS predicate and an SQL free-text index, so the syntax of patterns is as simple as http://docs.openlinksw.com/virtuoso/queryingftcols.html#textexprsyntax The text of each quoted phrase is divided into words, non-word characters are thus undistinguishable from whitespace. The exception is "*", because it's for wildcards that may appear in the ends of words. So searches for "'Renan/Moreira-de/Oliveira'" and "'Renan Moreira de Oliveira'" should produce identical results.
If you should match both words and delimiters, consider using CONTAINS first, then plain substring search to check the presence of an exact substring in the string (maybe, after case conversion or other normalizations). Best Regards, Ivan Mikhailov OpenLink Software http://virtuoso.openlinksw.com On Mon, 2011-02-28 at 11:57 -0300, Bruno Carvalho wrote: > Dear friends, > > > I have some labels with different characters like "\", "/", "&", "*", > "+", "-", etc. I index them in the virtuoso's free text search. > > > How to find them without breaking the function ? I would like to know > if there is an official documentation for bif-contains somewhere, I > tried to find it but was unsuccessful.
