Hello!!
Thanks for your response, it has solved my problem. Thanks a lot Jesus Ibañez.. On Fri, Aug 7, 2009 at 3:32 AM, Plamen Tanov <[email protected]> wrote: > You should write:<substringMatchType>subany</substringMatchType> > > (without quotes) > > And everything will work as expected. > > On Thu, Aug 6, 2009 at 6:58 PM, Jesus Ibañez Calvo <[email protected] > > wrote: > >> Hello Stefan and everybody!! >> >> Thanks for your response, I found the file >> /config/default-sql-directories-bundle.xml and I've edited it adding the >> line <substringMatchType>"subany"</substringMatchType> after >> <querySizeLimit>15</querySizeLimit>, (for instance), but nothing happen, i'm >> not sure if this is ok, surely i'm wrong, could you explain me a little more >> on how to define this in a new contribution, please? >> >> Thks. in advanced. >> >> Jesus >> >> >> >> >> >> >> On Thu, Aug 6, 2009 at 3:15 AM, Stefan Dimov <[email protected]> wrote: >> >>> Hi, >>> You can control this behavior via configuration setting of userDirectory. >>> There is an optional tag <substringMatchType> which can control how the >>> search on field will be performed: >>> Possible values are "subinitial", "subfinal", "subany". Default is >>> "subinitial". >>> You can change this with defining of new contribution. >>> Or via program with getting of User SQLDirectory and calling getConfig - >>> this will return you the descriptor and you can change the field with >>> setSubstringMatchType() method. >>> Regards, >>> Stefan >>> >>> Jesus Ibañez Calvo wrote: >>> >>> Hello!! >>> >>> >>> Currently searches of users and groups only looking for the word given at >>> the beginning of their names, unless I enclose the word between "%", how can >>> I do to search the users or groups containing the given word in anywhere >>> inside in their names without having to enclose the word between "%"? >>> >>> -- >>> Jesus >>> >>> ------------------------------ >>> >>> _______________________________________________ >>> ECM mailing >>> [email protected]http://lists.nuxeo.com/mailman/listinfo/ecm >>> To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm >>> >>> >>> >>> >>> >>> >>> >> >> >> -- >> Jesus >> >> _______________________________________________ >> ECM mailing list >> [email protected] >> http://lists.nuxeo.com/mailman/listinfo/ecm >> To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm >> >> > -- Jesus
_______________________________________________ ECM mailing list [email protected] http://lists.nuxeo.com/mailman/listinfo/ecm To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm
