RE: [MarkLogic Dev General] marklogic, xquery, jquery ajax

2008-09-12 Thread Justin Makeig
with the 200 status code. Justin -- Justin Makeig Product Manager Mark Logic Corporation [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eric Palmitesta Sent: Friday, September 12, 2008 10:42 AM To: General Mark Logic Developer Discussion

RE: [MarkLogic Dev General] xpath string construction

2008-10-10 Thread Justin Makeig
or the multi-purpose POST method would probably be better suited for your situation, for example DELETE /people.xqy?id=1234 or POST /people.xqy?delete=1234 DELETE, of course, is not supported out-of-the-box in HTML forms, but is possible using AJAX. Justin Justin Makeig Product

RE: [MarkLogic Dev General] Mac OS X

2008-12-30 Thread Justin Makeig
? In production? Any information will help us plan our future platform support. Thanks and as always, please let me know if you have further questions or concerns. Justin Justin Makeig Product Manager Mark Logic Corporation 999 Skyway Road Suite 200 San Carlos, CA 94070 +1 650 655 2387 Phone

[MarkLogic Dev General] Feedback on loading content in MarkLogic

2009-03-05 Thread Justin Makeig
, please contact me privately. Thanks in advance. Justin Justin Makeig Product Manager Mark Logic Corporation 999 Skyway Road Suite 200 San Carlos, CA 94070 +1 650 655 2387 Phone justin.mak...@marklogic.com mailto:justin.mak...@marklogic.com www.marklogic.com http://www.marklogic.com

[MarkLogic Dev General] RE: search:suggest questions

2009-08-24 Thread Justin Makeig
You can also wrap the constraint in parenthesis, for example: xquery version 1.0-ml; import module namespace search = http://marklogic.com/appservices/search; at /MarkLogic/appservices/search/search.xqy; let $options := options xmlns=http://marklogic.com/appservices/search; constraint

RE: [MarkLogic Dev General] Marklogic formatting of empty XHTML elements

2009-09-03 Thread Justin Makeig
collapse empty div, script, and textarea elements if they're in the XHTML namespace. Hopefully this helps. Please let me know if you have further questions or concerns. Justin Justin Makeig Product Manager Mark Logic Corporation 999 Skyway Road Suite 200 San Carlos, CA 94070 +1 650 655 2387

RE: [MarkLogic Dev General] Marklogic formatting of empty XHTML elements

2009-09-11 Thread Justin Makeig
/xhtml; head meta http-equiv=content-type content=text/html; charset=utf-8 / titleWelcome to MarkLogic Server/title ... /head ... /html ) Justin Justin Makeig Product Manager Mark Logic Corporation 999 Skyway Road Suite 200 San Carlos, CA 94070 +1 650 655 2387 Phone

[MarkLogic Dev General] RE: fields where the contents is a URL

2009-11-05 Thread Justin Makeig
as well. Hopefully this helps. Justin Justin Makeig Product Manager Mark Logic Corporation 999 Skyway Road Suite 200 San Carlos, CA 94070 +1 650 655 2387 Phone justin.mak...@marklogic.commailto:justin.mak...@marklogic.com www.marklogic.comhttp://www.marklogic.com http://www.marklogic.com/http

Re: [MarkLogic Dev General] To access two database via single HTTP server

2009-12-30 Thread Justin Makeig
these for performance reasons as well as overall maintainability of your code. Can you give some more details about your application and content? One option might be to isolate your content using collections or directories in the same database. Justin Justin Makeig Product Manager Mark Logic Corporation 999 Skyway

[MarkLogic Dev General] Which browser(s) do you use in your day-to-day MarkLogic work?

2010-01-04 Thread Justin Makeig
browser vendor and version would be very helpful. Thanks in advance and please let me know if you have questions or concerns. Justin Justin Makeig Product Manager Mark Logic Corporation 999 Skyway Road Suite 200 San Carlos, CA 94070 +1 650 655 2387 Phone justin.mak

Re: [MarkLogic Dev General] To access two database via single HTTP server

2010-01-22 Thread Justin Makeig
to execute code against another database. Others on the list and I can probably give you more relevant advice if you can provide more details about the problem you're trying to solve and how you've configured your environment. Justin Justin Makeig Product Manager Mark Logic Corporation 999 Skyway

Re: [MarkLogic Dev General] Query by Example

2010-02-15 Thread Justin Makeig
the query parsing by supplying your own cts:query element rather than a raw query string. I'm not quite sure what you mean by I considered using search:resolve but that requires my query to be a string. I can probably better guide you with some code to illustrate what you've tried. Justin Justin

Re: [MarkLogic Dev General] re:Query By Example

2010-02-15 Thread Justin Makeig
-attribute-value-query /cts:and-query /cts:element-query /cts:and-query return search:resolve($q) Justin Justin Makeig Product Manager Mark Logic Corporation 999 Skyway Road Suite 200 San Carlos, CA 94070 +1 650 655 2387 Phone justin.mak...@marklogic.commailto:justin.mak...@marklogic.com

Re: [MarkLogic Dev General] re:Query By Example

2010-02-16 Thread Justin Makeig
as cts:query := cts:and-query( (cts:element-query(xs:QName(MyElementName), cts:and-query(asdf))) ) return search:resolve(q{$q}/q/element()) Justin Makeig Product Manager Mark Logic Corporation 999 Skyway Road Suite 200 San Carlos, CA 94070 +1 650 655 2387 Phone justin.mak

Re: [MarkLogic Dev General] PDF export options

2010-03-04 Thread Justin Makeig
formatting with CSS, rather than something like FO. Longer term, I'd be interested in better understanding your rendering requirements. Justin Justin Makeig Product Manager Mark Logic Corporation 999 Skyway Road Suite 200 San Carlos, CA 94070 +1 650 655 2387 Phone justin.mak

Re: [MarkLogic Dev General] What's the best way to read the HTTP response code?

2010-03-25 Thread Justin Makeig
. Justin Justin Makeig Product Manager Mark Logic Corporation 999 Skyway Road Suite 200 San Carlos, CA 94070 +1 650 655 2387 Phone justin.mak...@marklogic.commailto:justin.mak...@marklogic.com www.marklogic.comhttp://www.marklogic.com/ http://www.marklogic.com/http://www.marklogic.com/ This e-mail

Re: [MarkLogic Dev General] RE: PassingauthenticationinformationinaURL

2010-04-18 Thread Justin Makeig
David, Which FOP processor are you using on the Java side? Does it have specific configuration that would allow you to specify a user/password for HTTP authentication? Justin Justin Makeig Product Manager Mark Logic Corporation 999 Skyway Road Suite 200 San Carlos, CA 94070 +1 650 655 2387

Re: [MarkLogic Dev General] Query Help

2010-04-26 Thread Justin Makeig
API, this function is designed solely for debugging while developing search applications and should not be used in production. Justin Justin Makeig Product Manager Mark Logic Corporation 999 Skyway Road Suite 200 San Carlos, CA 94070 +1 650 655 2387 Phone justin.mak

Re: [MarkLogic Dev General] question about search:search

2010-07-23 Thread Justin Makeig
://search.demo.marklogic.com/search?q=decade%3A1990s. Dynamic range queries is one area we will be improving the Search API in the next release, currently targeted for later this summer. In the meantime, please let me know if you have additional questions or concerns. Justin Justin Makeig

Re: [MarkLogic Dev General] MarkLogic Server 4.1-7 released

2010-07-30 Thread Justin Makeig
David, Thanks for the heads up. I see the same thing on my end. We’ll update the link and post back to the list when it’s fixed. Sorry about the inconvenience. Justin Justin Makeig Product Manager +1 650 655 2387 Phone +1 650 655 2310 Fax justin.mak...@marklogic.commailto:firstname.lastn

Re: [MarkLogic Dev General] How to generate Configuration scripts ?

2010-08-10 Thread Justin Makeig
be helpful. It’s maintained by Don Anderson, a MarkLogic consultant. Pomegranate allows you to package and deploy configuration and application code to a MarkLogic cluster. Justin Justin Makeig Senior Product Manager MarkLogic Corporation Phone +1 650 655 2387 email justin.mak

Re: [MarkLogic Dev General] xdmp:document-load - possible bug?

2010-08-16 Thread Justin Makeig
, it means that there is no content. The HTML page saying “no page” is not the content. Best /Jacob Fra: general-boun...@developer.marklogic.com [mailto:general-boun...@developer.marklogic.com] På vegne af Justin Makeig Sendt: 16. august 2010 15:28 Til: General Mark Logic

Re: [MarkLogic Dev General] Facet using cts:search() result

2010-08-24 Thread Justin Makeig
constraints and facets with their equivalent cts:query and lexicon calls. Again, welcome and please feel free to contact me with questions and/or post them to this discussion list. Justin Justin Makeig Senior Product Manager MarkLogic Corporation email justin.mak

Re: [MarkLogic Dev General] Facet using cts:search() result

2010-08-24 Thread Justin Makeig
in (1 to 10) let $rand := xdmp:random($len -1) + 1 let $d := doc descriptionThis references a dog and a cat./description color{$colors[$rand]}/color /doc return xdmp:document-insert(string(xdmp:random()),$d) Justin Makeig Senior Product Manager MarkLogic Corporation email justin.mak

Re: [MarkLogic Dev General] Facet results

2010-09-23 Thread Justin Makeig
details about your specific requirements others on the list or I might be able to provide better guidance. Justin Justin Makeig Senior Product Manager MarkLogic Corporation Phone +1 650 655 2387 email justin.mak...@marklogic.commailto:justin.mak...@marklogic.com webwww.marklogic.comhttp

Re: [MarkLogic Dev General] facet with multiple words

2010-10-14 Thread Justin Makeig
in an earlier thread http://marklogic.markmail.org/thread/gif4oqs2t4el5ftn. Please let me know if you have further questions or concerns. Justin Justin Makeig Senior Product Manager MarkLogic Corporation email justin.mak...@marklogic.commailto:justin.mak...@marklogic.com webwww.marklogic.comhttp

Re: [MarkLogic Dev General] geospatial API : searching polygons in search:search

2010-11-22 Thread Justin Makeig
in the Search Developer's Guide (section 2.5) http://developer.marklogic.com/pubs/4.2/books/search-dev-guide.pdf. Justin Justin Makeig Senior Product Manager MarkLogic Corporation Phone +1 650 655 2387 email justin.mak...@marklogic.commailto:justin.mak...@marklogic.com webwww.marklogic.comhttp

Re: [MarkLogic Dev General] Credentials Access Control

2011-01-19 Thread Justin Makeig
/security.pdf is a good place for further reading. Justin Justin Makeig Senior Product Manager MarkLogic Corporation Phone +1 650 655 2387 email justin.mak...@marklogic.commailto:justin.mak...@marklogic.com webwww.marklogic.comhttp://www.marklogic.com/ This e-mail and any accompanying

Re: [MarkLogic Dev General] xdmp-document load doesn't see my forest

2011-02-13 Thread Justin Makeig
knowing more about what you’re trying to do, I’d suggest you leave out this option and just let the Server assign documents to a forest automatically. Justin -- Justin Makeig Senior Product Manager MarkLogic Corporation On Feb 13, 2011, at 12:39 PM, Sol Lederman wrote: Hi, I'm new

Re: [MarkLogic Dev General] Reg: xcc API methods for XDBC connection

2011-03-03 Thread Justin Makeig
In my mental model XCC and XQuery are more like JDBC and SQL stored procedures than Java RPC. Your mileage may vary. Justin Justin Makeig Senior Product Manager MarkLogic Corporation Phone +1 650 655 2387 email justin.mak...@marklogic.commailto:justin.mak...@marklogic.com web

Re: [MarkLogic Dev General] Strange search:search behavior

2011-03-17 Thread Justin Makeig
Keith, In your second example, the additional-query element is not in the http://marklogic.com/appservices/search namespace. Justin On Mar 17, 2011, at 1:54 PM, Keith L. Breinholt wrote: I'm running 4.2-2 and have run into a search:search() scenario where if I create the options element

Re: [MarkLogic Dev General] near/n query with 4.1 search:search?

2011-03-21 Thread Justin Makeig
Ron, Have a look at section 2.6 of the 4.1 “Search Developer’s Guide” http://developer.marklogic.com/pubs/4.1/books/search-dev-guide.pdf. It has an example of extending the search grammar to include near-query. Justin On Mar 21, 2011, at 10:00 AM, Ron Hitchens wrote: I'm starting to get

Re: [MarkLogic Dev General] Search:Search VS CTS:Search

2011-03-28 Thread Justin Makeig
more advanced that you can’t easily express in the Search API, it includes built-in extension mechanisms to customize the behavior. Please take a look at the “Search Developer’s Guide” http://developer.marklogic.com/learn/4.2/search-dev-guide for more information. Justin Justin Makeig Senior

Re: [MarkLogic Dev General] Node selector xpath not working

2011-05-11 Thread Justin Makeig
Or you could associate the http://marklogic.com/appservices/search namespace with a prefix and use that in your options node, for example, search:options xmlns:search=http://marklogic.com/appservices/search;… Justin Justin Makeig Senior Product Manager MarkLogic Corporation Phone +1 650 655

Re: [MarkLogic Dev General] Reordering buckets

2011-05-27 Thread Justin Makeig
be theoretically possible to modify the XML project configuration in the App-Services database (under the /projects/ directory). However, I haven’t tested this myself and make sure you have backups if you try it. Justin Justin Makeig Senior Product Manager MarkLogic Corporation Phone +1 650 655 2387

Re: [MarkLogic Dev General] output PDF from MarkLogic?

2011-06-09 Thread Justin Makeig
to pass CSS and XML from MarkLogic and return PDF as a binary over HTTP. I’m swamped now, but I’ll try to post that code to GitHub in the not-too-distant future. Justin Justin Makeig Senior Product Manager MarkLogic Corporation Phone +1 650 655 2387 email justin.mak...@marklogic.com web

Re: [MarkLogic Dev General] Renaming a document

2011-06-29 Thread Justin Makeig
Thanks for the feedback. I’ve noted the request and will be tracking it. As always, the input of the community is much appreciated. Justin Justin Makeig Senior Product Manager MarkLogic Corporation justin.mak...@marklogic.com Phone: +1 650 655 2387 www.marklogic.com This e-mail and any

Re: [MarkLogic Dev General] How to access an xquery page without providing user credentials

2011-07-19 Thread Justin Makeig
User for unauthenticated users. The default is the limited nobody user. I’d encourage you to create a new user for this specific purpose with the set of specific roles that your application requires. Justin Justin Makeig Senior Product Manager MarkLogic Corporation justin.mak

Re: [MarkLogic Dev General] Possible to split one file into many on load in Information Studio?

2011-09-16 Thread Justin Makeig
collector would be useful. We’re looking at how this might shape out in the product itself. Any suggestions or additional color would be helpful. Justin Justin Makeig Senior Product Manager MarkLogic Corporation justin.mak...@marklogic.commailto:justin.mak...@marklogic.com www.marklogic.comhttp

Re: [MarkLogic Dev General] XML content and binary file needs to be joined and rendered on web page..

2011-10-26 Thread Justin Makeig
Babu, URIs uniquely identify documents in a database, similar to a primary key in a relational database table. I’m not sure about your use case, but, like Mike outlined, I’d suggest creating the user document XCCDemo/user1 and the associated image at XCCDemo/user1/image. There are various ways

Re: [MarkLogic Dev General] Using Information Studio to split uploaded files..

2012-01-13 Thread Justin Makeig
that you’re splitting on an XPath-like match expression? Text separated by line breaks? Something else? I’m interested in figuring out if and how we might make splitting easier and better integrated into the product. Justin Justin Makeig Senior Product Manager MarkLogic Corporation justin.mak

Re: [MarkLogic Dev General] Using Information Studio to split uploaded files..

2012-01-13 Thread Justin Makeig
[mailto:general-boun...@developer.marklogic.com] Namens Justin Makeig Verzonden: vrijdag 13 januari 2012 17:26 Aan: General MarkLogic Developer Discussion Onderwerp: Re: [MarkLogic Dev General] Using Information Studio to split uploaded files.. Geert, Information Studio is currently designed

Re: [MarkLogic Dev General] Using Json Extensions

2012-03-14 Thread Justin Makeig
on this list or I may be able to help more. Justin Justin Makeig Senior Product Manager MarkLogic Corporation justin.mak...@marklogic.commailto:justin.mak...@marklogic.com Phone: +1 650 655 2387 www.marklogic.comhttp://www.marklogic.com/ On Mar 14, 2012, at 2:56 PM, Jonathan Cook - FMT wrote

Re: [MarkLogic Dev General] Best Way to Learn How To Craft Geo Queres

2012-04-03 Thread Justin Makeig
Tom, If you could provide some sample code and what you’re expecting, in terms of inputs, outputs, and performance, I think we’ll be in a lot better position to help you. Justin Justin Makeig Senior Product Manager MarkLogic Corporation justin.mak...@marklogic.commailto:justin.mak

Re: [MarkLogic Dev General] MarkLogic websites offline?

2012-06-23 Thread Justin Makeig
Looks up for me. Are you still unable access these (11:11 PDT)? Justin On Jun 23, 2012, at 10:53 AM, Shannon wrote: Just me or are some of your sites down, such as community.marklogic.com and markmail.org? ___ General mailing list

Re: [MarkLogic Dev General] saxon:line-number()

2012-06-25 Thread Justin Makeig
modification. Justin Justin Makeig Director, Product Management MarkLogic Corporation justin.mak...@marklogic.commailto:justin.mak...@marklogic.com Phone: +1 650 655 2387 www.marklogic.comhttp://www.marklogic.com/ On Jun 25, 2012, at 3:11 PM, Danny Sokolsky wrote: Hi Alan, I do not thing MarkLogic

Re: [MarkLogic Dev General] xdmp:from-json() change in 5.1

2012-08-12 Thread Justin Makeig
Rob, json:object is a specialization of the map:map type that preserves the ordering of keys and allows for null values. As such, you should be able to use it with APIs that expect a map. Please let me know if that’s not the behavior you’re seeing. Justin Justin Makeig Director, Product

Re: [MarkLogic Dev General] Content Pump and Schema validation

2012-11-12 Thread Justin Makeig
or implementing a CPF (or a lower-level trigger-based) approach is probably your best bet. Justin Justin Makeig Director, Product Management MarkLogic Corporation justin.mak...@marklogic.com Phone: +1 650 655 2387 www.marklogic.com On Nov 12, 2012, at 10:24 AM, Michael Blakeley m...@blakeley.com

Re: [MarkLogic Dev General] missing icon in qconsole's explore view

2012-11-29 Thread Justin Makeig
Thanks for the report, Jakob. I’ve logged a bug, targeted for the next service release. Justin Justin Makeig Director, Product Management MarkLogic Corporation justin.mak...@marklogic.com Phone: +1 650 655 2387 www.marklogic.com On Nov 29, 2012, at 8:55 AM, Jakob Fix jakob@gmail.com

Re: [MarkLogic Dev General] Odd app server behaviour

2012-11-30 Thread Justin Makeig
Declan, Can you help me understand how the default collation “broke in Query Console”? Was the Query Console UI not able to handle that? Were the results not as expected? Any details would help to improve Query Console. Thanks. Justin Justin Makeig Director, Product Management MarkLogic

Re: [MarkLogic Dev General] Role based security in ml

2012-12-13 Thread Justin Makeig
are assigned to documents (usually at load time). Take a look at the “Document Permissions” section of the Security Guide in the docs http://docs.marklogic.com/guide/security/permissions#id_85471 to understand what’s happening under the covers. Justin Justin Makeig Director, Product Management

Re: [MarkLogic Dev General] Help - Will Marklogic support calling query with parameters

2013-01-23 Thread Justin Makeig
, such as search, you’ll be duplicating the functionality of REST and Java APIs that we’ve included in MarkLogic 6. Justin Justin Makeig Director, Product Management MarkLogic Corporation justin.mak...@marklogic.com www.marklogic.com On Jan 23, 2013, at 12:31 AM, Shibu N n.sh...@yahoo.com wrote: Hi

Re: [MarkLogic Dev General] Help - Will Marklogic support calling query with parameters

2013-01-23 Thread Justin Makeig
. The above is a simplified illustration of search, a word query constructor, and HTTP request handling. You'd probably want to do some query parsing and pagination in a typical search app. (Another plug: The Search API, REST API, and Java API do all of this for you.) Justin Justin Makeig

Re: [MarkLogic Dev General] Big Data

2013-02-18 Thread Justin Makeig
, for a basic technical background on MarkLogic, I’d start with the videos and articles on the developer web site http://developer.marklogic.com/. Justin Justin Makeig Director, Product Management MarkLogic Corporation justin.mak...@marklogic.commailto:justin.mak...@marklogic.com

Re: [MarkLogic Dev General] Getting Bad word size during restore db

2013-02-25 Thread Justin Makeig
for the data? And then the all these steps for production. ildus We’re actively working on making these steps simpler and more automated (and automatable, if that’s a word). Your feedback is greatly appreciated. Justin Makeig Justin Makeig Director, Product Management MarkLogic Corporation

Re: [MarkLogic Dev General] Redirect from rewriter?

2013-02-26 Thread Justin Makeig
This isn’t possible from the rewriter. As you’ve suggested, you’ll have to create a main module that does the redirection and rewrite to that. Justin Justin Makeig Director, Product Management MarkLogic Corporation justin.mak...@marklogic.com www.marklogic.com On Feb 26, 2013, at 2:50 PM

Re: [MarkLogic Dev General] MarkLogic Content Pump not working with Million Files

2013-04-10 Thread Justin Makeig
Can you please provide the command line directive that you used (sans password, of course)? Justin Justin Makeig Director, Product Management MarkLogic Corporation justin.mak...@marklogic.commailto:justin.mak...@marklogic.com www.marklogic.comhttp://www.marklogic.com/ On Apr 10, 2013, at 4

Re: [MarkLogic Dev General] Mlcp Can it load directly from mq ?

2013-04-19 Thread Justin Makeig
There is no public interface today in mlcp to load data from an InputStream, for example. We’re looking at how we can make the input and output interfaces more extensible in a future release. While not a great answer, in the meantime, mlcp is open source (Apache 2.0). I’ve seen several

Re: [MarkLogic Dev General] Record Loader - not able to load binary files (pdf, images)

2013-04-19 Thread Justin Makeig
. Justin Justin Makeig Director, Product Management MarkLogic Corporation justin.mak...@marklogic.commailto:justin.mak...@marklogic.com www.marklogic.comhttp://www.marklogic.com/ On Apr 19, 2013, at 11:11 AM, Mohanraj Chozhan mohanraj_choz...@infosys.commailto:mohanraj_choz...@infosys.com wrote

Re: [MarkLogic Dev General] mlcp option for tranforming documents during export?

2013-04-26 Thread Justin Makeig
1 document in-1 document out the right granularity? Any details would be much appreciated. Justin Justin Makeig Director, Product Management MarkLogic Corporation justin.mak...@marklogic.commailto:justin.mak...@marklogic.com www.marklogic.comhttp://www.marklogic.com/ On Apr 26, 2013, at 1:10

[MarkLogic Dev General] Query Console key bindings

2013-06-25 Thread Justin Makeig
combinations that you use most frequently? (All of the key combinations are documented at http://docs.marklogic.com/guide/qconsole/shortcuts.) Feedback on- or off-list is appreciated. Justin Justin Makeig Director, Product Management MarkLogic Corporation justin.mak...@marklogic.com

Re: [MarkLogic Dev General] searchAPI - authentication

2013-07-17 Thread Justin Makeig
. Check your root setting in the app server config. Justin Justin Makeig Director, Product Management MarkLogic Corporation www.marklogic.comhttp://www.marklogic.com/ On Jul 16, 2013, at 11:49 PM, sini narayanan sini.isonl...@gmail.commailto:sini.isonl...@gmail.com wrote: Hi All, I have

Re: [MarkLogic Dev General] Fast (indexed) query for getting unique absolute Xpaths from each file

2013-07-26 Thread Justin Makeig
be interested in knowing what your end goal is. Are you trying to summarize the document structures in your database? Look for outliers? Do some sort of validation? Something else? The specific use case will likely influence the particular solution. Any details would be much appreciated. Justin Justin

Re: [MarkLogic Dev General] mlcp error

2013-11-06 Thread Justin Makeig
Jakob, Sorry about the unresponsiveness. That looks like you might have uncovered a bug. I’ll have an Engineer on our end try to reproduce this and contact you offline for more details. I’ll follow up with the list with the eventual outcome. Thanks for your feedback. Justin Justin Makeig

Re: [MarkLogic Dev General] Stemming constraint

2014-01-17 Thread Justin Makeig
reindexing if you go down the custom dictionary path. Justin Justin Makeig Director, Product Management MarkLogic Corporation justin.mak...@marklogic.commailto:justin.mak...@marklogic.com www.marklogic.comhttp://www.marklogic.com/ On Jan 16, 2014, at 11:38 PM, diwakar.narayanasw

Re: [MarkLogic Dev General] Post-read trigger?

2014-02-04 Thread Justin Makeig
? The more general use case for before, after, and around advice is an interesting one. Justin Justin Makeig Director, Product Management MarkLogic Corporation justin.mak...@marklogic.com www.marklogic.com On Feb 4, 2014, at 11:13 AM, Michael Blakeley m...@blakeley.com wrote: I'm not sure how

Re: [MarkLogic Dev General] Is there a performance penaly for using long directory and document uris?

2014-04-04 Thread Justin Makeig
Theoretically, I guess. But I'd expect that would be infinitesimal compared to other things that your code is doing. The usability of URI structures for your developers is what I'd suggest optimizing on. (And don't use directory fragments if you're worried about performance.) Justin Justin

Re: [MarkLogic Dev General] YAML support

2014-05-06 Thread Justin Makeig
___ General mailing list General@developer.marklogic.com http://developer.marklogic.com/mailman/listinfo/general Justin Makeig Director, Product Management MarkLogic Corporation justin.mak...@marklogic.com www.marklogic.com smime.p7s Description: S/MIME cryptographic signature

Re: [MarkLogic Dev General] MLCP issue

2014-06-06 Thread Justin Makeig
Can you show the mlcp command line arguments that you used? The version of mlcp, MarkLogic, and Java would also help triangulate the problem. Justin Justin Makeig Director, Product Management MarkLogic Corporation justin.mak...@marklogic.com www.marklogic.com On Jun 6, 2014, at 9:23 AM

Re: [MarkLogic Dev General] Guides on database design for multi-tenancy?

2014-07-07 Thread Justin Makeig
/guide/admin/security#chapter. Justin Justin Makeig Director, Product Management MarkLogic Corporation justin.mak...@marklogic.com www.marklogic.com On Jul 7, 2014, at 10:14 AM, Casey Jordan casey.jor...@jorsek.com wrote: Hi all, I am checking out Mark Logic for the first time and I

Re: [MarkLogic Dev General] Custom serializer for WebDAV or other Services

2014-07-08 Thread Justin Makeig
No, not for WebDAV. With XQuery or XDBC you have full control. What, in particular, are you trying to customize? Justin Justin Makeig Director, Product Management MarkLogic Corporation justin.mak...@marklogic.com www.marklogic.com On Jul 8, 2014, at 1:08 PM, Casey Jordan casey.jor

Re: [MarkLogic Dev General] Custom serializer for WebDAV or other Services

2014-07-08 Thread Justin Makeig
That should read with HTTP or XDBC [app servers] you have full control. And that control comes from running custom XQuery. Justin On Jul 8, 2014, at 1:11 PM, Justin Makeig justin.mak...@marklogic.com wrote: No, not for WebDAV. With XQuery or XDBC you have full control. What, in particular

Re: [MarkLogic Dev General] Custom serializer for WebDAV or other Services

2014-07-08 Thread Justin Makeig
depending on where content is being served from. For WebDAV and REST I don't see an easy way to do this. Would this mean that I would need to implement my own WebDAV client, so I could inject this logic? On Tue, Jul 8, 2014 at 4:11 PM, Justin Makeig justin.mak...@marklogic.com wrote

Re: [MarkLogic Dev General] WebDAV app service code available or other implementation for WebDAV to MarkLogic?

2014-07-09 Thread Justin Makeig
the ones that are built into MarkLogic http://docs.marklogic.com/guide/rest-dev/intro#chapter. Justin Justin Makeig Director, Product Management MarkLogic Corporation justin.mak...@marklogic.com www.marklogic.com On Jul 9, 2014, at 9:24 AM, Casey Jordan casey.jor...@jorsek.com wrote

Re: [MarkLogic Dev General] Number of fragments per document

2014-09-04 Thread Justin Makeig
://developer.marklogic.com/blog/fragmented-thoughts for more information on fragments. Justin -- Justin Makeig Director, Product Management MarkLogic On Sep 4, 2014, at 3:47 PM, Danny Sinang d.sin...@gmail.com wrote: Hi, I noticed there are more fragments than documents in my ML databases which

Re: [MarkLogic Dev General] Use different directory for full text search

2014-10-02 Thread Justin Makeig
one document for changes. Going in this direction, of course, will require a one-time bulk transformation. Justin -- Justin Makeig Director, Product Management MarkLogic jmak...@marklogic.com On Oct 2, 2014, at 3:11 PM, Danny Sinang d.sin...@gmail.com wrote: Hi, We have article

Re: [MarkLogic Dev General] How to optimize the REST API Bulk Ingestion Performance?

2014-10-14 Thread Justin Makeig
The bulk API does not spawn tasks in the Server. It allows you to send groups of documents together in a single request. (The implementation is actually HTTP multipart.) An E-node can, of course, handle multiple simultaneous requests, bulk or not. Why spawn in the Server? Without knowing much

Re: [MarkLogic Dev General] What's a best approach to search unstructured docs for numbers Greater Than N?

2014-10-28 Thread Justin Makeig
Try creating a path range index on a reasonably expansive path, e.g. /doc/(prices|cost)/*. Then you can query like any other range index. You can use cts:valid-index-path(/doc/(prices|cost)/*, false()) to validate that your path can be used in a range index. Justin On Oct 28, 2014, at 4:15

Re: [MarkLogic Dev General] Hadoop MarkLogic data migration

2014-11-12 Thread Justin Makeig
can describe they type, format, and volume of data we can probably better target a specific solution. Justin -- Justin Makeig Director, Product Management MarkLogic justin.mak...@marklogic.com On Nov 11, 2014, at 8:53 PM, abhishek.srivas...@cognizant.com wrote: Hi All, I want to bring

Re: [MarkLogic Dev General] Searching Standalone Properties Documents

2015-01-19 Thread Justin Makeig
Can you say a little more about what you're trying to accomplish? While it's possible to work with stand-alone properties (e.g. http://docs.marklogic.com/cts:properties-query), it's not a well trodden path. You'd be much better off if you can reformulate your implementation using tried and

Re: [MarkLogic Dev General] Finding Top 10 words and collections or directories searching in java

2015-02-13 Thread Justin Makeig
() or the related lexicon functions to get distinct values and their frequencies. If you can provide some more details on what your data and queries look like, others may be able to help more. Justin -- Justin Makeig Director, Product Management MarkLogic jmak...@marklogic.com On Feb 13, 2015

Re: [MarkLogic Dev General] function index in MarkLogic?

2015-01-08 Thread Justin Makeig
As Geert indicates, there is no exactly comparable functionality in MarkLogic today. You can think of the document—structure and values—as the API to the indexes. Thus, if you want to index something it needs to be (mostly) explicit in the document itself. (Word stemming is a counter example of

Re: [MarkLogic Dev General] Error while creating MarkLogic Forest with HDFS as data directory

2015-03-13 Thread Justin Makeig
Which version of MarkLogic and which vendor and version of Hadoop are you using? Justin -- Justin Makeig Director, Product Management MarkLogic On Mar 13, 2015, at 7:48 AM, Sudheer Yalaverthi sudheer.yalaver...@db.com wrote: Hi, I have been trying a MarkLogic tiered storage POC

Re: [MarkLogic Dev General] fn:replace Query

2015-03-11 Thread Justin Makeig
You need to escape the +. That's a special character in regular expressions, meaning at least one. Justin On Mar 11, 2015, at 2:25 AM, Kapoor, Pragya pkapo...@innodata.com wrote: Hi, I am running the below query fn:replace(fn:concat('test','-',fn:current-dateTime()),'+','@') This

Re: [MarkLogic Dev General] question about xdmp:encoding-language-detect

2015-03-27 Thread Justin Makeig
identification. Justin -- Justin Makeig Director, Product Management MarkLogic justin.mak...@marklogic.com +1 (650) 655-2387 On Mar 27, 2015, at 8:44 AM, Jakob Fix jakob@gmail.com wrote: Thanks Mary for your quick reply. It's an explanation that I understand, but this doesn't resolve my initial

Re: [MarkLogic Dev General] ML8 Json

2015-03-23 Thread Justin Makeig
-node, and number-node. (JSON strings share text node types with their XML brethren.) In order to get the serialized string you should use xdmp:quote, as you suggest. Justin -- Justin Makeig Director, Product Management MarkLogic jmak...@marklogic.com On Mar 23, 2015, at 2:45 PM, Paul Williams

Re: [MarkLogic Dev General] JSON with namespace (XML to JSON - JSON to XML)

2015-05-06 Thread Justin Makeig
No, for better or worse, JSON doesn't have the concept of namespaces as part of the data model like XML. You could capture the XML namespace as a property of the JSON document during transformation or use a naming convention for property names, e.g. person$firstName. For namespaces that cover

Re: [MarkLogic Dev General] path range index

2015-08-18 Thread Justin Makeig
Take a look at the example in the cts:values documentation http://docs.marklogic.com/cts:values. (Spoiler: You'll need a cts:path-reference http://docs.marklogic.com/cts:path-reference.) Justin On Aug 18, 2015, at 10:27 AM, Paul M pjm...@yahoo.com wrote: Suppose I want all the values for

Re: [MarkLogic Dev General] Failure to enforce occurrence indicators in function signature

2015-08-21 Thread Justin Makeig
You're likely running into function mapping http://docs.marklogic.com/guide/xquery/enhanced#id_55459. Justin On Aug 21, 2015, at 9:44 AM, Hasegawa, Margarete margarete.haseg...@ptsem.edu wrote: Hi, Has anyone experienced an issue with MarkLogic failing to enforce occurrence

Re: [MarkLogic Dev General] Not ask for credentials on subsequent HTTP requests

2015-07-30 Thread Justin Makeig
That's the job of the client with HTTP auth. Which client are you using? What does your XHR request look like? Is there CORS involved? HTTPS? A password manager? Justin On Jul 30, 2015, at 10:00 AM, Danny Sinang d.sin...@gmail.com wrote: I have an ML app on port 7600 which prompts me for

Re: [MarkLogic Dev General] mlcp ability to skip corrupt zip files?

2015-07-22 Thread Justin Makeig
Can you please contact MarkLogic Support supp...@marklogic.commailto:supp...@marklogic.com on this? There might be a bug here. I'll be sure to update this list with what we find. Thanks. Justin On Jul 21, 2015, at 9:58 AM, Morales-Martin, Kristina

Re: [MarkLogic Dev General] Optimizing "order by" with path/field range index

2015-10-30 Thread Justin Makeig
You can be explicit with cts:index-order() . Justin > On Oct 30, 2015, at 12:29 PM, Bob H. wrote: > > All, > > We know that ML will optimize an "order by" clause if it can with a range > index. I've done this with

Re: [MarkLogic Dev General] Search in first paragraph or portion of the documents

2015-08-27 Thread Justin Makeig
of how to handle big doc? Thanks, Yun From: general-boun...@developer.marklogic.com [mailto:general-boun...@developer.marklogic.com] On Behalf Of Justin Makeig Sent: Thursday, August 27, 2015 2:02 PM To: MarkLogic Developer Discussion Subject: Re: [MarkLogic Dev General] Search

Re: [MarkLogic Dev General] Search in first paragraph or portion of the documents

2015-08-27 Thread Justin Makeig
Wrap the first portion in a new element (assuming you're talking about XML here). The you can use something like cts:element-query http://docs.marklogic.com/cts:element-query or cts:element-word-query http://docs.marklogic.com/cts:element-word-query to restrict queries to just that element.

Re: [MarkLogic Dev General] global variable usage

2015-09-01 Thread Justin Makeig
Or use the database. You have transactional global state just below your code. If you need to isolate application artifacts from data in a database, you can use document permissions and amp the function that reads/modifies the state, such that normal application code wouldn't ever see it.

Re: [MarkLogic Dev General] Query on Fragmentation

2015-09-16 Thread Justin Makeig
The general rule of fragmentation is "Don't use fragmentation". It is a very sharp tool for a very specific use case, where you have large logical sections, like chapters, under a parent document. What we've found generally is that taking the time to model and split aggregated "fragments" into

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

2015-10-02 Thread Justin Makeig
A single statement runs at one timestamp. Thus your code sees the database at time t0. MarkLogic doesn't actually execute the database updates as they appear in your code. Instead, it gathers them up and executes them atomically at the end, advancing the timestamp if everything works. Take a

Re: [MarkLogic Dev General] moving HDFS data to ML

2015-09-21 Thread Justin Makeig
Where is your bottleneck? You're going to need to provide more information about the specific problem you're seeing and what your infrastructure looks like. How are the 40M files packaged? HDFS generally does better with large aggregate files (like tables), while MarkLogic does better with

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

2015-10-05 Thread Justin Makeig
Yes, my wetware parser missed that. I've filed a bug on your behalf to cover this in the docs. Thanks for your help. Justin On Oct 5, 2015, at 12:37 AM, Andreas Hubmer > wrote: Thanks for your replies. It would be great if the

Re: [MarkLogic Dev General] Facets on properties in ML4.2

2016-01-07 Thread Justin Makeig
s/organically/original/ Sigh. Auto-correct. > On Jan 7, 2016, at 9:50 AM, Justin Makeig <justin.mak...@marklogic.com> wrote: > > Are you really running MarkLogic 4.2? This is ancient. You should plan to > upgrade as soon as feasible. It will be very difficult for the communi

  1   2   >