[MarkLogic Dev General] Weightings to excluded elements
Gajanan.Chinchwadkar at marklogic.com
Sun Apr 1 22:27:59 PDT 2012
Curious to understand why you don't see the following as equivalent?
exclude an element "just a little bit" ~ include it a lot
exclude it "a lot" ~ include it just a bit
Word exclusion is a binary phenomenon. Either you exclude or do not. If something is excluded there is no question of putting weight on it. If one wants to exclude an element a bit, that means one wants to include it to some extent.
From: general-bounces at developer.marklogic.com [mailto:general-bounces at developer.marklogic.com] On Behalf Of William Holmes
Sent: Sunday, April 01, 2012 7:48 AM
To: general at developer.marklogic.com
Subject: Re: [MarkLogic Dev General] Weightings to excluded elements
Consider the following XQuery expression:
xquery version "1.0-ml";
declare namespace f = "http://bit.ly/3aoURT";
It appears that I can assign weights to not queries, which I think is absolutely great.
However, when dealing with the word specification in the admin system, I find that I can attach weights to included elements, but not to excluded elements. I would like to request this as a feature addition within MarkLogic. There is a simple business case for assigning weights to excluded elements.
I may wish to exclude an element "just a little bit" in which case it could have a weight of say 2, but then I may wish to exclude it "a lot" in which case I could exclude it with the full weighting of 16.0.
This communication (including any attachments) is intended for the use of the addressee only and may contain confidential, privileged or copyright material. It may not be relied upon or disclosed to any other person without the consent of the RSC. If you have received it in error, please contact us immediately. Any advice given by the RSC has been carefully formulated but is necessarily based on the information available, and the RSC cannot be held responsible for accuracy or completeness. In this respect, the RSC owes no duty of care and shall not be liable for any resulting damage or loss. The RSC acknowledges that a disclaimer cannot restrict liability at law for personal injury or death arising through a finding of negligence. The RSC does not warrant that its emails or attachments are Virus-free: Please rely on your own screening. The Royal Society of Chemistry is a charity, registered in England and Wales, number 207890 - Registered office: Thomas Graham House, Science
Park, Milton Road, Cambridge CB4 0WF
General mailing list
General at developer.marklogic.com
More information about the General