The data is being tokenized on whitespace, and you're introducing whitespace. 
Wouldn't the following solve the problem?

<Title>Magnetic anisotropy data of 
C<Subscript>24</Subscript>H<Subscript>12</Subscript></Title>

Just a guess….

On Aug 24, 2010, at 1:40 PM, Shannon wrote:

> Hi Debabarata, 
> 
> If I'm not mistaken, you want a "Word-Through" which is not currently 
> supported. MarkLogic has filed an RFE (#5849, "Enable per-database 
> word-through specifications", as well as a Word-Around) for consideration in 
> a future release. We have requested that this be implemented in v4.3. The 
> only work-around I know of is to duplicate the data to index the word token 
> in its entirety.
> 
> On Aug 24, 2010, at 1:07 PM, Debabrata Jena wrote:
> 
>> 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
> 
> _______________________________________________
> General mailing list
> General@developer.marklogic.com
> http://developer.marklogic.com/mailman/listinfo/general

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

Reply via email to