Hi Colleen , Thanks for the response, but for my requirement I require a solution other than " - " opertaor as our standard does not allow to use this operator. Thanks Sachin
On Tue, Oct 4, 2011 at 9:30 PM, Colleen Whitney < [email protected]> wrote: > Not query is part of the default grammar, using the "-" operator. So try > querying for "-uniqueref:16633" (you can verify how that parses using > search:parse). But are you asking whether you can bake that into the > constraint? > > Sent from my iPhone > > On Oct 4, 2011, at 5:54 AM, "sachin gill" <[email protected]> wrote: > > Hi , > I need to implement a search query where constraints are mentioned > below : > <options xmlns=" <http://marklogic.com/appservices/search> > http://marklogic.com/appservices/search"> > <constraint name="contenttype"> > <value> > <element ns=" name="contentType"/> > </value> > </constraint> > <constraint name="uniqueref"> > <value> > <element ns="" name="uniqueref"/> > </value> > </constraint> > </options> > and below is the query, I need to implement NOT condition for uniqueref > constraint. > let $query := fn:concat("contenttype:document"," uniqueref:1695541627") > how can I implement it because I m facing issues. > > Thanks > Sachin > > _______________________________________________ > General mailing list > [email protected] > http://developer.marklogic.com/mailman/listinfo/general > > > _______________________________________________ > General mailing list > [email protected] > http://developer.marklogic.com/mailman/listinfo/general > >
_______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
