Re: [MarkLogic Dev General] Installing MarkLogic on Synology NAS?

2013-10-17 Thread Geert Josten
Hi David, Thanks, I had been looking for linux-kind and cpu details, but hadn’t found them yet. Yes, I meant actually installing it. Not sure about those processors, but it sounds like they are going to be a problem. ML 6 and up is only available in 64-bit, and those Marvell processors appear to

Re: [MarkLogic Dev General] XDMP-ENCODING error using xdmp:get-request-header()

2013-10-17 Thread Bob H.
I'll enter a ticket and see where it goes. Thanks! -Bob On Wed, Oct 16, 2013 at 1:27 AM, Geert Josten wrote: > Hi Bob, > > > > Support can tell you best if it is known or not. I’m guessing not, first > time I saw it mentioned on this list at least. Not sure whether the spec > requires support

Re: [MarkLogic Dev General] Defining The Search Scope

2013-10-17 Thread Gnanaprakash.Bodireddy
.marklogic.com<mailto:General@developer.marklogic.com> http://developer.marklogic.com/mailman/listinfo/general -- next part -- An HTML attachment was scrubbed... URL: http://developer.marklogic.com/pipermail/general/attachments/20131017/37653c17/attachment-0001.html

Re: [MarkLogic Dev General] Defining The Search Scope

2013-10-17 Thread Colleen Whitney
Yes, if you want all of your word searches to run over a subset of elements in your document, that's the best way to do it. You might also look at fields, if you want to be able to do this selectively. You can create field-based constraints for the REST API to use, so that your query grammar c

Re: [MarkLogic Dev General] Defining The Search Scope

2013-10-17 Thread John Zhong
I think you may want to look at the word query configuration to include/exclude elements: http://docs.marklogic.com/guide/admin/wordquery#id_77008 John On Thu, Oct 17, 2013 at 6:52 AM, Erik Hennum wrote: > Hi, Gnana: > > Can you provide more detail about what you're trying to accomplish? > >

[MarkLogic Dev General] Installing MarkLogic on Synology NAS?

2013-10-17 Thread Geert Josten
Hi, Friend of mine has a Synology DS2411+ (http://www.synology.com/us/products/DS2411+/index.php), and was curious if it would be possible to install MarkLogic on such a machine. Anyone out here with experience or knowledge about this? Cheers, Geert M.Sc. G.P.H. (Geert) Josten Senior Developer

Re: [MarkLogic Dev General] Issue with nested query

2013-10-17 Thread Erik Hennum
Hi, Vijay: Are you running the search with the unfiltered option? It might be necessary to use a filtered search to eliminate all false positives. The usage notes in the documentation also has some tips on configuration position indexes to minimize false positives: http://docs.marklogic.com/

Re: [MarkLogic Dev General] Issue with nested query

2013-10-17 Thread Vijayasekar Padmanaban
Hi Erik, Thanks for your reply. I just tried using cts:and-query(()) within nested query. However, the result is same. I am still getting false positive results in the response (i.e.) search also returns xmls having element alone. Regards, Vijay From: general-boun...@developer.marklogic.com

Re: [MarkLogic Dev General] Issue with nested query

2013-10-17 Thread anoop raj p
Please remove me from mailing list. On Oct 17, 2013 10:17 AM, "Vijayasekar Padmanaban" < vijayaseka...@infosys.com> wrote: > Hi, > > ** ** > > We have got an requirement for using nested queries within search:search > API. However, using nested queries returns false positive results. Below is

Re: [MarkLogic Dev General] Issue with nested query

2013-10-17 Thread Erik Hennum
Hi, Vijay: To test the existence of an element, you can use a nested empty cts:and-query(). For more detail, see: http://docs.marklogic.com/guide/search-dev/cts_query#id_71643 So, you might try: cts:element-query(xs:QName(“child1”), cts:element-value-query(xs:QName(“child2

Re: [MarkLogic Dev General] Defining The Search Scope

2013-10-17 Thread Erik Hennum
Hi, Gnana: Can you provide more detail about what you're trying to accomplish? I'm wondering with the requirements can be met through booleans in structured search: http://docs.marklogic.com/guide/search-dev/structured-query#id_83674 http://docs.marklogic.com/guide/search-dev/structured

Re: [MarkLogic Dev General] Highlighting query

2013-10-17 Thread David Ennis
HI. I believe this sample gives you what you wish. Please note the sample doc with your terms used # let $doc := This is a document that contains information related to Data, Google and company. And more Google and more data and more COMPANY.. let $term

Re: [MarkLogic Dev General] Highlighting query

2013-10-17 Thread Erik Hennum
Hi, Pragya: In XQuery, the iterated block extends from the "for" statement (through any intervening "for" statements) to the "return" statement. In this code fragment, that means $i is processed separately (and $doc is returned) for each $temp. for $i in $temp ... return $doc If you want to

[MarkLogic Dev General] Defining The Search Scope

2013-10-17 Thread Gnanaprakash.Bodireddy
Hi Is there any way to include/exclude set of elements in a fragment while searching? For example: ... While performing search (REST API based), I want my search (keyword or constraints based) to look into few elements l