Re: [MarkLogic Dev General] digest vs digestbasic

2010-03-25 Thread Sam Neth
This is almost but not precisely accurate. Prior to 4.1-2, the XDBC server could understand only basic authentication, so XCC clients prior to 4.1-2 pre-emptively sent basic authentication. Newer clients will make a request first, and respond appropriately to a challenge from the server for th

Re: [MarkLogic Dev General] MLUC '10 BOF Topic survey (REMINDER)

2010-03-25 Thread Eric Bloch
Just a reminder that the survey closes this evening. If you haven't had a chance yet to vote, please take a moment and let your voice be heard. Best, Eric On Mar 23, 2010, at 3:48 PM, Eric Bloch wrote: > Hey Folks, > > I've collected a handful of our suggestions and would love to gauge > r

RE: [MarkLogic Dev General] RE: search:search options constraints

2010-03-25 Thread Steiner, David J. (LNG-DAY)
Right, that's actually what I'm looking for - how to do what I want using the search API, not XPath. From: general-boun...@developer.marklogic.com [mailto:general-boun...@developer.marklogic.com] On Behalf Of Stewart Shelline Sent: Thursday, March 25, 2010 4:33 PM To: General Mark Logic Develop

Re: [MarkLogic Dev General] RE: Application Builder help

2010-03-25 Thread Aaron Stranahan
You got it, that was exactly the issue! Thank you very much, I likely would not have figured that out. Thanks! On Mar 25, 2010, at 1:58 PM, Danny Sokolsky wrote: What user are you accessing your application as? How did you load the content? My guess is that you loaded the content without

[MarkLogic Dev General] RE: Unstemmed word searches not enabled

2010-03-25 Thread Danny Sokolsky
Hi Stewart, I think you need word searches enabled in your database in order to do unstemmed searches in a cts:search (or using search:search). You should be able to do unstemmed searches using cts:contains though. Word searches will index the word exactly as it is in the document. -Danny Fr

Re: [MarkLogic Dev General] digest vs digestbasic

2010-03-25 Thread Andrew Welch
The difference is "digestbasic" tries digest first, then falls back to basic... On 25 March 2010 20:48, Paul M wrote: > I created an XCC server. The authentication was digest. I attempted to use > XCC uri with default password. It failed. I changed the authentication to > digestbasic, XCC uri w

RE: [MarkLogic Dev General] digest vs digestbasic

2010-03-25 Thread Danny Sokolsky
What version of XCC and what version of MarkLogic Server are you running? I think they both need to be 4.1-2 or better to use digest authentication on XCC. -Danny From: general-boun...@developer.marklogic.com [mailto:general-boun...@developer.marklogic.com] On Behalf Of Paul M Sent: Thursday,

[MarkLogic Dev General] digest vs digestbasic

2010-03-25 Thread Paul M
I created an XCC server. The authentication was digest. I attempted to use XCC uri with default password. It failed. I changed the authentication to digestbasic, XCC uri with default password succeeded. Difference between the two? ___ General

[MarkLogic Dev General] Unstemmed word searches not enabled

2010-03-25 Thread Stewart Shelline
I'm getting an "Unstemmed word searches not enabled" error when using the unstemmed of search:search. In my database settings, I have stemmed searches set to advanced. Are there other settings that need to be configured? NOTICE: This email message is for the sole use of the intended recipient

[MarkLogic Dev General] RE: search:search options constraints

2010-03-25 Thread Stewart Shelline
Another way to do this is in the element of search:search. You can use it to build complex queries using any of the cts:query functions-assuming you have the appropriate indexes set up. From: general-boun...@developer.marklogic.com [mailto:general-boun...@developer.marklogic.com] On Behalf Of

[MarkLogic Dev General] RE: search:search options constraints

2010-03-25 Thread Keith L. Breinholt
// p[starts-with(ref:anchor/@id, "para_")]/text[fn:contains( "sometext", .)] Keith L. Breinholt breinhol...@ldschurch.org From: general-boun...@developer.marklogic.com [mailto:general-boun...@developer.marklogic.com] On Behalf Of Steiner, David J. (LNG-DAY) Se

[MarkLogic Dev General] search:search options constraints

2010-03-25 Thread Steiner, David J. (LNG-DAY)
I have an XML structure like this: ... This is a bunch of text that I want to search. ... I want to search for words (multiple terms: word1 AND word2 AND word3) in th

[MarkLogic Dev General] RE: Application Builder help

2010-03-25 Thread Geert Josten
Hi Aaron, It is difficult guessing without further details. For starters, which installation of MarkLogic Server are you using? Which options did you select in the application builder wizard, and can you describe some characteristics of your data? Kind regards, Geert > drs. G.P.H. (Geert) J

[MarkLogic Dev General] RE: Application Builder help

2010-03-25 Thread Danny Sokolsky
What user are you accessing your application as? How did you load the content? My guess is that you loaded the content without any permissions, and so the user you are running as does not see any of the content. If you run the app as a user with the admin role, do you see your content? -Danny

[MarkLogic Dev General] Re: Application Builder help

2010-03-25 Thread Aaron Stranahan
Good afternoon- I have what I think is a fairly general question- I'm trying to use the Application Builder with very little success. Before I get into what I'm doing, let me say that I was able to get the Oscars sample application to work without any issue at all. Without further ado- my issu

RE: [MarkLogic Dev General] What's the best way to read the HTTPresponse code?

2010-03-25 Thread Tim Meagher
Yes, as a client - thank you! Tim _ From: general-boun...@developer.marklogic.com [mailto:general-boun...@developer.marklogic.com] On Behalf Of Justin Makeig Sent: Thursday, March 25, 2010 1:29 PM To: General Mark Logic Developer Discussion Subject: Re: [MarkLogic Dev General] What

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

2010-03-25 Thread Justin Makeig
Do you mean using MarkLogic Server as an HTTP client? xquery version "1.0-ml"; declare namespace http="xdmp:http"; xs:int(xdmp:http-get("http://www.marklogic.com";)[1]/http:code) http-get, for example, returns a sequence of two items: the first is the HTTP metadata, the second is the actual payl

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

2010-03-25 Thread Danny Sokolsky
Try this on an HTTP App Server: xdmp:get-response-code() -Danny From: general-boun...@developer.marklogic.com [mailto:general-boun...@developer.marklogic.com] On Behalf Of Tim Meagher Sent: Thursday, March 25, 2010 10:20 AM To: 'General Mark Logic Developer Discussion' Subject: [MarkLogic Dev G

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

2010-03-25 Thread Tim Meagher
Hi Folks, What is the best way for using xquery and MarkLogic extensions to simply obtain and check the value of an HTTP response code? Thank you! Tim Meagher ___ General mailing list General@developer.marklogic.com http://xqzone.com/ma