Thank you All for your suggestions! I am using cts:element, cts:word and cts:range queries with in search:resolve. If I don't want to change any query in code, could I exclude footnote element from my search?
if I create phrase arounds in my database, will re-indexing happen? Will any extra space required? Regards, Indy On Thu, Jul 23, 2015 at 7:31 PM, Geert Josten <geert.jos...@marklogic.com> wrote: > Hi Indy, > > I think you are looking for the Phrase-Arounds setting on your database. > Or if you are using a Field, you can add that element to the exclude list.. > > Kind regards, > Geert > > From: <general-boun...@developer.marklogic.com> on behalf of Indrajeet > Verma <indrajeet.ve...@gmail.com> > Reply-To: MarkLogic Developer Discussion <general@developer.marklogic.com> > Date: Thursday, July 23, 2015 at 3:57 PM > To: MarkLogic Developer Discussion <general@developer.marklogic.com> > Subject: [MarkLogic Dev General] Regarding Excluding a node from search > > 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