Yes, but if in fact you have a lot of different values, all of which need to be indexed, and may not even be known, and only one which doesn't, you might prefer to specify the exclusion criterion.
In addition, and this is probably a more serious problem, if it's the case that all these elements occur within a context which is also indexed, there is really no way to achieve what's required with the current setup. For example, suppose you are implementing full text search - you want to search the entire body of your documents, but you want to exclude <element indexme="false"> and include <element indexme="true">. -Mike > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of > Florent Georges > Sent: Friday, March 26, 2010 10:21 AM > To: General Mark Logic Developer Discussion > Subject: Re: [MarkLogic Dev General] field config enhancement request > > Mike Sokolov wrote: > > Hi Mike, > > > I did try excluding the element without specifying an > attribute value, > > and then including the element with the indexme="true" > > attribute (name changed to protect the innocent...), but > this doesn't > > seem to be allowed :( > > Isn't that the behaviour achieved by not excluding anything > but only including elements with indexme="true"? > > Regards, > > -- > Florent Georges > http://www.fgeorges.org/ > > > > > _______________________________________________ > General mailing list > [email protected] > http://xqzone.com/mailman/listinfo/general > _______________________________________________ General mailing list [email protected] http://xqzone.com/mailman/listinfo/general
