Hello,

I am trying to construct an xquery to procure the below elements as variables 
as need to procure all part no's, effectivity and only numeric units?. Any 
assistance you could provide would be greatly appreciated.

Examples - Part No, Effectivity, Units
<PARTNO>92103-15000-042</PARTNO>
<EFFECTIVITY>006-084</EFFECTIVITY>
<UNITS>1</UNITS>


Thanks,

Eric Shevchuk
Sr. Production Support/Applications Consultant

Infosys/Bristow Group, Inc.
2103 City West Blvd., 2nd Floor
Houston, TX  77042
[email protected]


From: [email protected] 
[mailto:[email protected]] On Behalf Of Oleksii Segeda
Sent: Thursday, August 03, 2017 3:05 PM
To: MarkLogic Developer Discussion
Subject: [MarkLogic Dev General] fitness score

Hi everyone,


I calculate relevance of a single document to some query by doing this:

cts:fitness(
      cts:search(
              fn:doc(),
              cts:and-query((
                cts:document-query(... document uri ...),
                ... some query ...
              )),
              ("score-logtf","unfiltered")
      )
)

I want to do the same thing, but for an element, without ingesting this element 
to my database.

Any ideas?



Oleksii Segeda

IT Analyst

Information and Technology Solutions

[http://siteresources.worldbank.org/NEWS/Images/spacer.png]

[http://siteresources.worldbank.org/NEWS/Images/WBG_Information_and_Technology_Solutions.png]



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

Reply via email to