Hi Sundaravadivel,

Indexes are always meant for large volumes. If you would have only 1000
docs, you would hardly need indexes. So, go ahead, and try. Any additional
index will take some extra disk and memory space, as well as slow down
loading of docs a little bit, but that is often mere percentages..

Kind regards,
Geert

> -----Oorspronkelijk bericht-----
> Van: [email protected] [mailto:general-
> [email protected]] Namens Sundaravadivel Kandasamy
> Verzonden: donderdag 21 november 2013 7:12
> Aan: MarkLogic Developer Discussion
> Onderwerp: Re: [MarkLogic Dev General] weightage in xml tags for search
>
> Thanks for your suggestion Gary!
>
> I have few questions to clarify:
>
> is it advisable to use Field indexing  with millions of documents?
> Any impact will be there while loading xml documents due to field
indexing?
>
>
> Regards,
> Sundaravadivel k
>
> -----Original Message-----
> From: [email protected] [mailto:general-
> [email protected]] On Behalf Of Gary Vidal
> Sent: Wednesday, November 20, 2013 6:54 PM
> To: [email protected]
> Subject: [MarkLogic Dev General] weightage in xml tags for search
>
> Sundar,
>
> The simplest approach would be to configure fields in your database.
This
> will allow you to associate multiple element or element/attribute names
to
> a single name structure like "title" or "body". Each element can
contribute a
> weighting which is applied at the time of indexing.  If you have already
> existing database with content then you will have to pay the cost of
> reindexing the content to add the field indexes.
>
> More information on fields
> http://docs.marklogic.com/guide/admin/fields#chapter
>
> you can then use a field constraint in your search:search options to
define
> the fields.
>
>
> Date: Wed, 20 Nov 2013 12:55:25 +0000
> From: "Sundaravadivel  Kandasamy" <[email protected]>
> Subject: [MarkLogic Dev General] weightage in xml tags for search
> To: "[email protected]"
>       <[email protected]>
> Message-ID:
> <5FB7D0B311DDFE439CD54FA60898F802122FC0F2@chnshlmbx14>
> Content-Type: text/plain; charset="us-ascii"
>
> Hi,
>                 I want to set the weightage for 'body' and 'title'
element in xml, xml
> content will have other elements than body and title. I am using search
API
> for search. I am using search API for search and we have five different
xml
> contents with different namespaces for title and body element.  Is there
any
> good approach to achieve this weightage?
>
> cts:element-word-query to set the weightage may not help.
>
> Thanks.
>
> Regards,
> Sundar.
>
> _______________________________________________
> General mailing list
> [email protected]
> http://developer.marklogic.com/mailman/listinfo/general
>
> **************** CAUTION - Disclaimer *****************
> This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended
> solely
> for the use of the addressee(s). If you are not the intended recipient,
please
> notify the sender by e-mail and delete the original message. Further,
you are
> not
> to copy, disclose, or distribute this e-mail or its contents to any
other person
> and
> any such actions are unlawful. This e-mail may contain viruses. Infosys
has
> taken
> every reasonable precaution to minimize this risk, but is not liable for
any
> damage
> you may sustain as a result of any virus in this e-mail. You should
carry out
> your
> own virus checks before opening the e-mail or attachment. Infosys
reserves
> the
> right to monitor and review the content of all messages sent to or from
this
> e-mail
> address. Messages sent to or from this e-mail address may be stored on
the
> Infosys e-mail system.
> ***INFOSYS******** End of Disclaimer ********INFOSYS***
> _______________________________________________
> General mailing list
> [email protected]
> http://developer.marklogic.com/mailman/listinfo/general
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to