Abhishek, submitting an RFE would help the cause :-)

On Apr 11, 2011, at 1:38 PM, Abhishek53 S wrote:

> Hi Shannon/Danny
>  Thanks for reply. I guess there is no way except to place the duplicate 
> entry into my searchable content. Currently I am using 4.2 version of 
> Marklogic. I guess the word-through /phrase-through features will be 
> supported in future versions of Marklogic.
> 
> Correct me If I am wrong!
>  
> Thanks and Regards
> Abhishek Srivastav
> Assistant Systems Engineer
> Tata Consultancy Services
> Plot  B-1, Block EP & GP, Sector 5
> Salt Lake Electronics Complex,
> Kolkata - 700 091,West Bengal
> India
> Cell:- +91-9883389968
> Mailto: abhishek5...@tcs.com
> Website: http://www.tcs.com
> ____________________________________________
> Experience certainty. IT Services
> Business Solutions
> Outsourcing
> ____________________________________________
> 
> -----general-boun...@developer.marklogic.com wrote: -----
> 
> To: General MarkLogic Developer Discussion <general@developer.marklogic.com>
> From: Danny Sokolsky <danny.sokol...@marklogic.com>
> Sent by: general-boun...@developer.marklogic.com
> Date: 04/11/2011 09:46PM
> Subject: Re: [MarkLogic Dev General] Ignore inline style tags while search
> 
> Hi Shannon,
> 
>  
> 
> I can’t really comment on the odds.  But it is not a super easy thing to do.
> 
>  
> 
> -Danny
> 
>  
> 
> From: general-boun...@developer.marklogic.com 
> [mailto:general-boun...@developer.marklogic.com] On Behalf Of Shannon
> Sent: Monday, April 11, 2011 9:09 AM
> To: General MarkLogic Developer Discussion
> Subject: Re: [MarkLogic Dev General] Ignore inline style tags while search
> 
>  
> 
> Hey Danny, what are the odds we'll see a "word-through" feature in a future 
> release? We have an RFE in on this, and this is a fairly frequent use case.
> 
>  
> 
>           Shannon (shifl...@virginia.edu)
> 
>                    http://www.facebook.com/uvapress
> 
>                    http://www.twitter.com/uvapress
> 
>  
> 
> On Apr 11, 2011, at 12:05 PM, Danny Sokolsky wrote:
> 
> 
> 
> 
> Hi Abhishek,
> 
>  
> 
> When that is tokenized, it is tokenized as two terms, not one (because tokens 
> cannot cross an element boundary).  That is why the phrase-through approach 
> does not work.  The way I have heard of people dealing with this is to 
> pre-process their content, transforming that to be one term.  Something like 
> turning this:
> 
>  
> 
> <p><b>R</b>epository</p>
> 
>  
> 
> Into
> 
>  
> 
> <p><word b=”R”>Repository</word></p>
> 
>  
> 
> The idea here is to have the attributes contain enough information for the 
> application to style the text appropriately.  To make this work for all 
> cases, it is fairly tricky.  Alternately, you can put the word token in an 
> attribute, but then you will have to explicitly search for it. 
> 
>  
> 
> <p><word searchable=”Repository”><b>R</b>epository</word</p>
> 
>  
> 
> It depends on your app which will be easier/better.   The second way allows 
> you to deal with multiple mark-up items in a word easier.
> 
>  
> 
> -Danny
> 
>  
> 
>  
> 
>  
> 
> From: general-boun...@developer.marklogic.com 
> [mailto:general-boun...@developer.marklogic.com] On Behalf Of Abhishek53 S
> Sent: Monday, April 11, 2011 8:00 AM
> To: General MarkLogic Developer Discussion
> Cc: General MarkLogic Developer Discussion; 
> general-boun...@developer.marklogic.com
> Subject: Re: [MarkLogic Dev General] Ignore inline style tags while search
> 
>  
> 
> 
> Dear Geert 
> 
> Thanks for your reply ! Yes the phrase through has already include the 
> element b,I,i without any namespace. But still the result is matching for the 
> search term 
> 
> Thanks & Regards 
> 
> Abhishek Srivastav
> Assistant Systems Engineer
> Tata Consultancy Services
> Plot  B-1, Block EP & GP, Sector 5
> Salt Lake Electronics Complex,
> Kolkata - 700 091,West Bengal
> India
> Cell:- +91-9883389968
> Mailto: abhishek5...@tcs.com
> Website: http://www.tcs.com
> ____________________________________________
> Experience certainty.        IT Services
>                        Business Solutions
>                        Outsourcing
> ____________________________________________ 
> 
> 
> 
> From:
> 
> Geert Josten <geert.jos...@daidalos.nl>
> 
> To:
> 
> General MarkLogic Developer Discussion <general@developer.marklogic.com>
> 
> Date:
> 
> 04/11/2011 08:12 PM
> 
> Subject:
> 
> Re: [MarkLogic Dev General] Ignore inline style tags while search
> 
> Sent by:
> 
> general-boun...@developer.marklogic.com
> 
>  
> 
> 
> 
> 
> Hi Abhishek, 
>   
> Have you tried configuring these element as ‘Phrase-throughs’? You can find 
> that in the database configuration in the Admin console. 
>   
> Kind regards, 
> Geert 
>   
> Van: general-boun...@developer.marklogic.com 
> [mailto:general-boun...@developer.marklogic.com] Namens Abhishek53 S
> Verzonden: maandag 11 april 2011 16:37
> Aan: general@developer.marklogic.com
> Onderwerp: [MarkLogic Dev General] Ignore inline style tags while search 
>  
> 
> Dear All
> 
> I want to ignore the inline markup style tags like <b> and <I> during my word 
> search Like I have my content as
> 
> <content>Marklogic <b>R</b>epository </content>
> 
> I am using search:search API and sending the search term as "Repository".This 
> is not returning me any result
> 
> Please let me know how to achieve
> 
> Thanks in advance ! 
> 
> Abhishek Srivastav
> Assistant Systems Engineer
> Tata Consultancy Services
> Plot  B-1, Block EP & GP, Sector 5
> Salt Lake Electronics Complex,
> Kolkata - 700 091,West Bengal
> India
> Cell:- +91-9883389968
> Mailto: abhishek5...@tcs.com
> Website: http://www.tcs.com
> ____________________________________________
> Experience certainty.        IT Services
>                       Business Solutions
>                       Outsourcing
> ____________________________________________ 
> =====-----=====-----=====
> Notice: The information contained in this e-mail
> message and/or attachments to it may contain 
> confidential or privileged information. If you are 
> not the intended recipient, any dissemination, use, 
> review, distribution, printing or copying of the 
> information contained in this e-mail message 
> and/or attachments to it are strictly prohibited. If 
> you have received this communication in error, 
> please notify us by reply e-mail or telephone and 
> immediately and permanently delete the message 
> and any attachments. Thank you
> _______________________________________________
> General mailing list
> General@developer.marklogic.com
> http://developer.marklogic.com/mailman/listinfo/general
> 
> 
> 
> =====-----=====-----=====
> Notice: The information contained in this e-mail
> message and/or attachments to it may contain 
> confidential or privileged information. If you are 
> not the intended recipient, any dissemination, use, 
> review, distribution, printing or copying of the 
> information contained in this e-mail message 
> and/or attachments to it are strictly prohibited. If 
> you have received this communication in error, 
> please notify us by reply e-mail or telephone and 
> immediately and permanently delete the message 
> and any attachments. Thank you
> 
> 
> _______________________________________________
> 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
> 
> =====-----=====-----=====
> Notice: The information contained in this e-mail
> message and/or attachments to it may contain 
> confidential or privileged information. If you are 
> not the intended recipient, any dissemination, use, 
> review, distribution, printing or copying of the 
> information contained in this e-mail message 
> and/or attachments to it are strictly prohibited. If 
> you have received this communication in error, 
> please notify us by reply e-mail or telephone and 
> immediately and permanently delete the message 
> and any attachments. Thank you
> 
> 
> _______________________________________________
> 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