Have you looked at cts:word-query with phrase-through/phrase-around?

If you want to look at particular elements, you can also define a field on 
these elements and cts:use field-word-query.

Thanks,

Gajanan

From: [email protected] 
[mailto:[email protected]] On Behalf Of Gary Larsen
Sent: Friday, June 24, 2011 9:36 AM
To: 'General MarkLogic Developer Discussion'
Subject: [MarkLogic Dev General] wildcarding in constraining query

I'm attempting to create both 'starts-with' and 'contains' queries (for a 
constraining query) on element values which needs to work across word 
boundaries.

cts:element-value-query() does not wildcard across word boundaries and  
cts:element-word query() only matches on single words.  cts:element-value-match 
does what I need but does not return a cts:query.   Are there any other options 
I have not looked at?

Thanks,
gary





_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to