HI.

It looks like you want to investigate the feature phrase-around

https://docs.marklogic.com/admin-help/phrase-around


In other words: search around certain elements.


Kind Regards,
David Ennis


David Ennis
*Content Engineer*

[image: HintTech]  <http://www.hinttech.com/>
Mastering the value of content
creative | technology | content

Delftechpark 37i
2628 XJ Delft
The Netherlands
T: +31 88 268 25 00
M: +31 63 091 72 80

[image: http://www.hinttech.com] <http://www.hinttech.com>
<https://twitter.com/HintTech>  <http://www.facebook.com/HintTech>
<http://www.linkedin.com/company/HintTech>

On 23 July 2015 at 15:57, Indrajeet Verma <indrajeet.ve...@gmail.com> wrote:

> Hi All,
>
> I am doing free text search by using search libraries. I am using
> search:search/search:resolve etc.. We have elements <footnote> inside
> documents and I don't want to include these nodes in my search.
>
> e.g.
>
> If I search Effective , this should not return result.
>
> If I search confidential , this should return result however match count
> should be only 2 NOT 3. Also confidential  that is under footnote should
> not be highlighted.
>
> <doc>
> <meta>
> </meta>
> <footnote id="R09-IDANDNQ-R09-IDAE00T-FN7" content-type="secondary">
>         <para>
>             <text>Effective February 3, 2015, confidential  </text>
>        </para>
> </footnote>
> <num>(a)</num>
>     <para>
>         <text>An SCI entity (as defined in
>             of this chapter) shall not omit the confidential portion from
> the material filed in electronic format on Form SCI pursuant to Regulation
> SCI,
>             <italic>et seq</italic>., and, in lieu of the procedures
> described in
>              of this section, may request confidential treatment of all
> information provided on Form SCI by completing Section IV of Form SCI.
>         </text>
>     </para>
> </doc>
>
>
> Is there any way to exclude elements from the search?
>
> Regards,
> Indy
>
> _______________________________________________
> General mailing list
> General@developer.marklogic.com
> Manage your subscription at:
> http://developer.marklogic.com/mailman/listinfo/general
>
>
_______________________________________________
General mailing list
General@developer.marklogic.com
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to