[MarkLogic Dev General] fields where the contents is a URL
Spike.Grobstein at wmg.com
Fri Nov 6 13:32:57 PST 2009
My goal for this is to do a query and get back a sequence of all values
that are in that field. I have a lot of documents that contain:
I was doing a query where I was requesting all documents that were
within a date range (we've got elements that contain a datestamp) that
were for a specific site (ie: facebook), then pulling unique values from
the above field, but I was having speed and memory usage issues... I
kept getting the cachefull exception.
I really need to be able to get a list of values that are in that field
so I can create an index page and also do faster queries from that.
Fields were working great until I tried to use it on URLs.
Any other suggestions?
From: general-bounces at developer.marklogic.com
[mailto:general-bounces at developer.marklogic.com] On Behalf Of Frank
Sent: Thursday, November 05, 2009 2:01 PM
To: General Mark Logic Developer Discussion
Subject: Re: [MarkLogic Dev General] fields where the contents is a URL
I think you should look at a different way to index the url. For
instance, can you set up a range index with a scalar type anyURI?
On Nov 5, 2009, at 11:56 AM, Grobstein, Spike wrote:
I've got a Field configured in my database that I want to do
field-words() queries against, but the contents of the element is a URL.
It seems that when I do searches, the field is the URL broken up by
symbol. For example:
is translated into the following fieldwords:
Is there a way around this? Should I not be using Fields?
I need to be able to do queries based on the full URL.
General mailing list
General at developer.marklogic.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the General