RE: [MarkLogic Dev General] Bad Codepoint error

2008-08-18 Thread Justin Makeig
While not related to the character encoding issue, you should be careful declaring content as application/xml+xhtml in the browser-based web (as opposed to the web service-based web). Internet Explorer (even versions 7 and 8) does not know how to handle content served as application/xml+xhtml. I

RE: [MarkLogic Dev General] MarkLogic, SharePoint, and Invision Xpress

2008-09-05 Thread Justin Makeig
, please post them to this list or contact me directly. Justin Makeig Justin Makeig Product Manager Mark Logic Corporation 999 Skyway Road Suite 200 San Carlos, CA 94070 [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> www.marklogic.com <http://www.marklogic.com/> This e-

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

2008-09-12 Thread Justin Makeig
ou should stick 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

RE: [MarkLogic Dev General] XQSync error: UTF-8 encoding is required:System property file

2008-09-25 Thread Justin Makeig
Mike, It looks like your default file.encoding system property is set to Cp1252, not UTF-8 as XQSync expects. You can override this with the -Dfile.encoding parameter when you run XQSync: java -Dfile.encoding=UTF-8 -cp "xqsync.jar;xcc.jar;xstream.jar;xpp3.jar" com.marklogic.ps.xqsync.XQSync Ju

RE: [MarkLogic Dev General] xpath string construction

2008-10-10 Thread Justin Makeig
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
t? 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

[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.mark

[MarkLogic Dev General] RE: Passing parameters to .xqy files

2009-04-16 Thread Justin Makeig
equest-header to access the query parameters and HTTP headers respectively. You can find out more information about functions available for processing HTTP requests and responses in our developer documentation <http://developer.marklogic.com/pubs/4.0/apidocs/AppServerBuiltins.html>. Ju

[MarkLogic Dev General] MarkLogic Server 4.1 and MarkLogic Application Services 1.0 release

2009-06-25 Thread Justin Makeig
ial license can be found in the product documentation<http://developer.marklogic.com/pubs/4.1/books/relnotes.pdf>. Thank you for your continued participation in the MarkLogic developer community. Please let me know if you have any questions or concerns. Justin Justin Makeig Product

RE: [MarkLogic Dev General] Facet in Application builder to search latest version and all versions

2009-07-09 Thread Justin Makeig
ys, please let me know if you have any other questions. 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.m

RE: [MarkLogic Dev General] cts:highlight issues when combining keyword and constaints

2009-08-05 Thread Justin Makeig
Oscars sample application. I'd also like to understand where the Search API's snippetting function fell short for your requirements. We're always looking for ways to improve it. Any insight would be much appreciated. Justin Justin Makeig Product Manager Mark Logic Corporation

RE: [MarkLogic Dev General] RESTful put

2009-08-05 Thread Justin Makeig
/remote_location.xml in the database attached to the WebDAV server. 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.co

[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 := http://marklogic.com/appservices/search";>

RE: [MarkLogic Dev General] questions about lib-search

2009-08-26 Thread Justin Makeig
MarkLogic Server. You can find more information in the “Search Developer’s Guide” <http://developer.marklogic.com/pubs/4.1/books/search-dev-guide.pdf>. Please let me know if you have further questions or concerns. Justin Justin Makeig Product Manager Mark Logic Corporation 999 Skywa

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

2009-09-03 Thread Justin Makeig
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 Phone justin.mak...@marklogic.com<mailto:justin.mak...@m

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

2009-09-11 Thread Justin Makeig
;, http://www.w3.org/1999/xhtml";> Welcome to MarkLogic Server ... ... ) 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.

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

2009-11-05 Thread Justin Makeig
ildcards 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.com<mailto:justin.mak...@marklogic.com> www.marklogic.com<http://www.marklogic.com> &l

Re: [MarkLogic Dev General] RE: To convert xpath query inlib-searchquery

2009-12-12 Thread Justin Makeig
tact me directly. 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/> <http://www.marklogic

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

2009-12-30 Thread Justin Makeig
ay from 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 Logi

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

2010-01-04 Thread Justin Makeig
y feedback off-list about 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 ju

RE: [MarkLogic Dev General] question about cts:search

2010-01-20 Thread Justin Makeig
ld not necessarily be the same as the URI of the document (node). I’d recommend xdmp:node-uri <http://developer.marklogic.com/pubs/4.1/apidocs/Extension.html#xdmp:node-uri>. Justin Justin Makeig Product Manager Mark Logic Corporation 999 Skyway Road Suite 200 San Carlos, CA 94070 +1 650 65

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

2010-01-22 Thread Justin Makeig
escape hatch 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 M

Re: [MarkLogic Dev General] Query by Example

2010-02-15 Thread Justin Makeig
s 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'v

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

2010-02-15 Thread Justin Makeig
uot;; let $q := http://marklogic.com/cts";> MyElementName MyElementName MyAttributeName text_to_match return search:resolve($q) Justin Justin Makeig Product Manager Mark Logic Corporation 999 Skyway Road Suite 200 San Carlos, CA 94070 +

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

2010-02-16 Thread Justin Makeig
/MarkLogic/appservices/search/search.xqy"; let $q as cts:query := cts:and-query( (cts:element-query(xs:QName("MyElementName"), cts:and-query("asdf"))) ) return search:resolve({$q}/element()) Justin Makeig Product Manager Mark Logic Corporation 999 Skyway Roa

Re: [MarkLogic Dev General] Building the Oscars Sample Application

2010-02-26 Thread Justin Makeig
EC2 that might be of interest as well <http://developer.marklogic.com/cloudcomputing/>. 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

Re: [MarkLogic Dev General] PDF export options

2010-03-04 Thread Justin Makeig
ility to specify 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

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

2010-03-25 Thread Justin Makeig
data, the second is the actual payload. 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/> <http:/

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
Search 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...@marklog

Re: [MarkLogic Dev General] Search API collection constraint

2010-06-11 Thread Justin Makeig
" collections on your documents that could be tied to Search API constraints. In the longer-term I've logged an RFE (1565) for this request. Any additional use cases or detail would be appreciated. Thanks and, as always, please let me know if you have additional questions or concerns. Have a

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

2010-07-23 Thread Justin Makeig
pplication Builder app <http://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

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.com<mailto:firstname.la

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

2010-08-10 Thread Justin Makeig
; that might 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 just

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

2010-08-16 Thread Justin Makeig
a serialized HTTP response. Justin Justin Makeig Senior Product Manager MarkLogic Corporation Phone +1 650 655 2387 email justin.mak...@marklogic.com<mailto:justin.mak...@marklogic.com> webwww.marklogic.com<http://www.marklogic.com/> This e-mail and any accompanying att

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

2010-08-16 Thread Justin Makeig
gt; > Anyway, if a webserver answers 404, 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.ma

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

2010-08-24 Thread Justin Makeig
ch API 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...@marklog

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

2010-08-24 Thread Justin Makeig
ribution, 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 cooperation. On Aug 24, 2010, at 1:25 PM, Jonna Marry wrote: H

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.com<mailto:justin.mak...@marklogic.com> webwww.marklog

Re: [MarkLogic Dev General] facet with multiple words

2010-10-14 Thread Justin Makeig
as well as the Search API 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.com<

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

2010-11-22 Thread Justin Makeig
n 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.com<mailto:justin.mak...@marklogic.com> we

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.com<mailto:justin.mak...@marklogic.com> www.marklogic.com<http://www.marklogic.com/> On

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 instances

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

2013-04-19 Thread Justin Makeig
ump>. Justin Justin Makeig Director, Product Management MarkLogic Corporation justin.mak...@marklogic.com<mailto:justin.mak...@marklogic.com> www.marklogic.com<http://www.marklogic.com/> On Apr 19, 2013, at 11:11 AM, Mohanraj Chozhan mailto:mohanraj_choz...@infosys.com>> wro

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.com<mailto:justin.mak...@marklogic.com> www.marklogic.com<http://www.marklogic.com/> On Apr

[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...@marklog

Re: [MarkLogic Dev General] searchAPI - authentication

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

Re: [MarkLogic Dev General] Return 0 Count Facet Rows

2013-07-18 Thread Justin Makeig
Are you asking about the facets (e.g. Color) or the facet _values_ themselves (Red, Green, Blue, etc.)? Danny’s answer was geared towards the facets. If you want to get zeros for the facet values you’re going to have to run a second unconstrained query and do some set intersection to find the va

Re: [MarkLogic Dev General] json:object

2013-07-22 Thread Justin Makeig
324>. Justin Justin Makeig Director, Product Management MarkLogic Corporation justin.mak...@marklogic.com<mailto:justin.mak...@marklogic.com> www.marklogic.com<http://www.marklogic.com/> On Jul 22, 2013, at 12:22 PM, Steve Spigarelli mailto:steve.spigare...@gmail.com>> wr

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

2013-07-26 Thread Justin Makeig
ted. Justin Justin Makeig Director, Product Management MarkLogic Corporation justin.mak...@marklogic.com<mailto:justin.mak...@marklogic.com> www.marklogic.com<http://www.marklogic.com/> On Jul 26, 2013, at 2:52 AM, "Vaitkus, Arunas (LNG-LON)" mailto:arunas.vait...@lexisnex

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] Fining all elements with a wild carded name

2014-01-08 Thread Justin Makeig
Rachel, There’s currently no way to resolve such a query out of MarkLogic’s indexes. XPath can describe such queries //*[matches(local-name(.), "foo"] However, that won’t scale for a large database because that XPath will require reading the documents themselves, rather than an index, like you’

Re: [MarkLogic Dev General] Stemming constraint

2014-01-17 Thread Justin Makeig
in the docs about reindexing if you go down the custom dictionary path. Justin Justin Makeig Director, Product Management MarkLogic Corporation justin.mak...@marklogic.com<mailto:justin.mak...@marklogic.com> www.marklogic.com<http://www.marklogic.com/> On J

Re: [MarkLogic Dev General] Want to schedule mlcp command

2014-01-30 Thread Justin Makeig
Nagaraj, mlcp is a shell wrapper around a Java application. Hooking up to cron should be no problem. Can you show us your mlcp invocation script and your crontab entry? Also, which OS and version of mlcp are you using? Justin Justin Makeig Director, Product Management MarkLogic Corporation

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

2014-02-04 Thread Justin Makeig
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 wrote: > I'm not sure how closely

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 performanc

Re: [MarkLogic Dev General] YAML support

2014-05-06 Thread Justin Makeig
t; 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

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
de for more details <http://docs.marklogic.com/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 wrote: > Hi all, > > I am checking out Mark Logic f

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 wrote: > Is th

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 wrote: > No, not for WebDAV. With XQuery or XDBC you have full control. What, in > particular, a

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

2014-07-08 Thread Justin Makeig
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 > wrote:

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

2014-07-09 Thread Justin Makeig
or extend 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 wrote: > I

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

2014-09-04 Thread Justin Makeig
<http://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 wrote: > Hi, > > I noticed there are more fragments than documents in my ML datab

Re: [MarkLogic Dev General] Can MLCP load a set of files as one transaction?

2014-09-19 Thread Justin Makeig
>From the docs >: “Time vs. Space: Configuring Batch and Transaction Size You can tune the document insertion throughput and memory requirements of your job by configuring the batch size and transaction size of the job. •

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

2014-10-02 Thread Justin Makeig
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 wrote: > Hi, > > We have article documents, each of which has a corresponding descriptor > document that contains key e

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 m

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 mean many things. If you 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: &g

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 o

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. ), it's not a well trodden path. You'd be much better off if you can reformulate your implementation using tried and tr

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

2015-02-13 Thread Justin Makeig
imensions. Use cts:values() 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...@marklog

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 wrote: > > Hi, > > I am running the below query > > fn:replace(fn:concat('test','-',fn:current-dateTime()),'+','@') > > This query is gi

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 > wrote: > > > Hi, > > I have been trying a MarkLogic tiered storage POC

Re: [MarkLogic Dev General] ML8 Json

2015-03-23 Thread Justin Makeig
e, boolean-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,

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

2015-03-27 Thread Justin Makeig
out-of-the-box 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 wrote: > > Thanks Mary for your quick reply. It's an explanation that I > understand, but this doesn

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] mlcp ability to skip corrupt zip files?

2015-07-22 Thread Justin Makeig
Can you please contact MarkLogic Support mailto: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 mailto:kmorales-mar...@cas.org>> wrote: Dear all, We are usi

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 wrote: > > I have an ML app on port 7600 which prompts me for credentials, whic

Re: [MarkLogic Dev General] path range index

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

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 . Justin > On Aug 21, 2015, at 9:44 AM, Hasegawa, Margarete > wrote: > > Hi, > > Has anyone experienced an issue with MarkLogic failing to enforce occurrence > indicators in function call

Re: [MarkLogic Dev General] Credentials & Access Control

2011-01-19 Thread Justin Makeig
uot;http://examply.com/myapp/add-response";, "execute")) then Add… else Login to respond. } The security documentation <http://developer.marklogic.com/pubs/4.2/books/security.pdf> is a good place for further reading. Justin Justin Makeig Senior Product Manager Ma

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

2011-02-13 Thread Justin Makeig
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 ne

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.com<mailto:justin.mak...@marklogic.com&g

Re: [MarkLogic Dev General] marklogic files on a mac

2011-03-06 Thread Justin Makeig
The Server is in ~/Library/MarkLogic and the user data is in ~/Library/Application Support/MarkLogic, where ~ is your home directory. Justin On Mar 6, 2011, at 9:05 AM, Jakob Fix wrote: > Hi, > > well I know I can install MarkLogic on a mac because I did. But right > now I'm looking for the

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 element textuall

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” . 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

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

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, http://marklogic.com/appservices/search";>… Justin Justin Makeig Senior Product Manager MarkLogic Corporation Phone +1 650 655 2387 email ju

Re: [MarkLogic Dev General] Reordering buckets

2011-05-27 Thread Justin Makeig
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
that allowed me 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...@markl

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...@marklogic.com

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.com<mailto:justin.mak...@marklogic.com> www.marklogic.co

Re: [MarkLogic Dev General] Deployment without ports question?

2011-09-18 Thread Justin Makeig
Betty, As Jason indicated, you need to listen on some port to handle external requests. For example, by default, browsers ask for port 80. Some organizations have firewall rules that prevent external requests on “non-standard” ports. Is this what you’re bumping into? You can run a MarkLogic HTT

Re: [MarkLogic Dev General] Deployment without ports question?

2011-09-18 Thread Justin Makeig
Just to clarify: you can run a reverse proxy and MarkLogic on the same host. This is the easiest set-up for development. However, in a production environment you’d probably want to separate the proxy/cache and MarkLogic onto separate machines for performance and availability. Justin On Sep 18

Re: [MarkLogic Dev General] Loading large sets of small files

2011-09-19 Thread Justin Makeig
segments, and loop over the each segment in parallel. This is the technique that Information Studio uses to walk a filesystem, for example. I’d be curious if this technique could apply efficiently to something like S3 as well. Thanks for the info. Justin Justin Makeig Senior Product Manager

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 y

Re: [MarkLogic Dev General] About "Multiple constraints with same constraint name, different namespaces"..

2011-11-10 Thread Justin Makeig
Geert, This is something we’re looking at. Thanks for the heads-up. Feedback is always appreciated. Justin Justin Makeig Senior Product Manager MarkLogic Corporation justin.mak...@marklogic.com www.marklogic.com On Nov 10, 2011, at 12:56 PM, Geert Josten wrote: > Hi, > > S

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

2012-01-13 Thread Justin Makeig
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

  1   2   >