querying and the ContentBox

1 view
Skip to first unread message

PaulZH

unread,
Aug 12, 2009, 5:08:33 AM8/12/09
to n2-dev
I'm a little bit confused about the API docs related to full text
querying.

I populated so far only my metabox with some test RDF triples.
I did set up a Field Predicate Map and a Query Profile.
And this, after having done a reindex, seems to work fine using the
query syntax and facet service.

However I do not understand why in the docs one speaks in this context
always about the ContentBox, while I have only triples in the RDF
Metastore and I'm querying the triples datatype object values?
Or is the full text Lucene index put into and managed by the
ContentBox?

Leigh Dodds

unread,
Aug 12, 2009, 6:05:27 AM8/12/09
to n2-...@googlegroups.com
Hi Paul,

2009/8/12 PaulZH <pa...@proxml.be>:

I agree the wording of the documentation is perhaps slightly
confusing. It stems from the fact that the Platform API was designed
around the content box (/items) defining the URI space under the
control of the user. i.e. it can be used to publish documents and
files, but can also be used as the means to mint URIs for resources.

E.g. if I created /items/foo/bar and there is not a matching file in
the contentbox, then the platform automatically redirects to
/meta?about=..../items/foo/bar

From this point of view, where there is close alignment between the
contentbox and metabox, the search API being exposed on the contentbox
seems fairly natural.

However if you're just using the metabox alone, and creating your own
URIs, then this is arguably confusing.

In short, the search function is only searching the literals in the metabox.

Cheers,

L.
--
Leigh Dodds
Programme Manager, Talis Platform
Talis
leigh...@talis.com
http://www.talis.com

Reply all
Reply to author
Forward
0 new messages