advanced search

Hello, I try to build a content view for a adavnced search http://doc.nuxeo.com/display/Studio/Configure+a+domain+specific+advanced+search

but when, for example, I make a search on the title, the only operator is “LIKE” ou “=” but how configure the widget to search with “CONTAINS” like : http://doc.nuxeo.com/display/USERDOC/Smart+search+operators

or having several operator ? Thanks

0 votes

1 answers

1558 views

ANSWER



Like is the good operator but be careful to use a real database engine to manage it correctly (Postgres, oracle, MS SQL, etc.). Embedded database used by default not manage well this operator.

Argument you can use so, will be “%keywor%“. You will ask documents containing keywor fragment into the title.

0 votes



yes, if I search "%tile%" ok, but if I search "title" without "%" the result is not the same… and it can be a source of mistake for my users
07/08/2013