Thanks David, really appreciate the detailed explanation. Will see if we can 
try some suggestions here.

Thanks again,

Yun

Sent from my iPhone

On Aug 26, 2015, at 2:49 AM, David Ennis 
<[email protected]<mailto:[email protected]>> wrote:

I was hoping someone would have a better answer before I replied, but here is 
my response.  Hopefully others will clarify  / build on it.


I do not think this will make a difference.  The reason being that I understand 
that the way excluded and included elements actually works is related to 
traversing the tree while creating the word indexes and including or excluding 
parts of the tree in the indexing step.  Or even if this statement inaccurate 
in some way, it is still related to the analysis of the trees (even the tree 
structure in ML is a type of internal index like a term list, but element A 
pointing to parent B rather than a term to a fragment.

So, with the includes and excludes all related to the word queries and the way 
the tree was indexed, I don't see how any range indexes will help this.

Perhaps someone will debunk this understanding and/or suggest some magic 
combination of other approaches. Perhaps there is another way of creating a 
field with an xpath expression of the ones to include and using a tuned 
field-word-query on that or similiar.







Kind Regards,
David Ennis


David Ennis
Content Engineer

[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

[http://www.hinttech.com]<http://www.hinttech.com> 
[http://www.hinttech.com/signature/Twitter_HintTech.png] 
<https://twitter.com/HintTech>  
[http://www.hinttech.com/signature/Facebook_HintTech.png] 
<http://www.facebook.com/HintTech>  
[http://www.hinttech.com/signature/Linkedin_HintTech.png] 
<http://www.linkedin.com/company/HintTech>

On 26 August 2015 at 04:45, Yang, Yun 
<[email protected]<mailto:[email protected]>> wrote:
Any advise? Appreciate the help.

Sent from my iPhone

On Aug 25, 2015, at 3:23 PM, Yang, Yun 
<[email protected]<mailto:[email protected]>> wrote:

All,

We use Word Query in our application. For the word query setting, in the 
excluded elements section, we have excluded one attribute based on the value. 
For example, in element Content, if attribute Indexing = false, we excluded 
from the word search. There are only two values in the attribute, true and 
false.

Question:
Does it worth to create an attribute range index for two distinct values to 
speed up the search? We have millions of the docs meet the condition for 
exclusion.

XML Sample:
<Content Indexing = “false”/>


Thanks,

Yun Yang


_______________________________________________
General mailing list
[email protected]<mailto:[email protected]>
Manage your subscription at:
http://developer.marklogic.com/mailman/listinfo/general


_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to