Hi,

This is regarding not being able to search in for a phrase/search term in an
element in which phrase is combination of text and node . Please find the
details below and sample data attached.
Use Case : search for a phrase in which phrase is a combination of text and
node. For ex. search for "Magnetic anisotropy data of C24H12" Following is
the XML representation for the same phrase :
   <Title>
        Magnetic anisotropy data of C
       <Subscript>24</Subscript>
        H
       <Subscript>12</Subscript>
   </Title>
Approach followed: Added Phrase Through element for Subscript element so
that text inside the Subscript element can be search able.

Current State : we are not able to search for a following text "Magnetic
anisotropy data of C24H12" in Title element by using cts:element-query.
However, we are able to search for the same text if we pass the search term
with spaces as following "Magnetic anisotropy data of C 24 H 12" in the
cts:element-query.
 Please advise what else needs to be done so that we can search successfully
for the above scenario.


 Thanks,
 Debabarata
_______________________________________________
General mailing list
General@developer.marklogic.com
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to