[MarkLogic Dev General] cts:element-values on document-properties

2015-02-20 Thread Andreas Hubmer
Hi, I am wondering whether it is possible to constrain an element-values-query on a property element by a query on the document. I have a property *person *and cts:element-values(xs:QName("ns:person")) gives me all values for that property. This works fine. Now I want to constrain the list of

Re: [MarkLogic Dev General] cts:element-values on document-properties

2015-02-23 Thread Andreas Hubmer
-query ). > > As for your directory query example, maybe you need to set the depth to > "infinity"? http://docs.marklogic.com/cts:directory-query > > Thanks. > > -jb > > > From: Andreas Hubmer > Reply-To: MarkLogic Developer Discussion > Date: Friday, February 20,

Re: [MarkLogic Dev General] MLCP - copy database from localhost to virtual server

2015-04-08 Thread Andreas Hubmer
ort the database to an archive but it only copies > part of the documents in the database! > > > > Thanks for the suggestions. > > > > Frank > > > > > > > > _______ > General mailing list > General@developer.ma

Re: [MarkLogic Dev General] MLCP - copy database from localhost to virtual server

2015-04-08 Thread Andreas Hubmer
812-630-7622 > www.marklogic.com > > > > *From:* general-boun...@developer.marklogic.com [mailto: > general-boun...@developer.marklogic.com] *On Behalf Of *Andreas Hubmer > *Sent:* Wednesday, April 08, 2015 3:26 AM > *To:* MarkLogic Developer Discussion > *Subject:* Re: [MarkLogic Dev General] M

Re: [MarkLogic Dev General] MLCP - copy database from localhost to virtual server

2015-04-09 Thread Andreas Hubmer
-- > > David Lee > Lead Engineer > *Mark**Logic* Corporation > d...@marklogic.com > Phone: +1 812-482-5224 > > Cell: +1 812-630-7622 > www.marklogic.com > > > > *From:* general-boun...@developer.marklogic.com [mailto: > general

Re: [MarkLogic Dev General] MLCP - copy database from localhost to virtual server

2015-04-09 Thread Andreas Hubmer
hone: +1 812-482-5224 > > Cell: +1 812-630-7622 > www.marklogic.com > > > > *From:* general-boun...@developer.marklogic.com [mailto: > general-boun...@developer.marklogic.com] *On Behalf Of *Andreas Hubmer > *Sent:* Wednesday, April 08, 2015 9:51 AM > > *To:* MarkLogic D

[MarkLogic Dev General] rest-writer and URI privileges

2015-04-16 Thread Andreas Hubmer
e privilege are necessary. Is there anything I am missing? How can I restrict the URIs for which the REST user can create documents? Regards, Andreas -- Andreas Hubmer IT Consultant EBCONT enterprise technologies GmbH OUR TEAM IS YOUR SUCCESS UID-Nr. ATU68135644 HG St.Pölten - FN 399978 d _

Re: [MarkLogic Dev General] rest-writer and URI privileges

2015-04-16 Thread Andreas Hubmer
ely assigns both any-uri, and any-collection.. > > Best option you have at this moment is to use protected collections. > Haven’t looked at that closely though.. > > Cheers, > Geert > > From: Andreas Hubmer > Reply-To: MarkLogic Developer Discussion > Date:

Re: [MarkLogic Dev General] rest-writer and URI privileges

2015-04-17 Thread Andreas Hubmer
ositively due to amping of internal functions within the REST-api, which > effectively assigns both any-uri, and any-collection.. > > Best option you have at this moment is to use protected collections. > Haven’t looked at that closely though.. > > Cheers, > Geert > > Fr

Re: [MarkLogic Dev General] XDMP:SPAWN - Load Distribution Issue

2015-04-22 Thread Andreas Hubmer
y be monitored. > > > _______ > General mailing list > General@developer.marklogic.com > Manage your subscription at: > http://developer.marklogic.com/mailman/listinfo/general > > -- Andreas Hubmer IT Consultant EBCONT en

[MarkLogic Dev General] Performance of cts:element-values

2015-05-12 Thread Andreas Hubmer
("b")) separately and manually merging the values. Why do I want to do it manually? Actually I will not only use cts:element-values but also cts:element-attribute-values. I will have a dynamic list of element names and element+attribute names and want to retrieve all their values and freq

Re: [MarkLogic Dev General] Performance of cts:element-values

2015-05-12 Thread Andreas Hubmer
e your result. > > Regards, > Asit Nautiyal > -- > *From:* general-boun...@developer.marklogic.com [ > general-boun...@developer.marklogic.com] on behalf of Andreas Hubmer [ > andreas.hub...@ebcont.com] > *Sent:* Tuesday, May 12, 2015 6:07 PM > *To:* MarkLogic Developer Dis

[MarkLogic Dev General] cts:element-values and fragment-frequency with multiple element names

2015-05-13 Thread Andreas Hubmer
to document this behavior. As a workaround, to get the "real" fragment frequency I will use a field range index and cts:field-values Regards, Andreas -- Andreas Hubmer IT Consultant Email: andreas.hub...@ebcont.com Web: http://www.ebcont.com OUR TEAM IS YOUR SUCCESS UID-Nr. ATU68

Re: [MarkLogic Dev General] cts:element-values and fragment-frequency with multiple element names

2015-05-26 Thread Andreas Hubmer
Hi there, Can anybody tell me whether this is a bug or a feature? Thanks, Andreas 2015-05-13 17:08 GMT+02:00 Andreas Hubmer : > Hi, > > cts:frequency returns unexpected values when called on an item retrieved > with cts:element-values on multiple elements and the option > &quo

[MarkLogic Dev General] Boosting with simple scoring

2015-06-09 Thread Andreas Hubmer
alue does not matter much. logtfidf is perfect for my word queries, but not for the element-value-queries that I use in the boosting query. Is it possible to use "score-simple" for the boosting query only and "score-logtfidf" for the "real" query? Best regards,

Re: [MarkLogic Dev General] Boosting with simple scoring

2015-06-09 Thread Andreas Hubmer
nts that are equivalent except for a numeric id and the *publishercode* (ON, ISO and BEUTH). Due to the boosting I would expect the document with the publishercode ON to be the first result, the document with ISO the second result and the document with BEUTH the last result. But the order is IS

Re: [MarkLogic Dev General] Boosting with simple scoring

2015-06-10 Thread Andreas Hubmer
ords. In the end, I don't want to use "score-simple" for the whole search because it will also contain word-queries. Ideally I would like to be able to us logtfidf scoring for the word-queries and simple scoring for the element-value-queries. Is that possible? Regards, Andreas 2015-0

Re: [MarkLogic Dev General] Boosting with simple scoring

2015-06-15 Thread Andreas Hubmer
t quite sure it will work, so > please share the underlying result ordering problem so we know what to work > around. > > > > Damon > > > > *From:* general-boun...@developer.marklogic.com [mailto: > general-boun...@developer.marklogic.com] *On Behalf Of *Andreas Hub

[MarkLogic Dev General] element-word-match

2015-07-13 Thread Andreas Hubmer
wrong lexicon values. I can consistently reproduce the problem. I am using MarkLogic 8.0-2. Best regards, Andreas -- Andreas Hubmer IT Consultant EBCONT enterprise technologies GmbH Millennium Tower Handelskai 94-96 A-1200 Vienna Email: andreas.hub...@ebcont.com Web: http://www.ebco

Re: [MarkLogic Dev General] element-word-match

2015-07-13 Thread Andreas Hubmer
()} > ) > > Cheers, > Geert > > From: on behalf of Andreas > Hubmer > Reply-To: MarkLogic Developer Discussion > Date: Monday, July 13, 2015 at 2:00 PM > To: MarkLogic Developer Discussion > Subject: [MarkLogic Dev General] element-word-match > > Hi, >

Re: [MarkLogic Dev General] element-word-match

2015-07-13 Thread Andreas Hubmer
; > > From: Geert Josten > Reply-To: MarkLogic Developer Discussion > > Date: Monday, 13 July 2015 13:55 > To: MarkLogic Developer Discussion > Subject: Re: [MarkLogic Dev General] element-word-match > > > That should disappear once below merge completes. Pe

Re: [MarkLogic Dev General] element-word-match

2015-07-13 Thread Andreas Hubmer
ments. Afterwards cts:element-word-match returns the expected empty list. Nevertheless I am surprised that cts:element-word-match returns values from deleted fragments. Cheers, Andreas 2015-07-13 15:42 GMT+02:00 Christopher Hamlin : > On Mon, Jul 13, 2015 at 9:30 AM, Andreas Hubmer > wr

Re: [MarkLogic Dev General] element-word-match

2015-07-13 Thread Andreas Hubmer
ty is bypassed for > that user. That also gives you a slight performance gain. As a general rule > of thumb, never run tests as admin.. > > Cheers, > Geert > > From: on behalf of Andreas > Hubmer > Reply-To: MarkLogic Developer Discussion > Date: Monday, July 13,

Re: [MarkLogic Dev General] element-word-match

2015-07-14 Thread Andreas Hubmer
> A cts:search starts with fragments, so easier to ignore deleted fragments > from the start.. > > > > Again, this is a rare anomaly, only observed with admin user. Normal > applications should never run with admin user. It is a good practice to > always look for a customiz

[MarkLogic Dev General] Query Result Downloading (QConsole)

2015-07-23 Thread Andreas Hubmer
Hello, Is there a possibility to download the result of a query instead of displaying it in the Query Console? Sometimes the result is just too big. Best regards, Andreas -- Andreas Hubmer IT Consultant Web: http://www.ebcont.com OUR TEAM IS YOUR SUCCESS

Re: [MarkLogic Dev General] Query Result Downloading (QConsole)

2015-07-23 Thread Andreas Hubmer
True, that is an option. Thanks! 2015-07-23 14:43 GMT+02:00 DK Singh : > You can save the result in your local system using xdmp:save function > On Jul 23, 2015 6:02 PM, "Andreas Hubmer" > wrote: > >> Hello, >> >> Is there a possibility to d

Re: [MarkLogic Dev General] Query Result Downloading (QConsole)

2015-07-24 Thread Andreas Hubmer
wnload the files from there (assuming you have access). > > > > -- > > Dave Cassel <http://davidcassel.net>, @dmcassel > <https://twitter.com/dmcassel> > Technical Community Manager > > MarkLogic Corporation <http://www.marklogic.com/> > > http:

Re: [MarkLogic Dev General] Query Result Downloading (QConsole)

2015-07-24 Thread Andreas Hubmer
: > /qconsole/endpoints/view.xqy?sid=12345&uri=/tmp/results.xml > > > Kind Regards, > David Ennis > > > David Ennis > *Content Engineer* > *​HintTech* > > *​* > On 24 July 2015 at 10:08, Andreas Hubmer > wrote: > >> Thanks for the suggestion. As

[MarkLogic Dev General] Distributing Tasks

2015-07-28 Thread Andreas Hubmer
e on a specific host in a cluster. Are there still any plans for this feature? Thanks and cheers, Andreas -- Andreas Hubmer IT Consultant ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/m

Re: [MarkLogic Dev General] Distributing Tasks

2015-07-29 Thread Andreas Hubmer
that holds the document at hand from what > I have heard.. > > Cheers, > Geert > > > From: on behalf of Andreas > Hubmer > Reply-To: MarkLogic Developer Discussion > Date: Tuesday, July 28, 2015 at 5:20 PM > To: MarkLogic Developer Discussion > Subject: [MarkL

Re: [MarkLogic Dev General] Distributing Tasks

2015-07-30 Thread Andreas Hubmer
won’t spread load across a cluster automatically > though. You could however try to split the load somehow, and run multiple > instances in parallel, each against a different host. Though, that works > best if you are targeting the host that actually holds the data you want to > touch. Bu

Re: [MarkLogic Dev General] Distributing Tasks

2015-07-30 Thread Andreas Hubmer
> Cell: +1 812-630-7622 > www.marklogic.com > > > > *From:* general-boun...@developer.marklogic.com [mailto: > general-boun...@developer.marklogic.com] *On Behalf Of *Andreas Hubmer > *Sent:* Thursday, July 30, 2015 8:31 AM > > *To:* MarkLogic Developer Discussion &g

Re: [MarkLogic Dev General] Distributing Tasks

2015-07-30 Thread Andreas Hubmer
h.. > > https://github.com/grtjn/ml-queue > > Cheers, > Geert > > From: on behalf of Andreas > Hubmer > Reply-To: MarkLogic Developer Discussion > Date: Thursday, July 30, 2015 at 2:47 PM > To: MarkLogic Developer Discussion > Subject: Re: [MarkLogic Dev General]

[MarkLogic Dev General] Word Query Settings

2015-07-30 Thread Andreas Hubmer
here would be a difference. In my case element-word-queries worked well, but not for phrases consisting of more than 2 words. I could fix the problem by adding the queried element to the list of included elements. Regards, Andreas -- Andreas Hubme

Re: [MarkLogic Dev General] Distributing Tasks

2015-07-30 Thread Andreas Hubmer
ode in the DB or > not. In fact its a 'huge feature' because your code is now propagated > over your entire cluster, deployed with packages, backed up with DB > backups, queryable, validatable, found by imports and usable anywhere you > need it without any filesystem magic. > > > > With that out of the way, there are a lot more options to work with. > > > > > > >

[MarkLogic Dev General] xdmp:forest-clear

2015-10-02 Thread Andreas Hubmer
ehow asynchronous? Or is it maybe a visibility problem with deleted data? I run the code as admin user (just for testing). Regards, Andreas -- Andreas Hubmer IT Consultant EBCONT enterprise technologies GmbH Millennium Tower Handelskai 94-96 A-1200 Vienna Web: http://www.ebcont.com OUR TEAM IS Y

Re: [MarkLogic Dev General] xdmp:forest-clear

2015-10-05 Thread Andreas Hubmer
r a forest in a database you're running against, the clear > operation is run asynchronously. Your query of test.xml is running prior to > the clear actually happening. > > Wayne. > > > > On 10/02/2015 08:35 AM, Andreas Hubmer wrote: > > Hello, > > I'

[MarkLogic Dev General] xml:lang bug

2015-10-08 Thread Andreas Hubmer
rks. :) "test4: " || count(cts:search(/, cts:word-query("text", ("lang=de" ; xdmp:document-delete("/xml-lang-test.xml") Is this bug known? Can you tell me when it will be fixed? Thanks, Andreas -- Andreas Hubmer IT Consultant EBCONT enterprise tech

[MarkLogic Dev General] REST API: element range index administration

2015-10-09 Thread Andreas Hubmer
XDMP-AS: (err:XPTY0004) $localname as xs:string -- Invalid coercion: http://marklogic.com/manage/database/properties ">created replace deleted as xs:string In "phrase-through" it works as expected. Partial JSON config: "phrase-through" : [{ "namespace-uri" : "

[MarkLogic Dev General] Backup/Restore

2015-10-13 Thread Andreas Hubmer
right, or do I miss something? Thanks, Andreas -- Andreas Hubmer IT Consultant EBCONT enterprise technologies GmbH Millennium Tower Handelskai 94-96 A-1200 Vienna Web: http://www.ebcont.com OUR TEAM IS YOUR SUCCESS UID-Nr. ATU68135644 HG St.Pölten - FN 399978 d _

[MarkLogic Dev General] Performance of cts:contains with a boosted query

2015-10-22 Thread Andreas Hubmer
ve any idea what I could do? Regards, Andreas -- Andreas Hubmer IT Consultant EBCONT enterprise technologies GmbH Millennium Tower Handelskai 94-96 A-1200 Vienna Mobile: +43 664 60651861 Fax: +43 2772 512 69-9 Email: andreas.hub...@ebcont.com Web: http://www.ebcont.com OUR TEAM IS YOUR SUCCESS U

Re: [MarkLogic Dev General] Backup/Restore

2015-10-27 Thread Andreas Hubmer
Hi, Maybe my message got lost. Can anybody help me with my questions concerning backups? Regards, Andreas 2015-10-13 17:18 GMT+02:00 Andreas Hubmer : > Hi, > > I'm configuring a scheduled backup. While doing that some questions came > up. > > Backup goal: Have a dail

[MarkLogic Dev General] Logging Problem

2015-11-16 Thread Andreas Hubmer
s were not accepted any more. Interestingly, the run time of the requests in the XDBC server status view exceeded the configured time limit. Do you have any idea about this error? Andreas -- Andreas Hubmer IT Consultant EBCONT enterprise technologies GmbH

[MarkLogic Dev General] xdmp:annotation

2015-11-27 Thread Andreas Hubmer
version "1.0-ml"; declare %local:foo("value1") %local:foo("value2") function local:hello() { () }; xdmp:annotation(local:hello#0, xs:QName("local:foo")) This returns only "value1", but not "value2". Regards, Andreas --

Re: [MarkLogic Dev General] xdmp:annotation

2015-11-27 Thread Andreas Hubmer
and provide > multiple values to it: > > declare >%local:foo(“value1","value2") > function local:hello() { > > Cheers, > Geert > > From: on behalf of Andreas > Hubmer > Reply-To: MarkLogic Developer Discussion > Date: Friday, November 27, 2015 at 1

Re: [MarkLogic Dev General] xdmp:annotation

2015-11-27 Thread Andreas Hubmer
s is not > possible anymore when the annotations are combined. > %local:foo("value1", "description", "value2", "") > > Cheers, > Andreas > > 2015-11-27 13:31 GMT+01:00 Geert Josten : > >> Hi Andreas, >> >> I think the

[MarkLogic Dev General] XDMP-EXTVAR with xdmp:spawn-function and external variables

2015-12-14 Thread Andreas Hubmer
accessing the external variable directly in the spawned function works. Working version of main.xqy: xquery version "1.0-ml"; declare variable $param as xs:string external; xdmp:spawn-function(function() { xdmp:log("value: " || $param) }) Regards, Andreas -- Andreas Hubmer IT C

Re: [MarkLogic Dev General] XDMP-RANGEINDEX

2016-01-28 Thread Andreas Hubmer
, use, disclosure, dissemination, > forwarding, printing or copying of this e-mail or any action taken in > reliance on this e-mail is strictly prohibited and may be unlawful." > > ___ > General mailing list > General@developer.marklogi

[MarkLogic Dev General] XSLT: empty elements in XHTML output

2016-02-12 Thread Andreas Hubmer
Hi, I use the XHTML output method and to me it seems that tags with a non-empty content model (like ) are serialized incorrectly, when they are empty. Example: xquery version "1.0-ml"; xdmp:xslt-eval( http://www.w3.org/1999/XSL/Transform"; version="2.0"> ,

Re: [MarkLogic Dev General] XSLT: empty elements in XHTML output

2016-02-12 Thread Andreas Hubmer
27;s possible something else may be playing with the result. > > Best, > Rob > > Rob Szkutak > Senior Consultant > MarkLogic Corporation > rob.szku...@marklogic.com > www.marklogic.com > > -- > *From:* general-boun...@developer.marklog

Re: [MarkLogic Dev General] XSLT: empty elements in XHTML output

2016-02-15 Thread Andreas Hubmer
ll.. > > Cheers, > Geert > > From: on behalf of Andreas > Hubmer > Reply-To: MarkLogic Developer Discussion > Date: Friday, February 12, 2016 at 12:45 PM > To: MarkLogic Developer Discussion > Subject: Re: [MarkLogic Dev General] XSLT: empty elements in XHTML output >

Re: [MarkLogic Dev General] e node and d node configuration

2016-02-19 Thread Andreas Hubmer
Yes. Information on this topic can also be found in the helpful MarkLogic paper called "Performance: Understanding System Resources ". http://developer.marklogic.com/learn/understanding-system-resources Cheers, Andreas Am 19.02.

[MarkLogic Dev General] Memory consumption / range indexes

2016-04-28 Thread Andreas Hubmer
dreas -- Andreas Hubmer Senior IT Consultant EBCONT enterprise technologies GmbH Millennium Tower Handelskai 94-96 A-1200 Vienna OUR TEAM IS YOUR SUCCESS UID-Nr. ATU68135644 HG St.Pölten - FN 399978 d ___ General mailing list General@developer.marklogi

Re: [MarkLogic Dev General] Mysterious, Dramatic Query Slowdown on Multi-Node Cluster

2016-06-17 Thread Andreas Hubmer
t; > > > --- > > Ron Hitchens {r...@overstory.co.uk} +44 7879 358212 > > > > ___ > > General mailing list > > General@developer.marklogic.com > > Manage your subscription at: > > http://developer.marklogic.com/mailman/listinfo/general > > _

Re: [MarkLogic Dev General] XDMP-EXTVAR with xdmp:spawn-function and external variables

2016-06-20 Thread Andreas Hubmer
; > > > Thanks, > > -Danny > > > > *From:* general-boun...@developer.marklogic.com [mailto: > general-boun...@developer.marklogic.com] *On Behalf Of *Andreas Hubmer > *Sent:* Monday, December 14, 2015 8:45 AM > *To:* MarkLogic Developer Discussion > *Subject:

Re: [MarkLogic Dev General] XDMP-EXTVAR with xdmp:spawn-function and external variables

2016-06-20 Thread Andreas Hubmer
param2 := $param; > > > > declare function local:func() { > > xdmp:log("value: " || $param2) > > }; > > > > xdmp:spawn-function(function() { local:func() }) > > Haven’t tested myself, and not sure if it is of any help to you.. > > Cheers, > G

Re: [MarkLogic Dev General] XDMP-EXTVAR with xdmp:spawn-function and external variables

2016-06-20 Thread Andreas Hubmer
nd to use a let statement for param2 and then pass around the variable param2. Regards, Andreas 2016-06-20 16:19 GMT+02:00 Andreas Hubmer : > Hi Geert, > > Thanks for your reply. > > The bug can be really annoying when using a default value for the external > variable,

Re: [MarkLogic Dev General] Wildcard search in marklogic

2016-08-24 Thread Andreas Hubmer
> > > > ___ > General mailing list > General@developer.marklogic.com > Manage your subscription at: > http://developer.marklogic.com/mailman/listinfo/general > > -- Andreas Hubmer Senior IT Consultant ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general

[MarkLogic Dev General] Sorting results of lexicon calls

2016-09-21 Thread Andreas Hubmer
t get any different results. Thanks, Andreas -- Andreas Hubmer Senior IT Consultant EBCONT enterprise technologies GmbH Millennium Tower Handelskai 94-96 A-1200 Vienna OUR TEAM IS YOUR SUCCESS UID-Nr. ATU68135644 HG St.Pölten - FN 399978 d ___

Re: [MarkLogic Dev General] Sorting results of lexicon calls

2016-09-21 Thread Andreas Hubmer
e document). > > The logtfidf score uses the document relevance to the query. > > > Hoping that helps, > > > Erik Hennum > > > -- > *From:* general-boun...@developer.marklogic.com [ > general-boun...@developer.marklogic.com] on behalf

Re: [MarkLogic Dev General] Sorting results of lexicon calls

2016-09-21 Thread Andreas Hubmer
understand. Regards, Andreas 2016-09-21 16:31 GMT+02:00 Mary Holstege : > On Wed, 21 Sep 2016 06:34:15 -0700, Andreas Hubmer > wrote: > > > Hi Erik, > > > > Thanks, cts:value-tuples is a good hint. > > Do you have an idea of how one could get the URIs, sorted b

[MarkLogic Dev General] Relevance Info

2016-12-15 Thread Andreas Hubmer
hanks, Andreas -- Andreas Hubmer Senior IT Consultant EBCONT enterprise technologies GmbH Millennium Tower Handelskai 94-96 A-1200 Vienna ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/ma

Re: [MarkLogic Dev General] Relevance Info

2016-12-15 Thread Andreas Hubmer
containing "brain" are ranked higher because of scoring with IDF. Regards, Andreas 2016-12-15 16:36 GMT+01:00 Andreas Hubmer : > Hi, > > I'm tuning the result order of a search and not sure about all the parts > in the output of cts:relevance-info. > > Example:

Re: [MarkLogic Dev General] Relevance Info

2016-12-15 Thread Andreas Hubmer
t; > On 12/15/2016 08:34 AM, Andreas Hubmer wrote: > > Hi, > > It seems that the weight is - at least partly - language dependent. > After changing the xml:lang at the root element of a document, the weight > of the term in the relevance info of that document changes as well. &g

Re: [MarkLogic Dev General] hyphens and cts:element-value-query

2017-02-28 Thread Andreas Hubmer
Hi Geert, As far as I know there are index entries for "exact" queries in the universal index, that include punctuation and whitespace. Thus, Gary's value queries should work unfiltered. There is an email by Mary Holstege supporting my assumption: http://developer.marklogic.com/pipermail/general/

Re: [MarkLogic Dev General] hyphens and cts:element-value-query

2017-03-01 Thread Andreas Hubmer
Hi, I support Jason's suggestion to turn on exact matching by default (without manually enabling FCSS and FDSS). I've done that wrong several times and seen others doing it wrong. And further, the advice of MarkLogic is to use unfiltered queries. Regards, Andreas 2017-03-01 2:55 GMT+01:00 Jason

Re: [MarkLogic Dev General] hyphens and cts:element-value-query

2017-03-01 Thread Andreas Hubmer
filtered" ) ,"---", "Document is found: WRONG", cts:search(/, cts:and-query((cts:directory-query("/bug/", "infinity"), cts:element-value-query(xs:QName("status"), "new", ("exact", "unfiltered" ) Do you have a

[MarkLogic Dev General] Unfiltered, exact searches

2017-03-23 Thread Andreas Hubmer
Hi, There seems to be a bug related to unfiltered and exact value searches. We are using value queries in the Java API, but I've boiled it down to cts searches. The following snippet exhibits the wrong behavior: xquery version "1.0-ml"; xdmp:document-insert("/bug/doc.xml", NEW) ; "Document is f

Re: [MarkLogic Dev General] Unfiltered, exact searches

2017-03-23 Thread Andreas Hubmer
tive flag > despite the ‘exact’, because of the all-lowercase ’new’. Can you tell which > version of MarkLogic you are running, and on which architecture? > > Cheers, > Geert > > From: on behalf of Andreas > Hubmer > Reply-To: MarkLogic Developer Discussion > Date: T

Re: [MarkLogic Dev General] Unfiltered, exact searches

2017-03-24 Thread Andreas Hubmer
lags are not baked into the lookup keys (if they were, index sixes would > be much much larger). Phrases (in whitespace-separated languages) don't > have this same issue because a word key cannot include the space between > words, so an exact value query for "new status" wil

Re: [MarkLogic Dev General] mlproj, yet another project manager for MarkLogic

2017-03-28 Thread Andreas Hubmer
Hi Florent, Sounds interesting. >From what I've seen so far mlproj is similar to Roxy. Can you describe the differences? Regards, Andreas 2017-03-28 16:13 GMT+02:00 Florent Georges : > Hi Dave, > > I do not know mlsound, so I can't really say. But given your question, > the main difference

Re: [MarkLogic Dev General] How to use uri-match in the java api?

2017-04-03 Thread Andreas Hubmer
Hi, Using queryManager.values I can invoke cts:uris, but how could I invoke cts:uri-match with a wildcarded uri through the Java API? Thanks, Andreas 2017-03-31 17:22 GMT+02:00 Justin Makeig : > Apologies, I read too fast. You were asking about "Java", not > "JavaScript". (Car is to carpet as

Re: [MarkLogic Dev General] How to use uri-match in the java api?

2017-04-03 Thread Andreas Hubmer
), you might think about passing in or constructing a > constraining query so the comparison is only on some values instead of all > values in the range index. > > > Erik Hennum > > > -- > *From:* general-boun...@developer.marklogic.com [ > gen

Re: [MarkLogic Dev General] Announcing MarkLogic 9

2017-05-09 Thread Andreas Hubmer
Hi Dave, That's great news. Do you know when it will be available on the Amazon AWS marketplace? Regards, Andreas 2017-05-09 17:10 GMT+02:00 Dave Cassel : > Hello Community, > > I'm happy to announce that MarkLogic 9 is now available for download > . >

[MarkLogic Dev General] diacritic-sensitive searches

2017-05-10 Thread Andreas Hubmer
Hi, We've had a closer look at diacritic-sensitive searches. In our database fast-diacritic-sensitive searches are active and we are using the option "diacritic-sensitive". Am I right that it is not possible to avoid false-positives when searching "unfiltered"? Example for a false positive: *Quer

[MarkLogic Dev General] Error in Manage API

2017-05-17 Thread Andreas Hubmer
Hi, We've found out that the following REST endpoint returns an error, if the MarkLogic hostname contains a space. /manage/LATEST/forests/{forest-name}/properties Regards, Andreas ___ General mailing list General@developer.marklogic.com Manage your subs

Re: [MarkLogic Dev General] Binary Document Ingestion in MP4 and MP3 format

2017-07-20 Thread Andreas Hubmer
e also seen how to make the binary files searchable but I have done > for .doc, .ppt, .pdf etc file but could not do for .mp4 or .mp3. > > > > Actually I want to make the files searchable. > > > > Can you please direct me how to achieve this and tell me if I need to > enable or

Re: [MarkLogic Dev General] Binary Document Ingestion in MP4 and MP3 format

2017-07-20 Thread Andreas Hubmer
. You can range index metadata fields too, like other fields, and even > index as dateTime and such, but you cannot store a fragment of XML inside > it, and index on a sub-element of that. It will simply get stored as quoted > xml, and it will full-text search that instead.. > >

[MarkLogic Dev General] Or-Query: Synonym Scoring

2017-08-17 Thread Andreas Hubmer
Hi, We've discovered the "synonym" option of the cts:or-query and thought that it would solve an issue we've had for a longer time in several applications with several clients. But it does not work as expected. Either I am misunderstanding the effect of the "synonym" option or there is a bug. The

Re: [MarkLogic Dev General] Or-Query: Synonym Scoring

2017-08-17 Thread Andreas Hubmer
ption for 'synonym' in cts:element-word-query seems to > bolster this interpretation (to me). > > /ch > > On Thu, Aug 17, 2017 at 9:55 AM, Andreas Hubmer > wrote: > >> Hi, >> >> We've discovered the "synonym" option of the cts:or-qu

Re: [MarkLogic Dev General] Create temporary user

2017-09-18 Thread Andreas Hubmer
uld you please give me feedback about this implementation? > > Is such a implementation a big influence on the performance? > > > > Thanks! > > > > Best regards > > Andreas Holzgethan > > > > Andreas Holzgethan BSc. > > > > IT Consultant >

Re: [MarkLogic Dev General] Create temporary user

2017-09-18 Thread Andreas Hubmer
, > Geert > > From: on behalf of Andreas > Hubmer > Reply-To: MarkLogic Developer Discussion > Date: Monday, September 18, 2017 at 9:07 AM > To: MarkLogic Developer Discussion > Subject: Re: [MarkLogic Dev General] Create temporary user > > Justin, > > I'll

Re: [MarkLogic Dev General] Create temporary user

2017-09-18 Thread Andreas Hubmer
sed. Any review, disclosure, copying, distribution, or use of this > e-mail communication by others is strictly prohibited. If you are not the > intended recipient, please notify us immediately by returning this message > to the sender and delete all copies. Thank you for your cooperati

Re: [MarkLogic Dev General] Create temporary user

2017-09-18 Thread Andreas Hubmer
on. How do you intend > to do authorization? > > Meaning, how do you intend to know what roles the username given in the > JWT should have within MarkLogic? Or do all authenticated users get the > same roles, or something? > > -jh- > > On Sep 18, 2017, at 15:07, Andreas Hu

Re: [MarkLogic Dev General] Create temporary user

2017-09-18 Thread Andreas Hubmer
k the token on each go so you can use the JWT's precise time > of expiration. > > -jh- > > On Sep 18, 2017, at 21:12, Andreas Hubmer > wrote: > > It is possible to add authorization information (roles) to the JWT. > Example: > { > "iss": "

[MarkLogic Dev General] Encryption: Builtin KMS Passphrase

2017-09-25 Thread Andreas Hubmer
but I haven't been able to answer these questions. Thanks, Andreas -- Andreas Hubmer Senior IT Consultant EBCONT enterprise technologies GmbH ___ General mailing list General@developer.marklogic.com Manage your subscription

[MarkLogic Dev General] REST-API: Optimistic Locking - Feature Request

2017-09-28 Thread Andreas Hubmer
PUT request. Similarly, the etag of a document should be returned with the response of a POST request, where the server-side generates the URI ( https://docs.marklogic.com/8.0/REST/POST/v1/documents@extension=[ext]). Cheers, Andreas -- Andreas Hubmer Senior IT Consultant EBCONT enterprise

Re: [MarkLogic Dev General] REST-API: Optimistic Locking - Feature Request

2017-09-28 Thread Andreas Hubmer
ot make that much difference. > > > Erik Hennum > > > > From: general-boun...@developer.marklogic.com marklogic.com> on behalf of Andreas Hubmer > Sent: Thursday, September 28, 2017 5:16:47 AM > To: MarkLogic Developer Disc

Re: [MarkLogic Dev General] REST-API: Optimistic Locking - Feature Request

2017-09-28 Thread Andreas Hubmer
is enabled: > > https://docs.marklogic.com/javadoc/client/com/marklogic/client/document/ > DocumentManager.html#exists-java.lang.String- > > > Hoping that helps, > > > Erik Hennum > > > > > From: general-boun...@dev

Re: [MarkLogic Dev General] Encryption: Builtin KMS Passphrase

2017-10-02 Thread Andreas Hubmer
Hi, Can anybody help me with my question? That would be great! Thanks, Andreas 2017-09-25 15:16 GMT+02:00 Andreas Hubmer : > Hi, > > When using the builtin KMS, I can set the passphrase > with admin:cluster-set-keystore-passphrase. > Where is this passphrase stored (securely)?

[MarkLogic Dev General] Multi-Database Architecture

2017-11-23 Thread Andreas Hubmer
n (individual indexes, ...) * deployment more complex For configuration we will use Roxy. Thanks, Andreas -- Andreas Hubmer Senior IT Consultant EBCONT enterprise technologies GmbH Millennium Tower Handelskai 94-96 A-1200 Vienna Mobile: +43 664 60651861 Fax: +43 2772 512 69-9 Email: andreas.hub...

Re: [MarkLogic Dev General] Multi-Database Architecture

2017-11-28 Thread Andreas Hubmer
clients would like to run it on-site, >rather than hosted? >- Or for the opposite: would there be any need to mix datasets from >different clients? Any kind of sharing for instance, even if just of >statistics, or some anonymous cross-validation? > > And you can pr

Re: [MarkLogic Dev General] Multi-Database Architecture

2017-11-29 Thread Andreas Hubmer
it makes most sense to use one shared db, or multiple small ones, > that really is a functional/business question primarily. I’d add though, > that I’d personally prefer built-in backup over MLCP for backups.. > > Cheers, > Geert > > From: on behalf of Andreas > Hubmer