[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Granularity

  • From: Michael Sokolov <sokolov@ifactory.com>
  • To: Andrew Welch <andrew.j.welch@gmail.com>
  • Date: Fri, 06 Jan 2012 12:51:34 -0500

Re:  Granularity
On 1/6/2012 9:55 AM, Andrew Welch wrote:
>> Many XML databases work best when you have lots of small documents; a few
>> work well when you have one giant all-embracing document.
> The problem with one large doc is you will only get 1 hit as a result
> for multiple matches... instead of n hits for n docs that each contain
> a match.
>
> You can work around that, but in general its best if your docs
> correspond to the number of results you would expect for a given
> search.
>
>
I guess it depends on how the indexing works - you might be able to 
index at a sub-document level and search using xpath within documents; 
xslt lets you do this on the fly at least.  But it's true that most of 
the well-known xml dbs index at the document level.  I guess in 
MarkLogic they have a way to "fragment" sub-documents, but the 
recommendation generally seems to be not to use it, and to fragment your 
documents yourself.

-Mike


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.