[MarkLogic Dev General] wildcarded search with cts:field-value-query

2015-05-11 Thread Lanz
hi all, I'm facing an issue using cts:field-value-query with wildcarded search in ML 7.0-5 Following search should match any field starting with 'dev' like development, etc. let $term := 'dev' return cts:search( fn:collection()/l:manifestation[l:issn], cts:field-value-query(

Re: [MarkLogic Dev General] wildcarded search with cts:field-value-query

2015-05-11 Thread Asitmohan Nautiyal
, May 11, 2015 4:17 PM To: general Subject: [MarkLogic Dev General] wildcarded search with cts:field-value-query hi all, I'm facing an issue using cts:field-value-query with wildcarded search in ML 7.0-5 Following search should match any field starting with 'dev' like development, etc. let $term

Re: [MarkLogic Dev General] wildcarded search with cts:field-value-query

2015-05-11 Thread Florent Georges
Hi Lancelot, Is the text you try to match the entire value of the element it is part of? Like the difference between: titleDevelopment is .../title and: titleThe development is .../title In the first case, it will match both queries (thanks to the wildcard at the end of the

Re: [MarkLogic Dev General] wildcarded search with cts:field-value-query

2015-05-11 Thread Lanz
Hi Florent, Thanks I understand the difference, actually we want to match word (and part of word) wherever they it is located in the value of the field. The cts:field-word-query is the right option in our case. Regards Lancelot On Mon, May 11, 2015 at 1:11 PM, Florent Georges li...@fgeorges.org

Re: [MarkLogic Dev General] wildcarded search with cts:field-value-query

2015-05-11 Thread Danny Sokolsky
] wildcarded search with cts:field-value-query Hi Florent, Thanks I understand the difference, actually we want to match word (and part of word) wherever they it is located in the value of the field. The cts:field-word-query is the right option in our case. Regards Lancelot On Mon, May 11, 2015 at 1:11