Davide Giannella | 23 Jan 22:46 2015
Picon

[ANNOUNCE] Apache Jackrabbit Oak 1.1.4 released

The Apache Jackrabbit community is pleased to announce the release of
Apache Jackrabbit Oak 1.1.5. The release is available for download at:

  http://jackrabbit.apache.org/downloads.html

See the full release notes below for details about this release.

Release Notes -- Apache Jackrabbit Oak -- Version 1.1.5

Introduction
------------

Jackrabbit Oak is a scalable, high-performance hierarchical content
repository designed for use as the foundation of modern world-class
web sites and other demanding content applications.

Apache Jackrabbit Oak 1.1.5 is an unstable release cut directly from
Jackrabbit Oak trunk, with a focus on new features and other improvements.
For production use we recommend the latest stable 1.0.7 release.

The Oak effort is a part of the Apache Jackrabbit project.
Apache Jackrabbit is a project of the Apache Software Foundation.

Changes in Oak 1.1.5
---------------------
Sub-task

    [OAK-2273] - Export Lucene packages
    [OAK-2376] - cleanup JSON related code

(Continue reading)

Flavel Heyman | 21 Jan 00:12 2015
Picon

Oak Creating Indexes

I’m trying to create indexes in Jackrabbit Oak (1.1.3) with MongoDB.  I was following
http://jackrabbit.apache.org/oak/docs/query/query.html to create indexes.

The problem is that I’m not sure what to do with the NodeBuilder after it is generated...  It feels like I
need to commit/merge the “indexNodeBuilder”, but that hasn’t worked for me yet.  If I try to do an
“ns.merge(builder, commitHook, info)” it fails because the NodeBuilder generated by the
IndexUtils is not a DocumentRootBuilder as required by DocumentNodeStore (that I am using with MongoDB).

Any Suggestions on how to load the indexes created in Java to the JCR?  I have fullTextSearch running, but it
requires me to setFullTextComparisonWithoutIndex to true, which means my indexing isn’t working. 
Otherwise if it is false it won’t return any results in my search.  The purpose of this is to prototype what
it would look like to switch from Jackrabbit 2.8 to Oak for speeding up searches.

Code:

------------------------------------------------------------------------------------------------------------------------

import org.apache.jackrabbit.oak.plugins.index.IndexUtils;

import org.apache.jackrabbit.oak.plugins.document.DocumentMK;

DB db = new MongoClient("127.0.0.1", 27017).getDB("test2");

DocumentNodeStore ns = new DocumentMK.Builder().setMongoDB(db).getNodeStore();

Oak oak = new Oak(ns);

oak.with(new RepositoryInitializer() {

   <at> Override
(Continue reading)

grace | 14 Jan 16:43 2015
Picon

Search in jcr:xmlcharacters

 have imported an xml file into JackRabbit repository using:

(...)  
Node grxmlNode = node.addNode("grxml", "nt:unstructured");  
ocm.getSession().importXML(grxmlNode.getPath(), getFileFromUrl(filePath),
ImportUUIDBehavior.IMPORT_UUID_CREATE_NEW);  
ocm.save();  
(...)  

I ended up with the following repo structure:

/appName/grammars/fileName/locale/grxml/ns:grammar/ns:rule[3]  
/appName/grammars/fileName/locale/grxml/ns:grammar/ns:rule[3]/id = DIGIT1  
/appName/grammars/fileName/locale/grxml/ns:grammar/ns:rule[3]/scope = public  
/appName/grammars/fileName/locale/grxml/ns:grammar/ns:rule[3]/jcr:primaryType
= nt:unstructured  
/appName/grammars/fileName/locale/grxml/ns:grammar/ns:rule[3]/ns:item  
/appName/grammars/fileName/locale/grxml/ns:grammar/ns:rule[3]/ns:item/jcr:primaryType
= nt:unstructured  
/appName/grammars/fileName/locale/grxml/ns:grammar/ns:rule[3]/ns:item/jcr:xmltext  
/appName/grammars/fileName/locale/grxml/ns:grammar/ns:rule[3]/ns:item/jcr:xmltext/jcr:xmlcharacters
=   
      one        
/appName/grammars/fileName/locale/grxml/ns:grammar/ns:rule[3]/ns:item/jcr:xmltext/jcr:primaryType
= nt:unstructured  
/appName/grammars/fileName/locale/grxml/ns:grammar/ns:rule[3]/ns:item/ns:tag  
/appName/grammars/fileName/locale/grxml/ns:grammar/ns:rule[3]/ns:item/ns:tag/jcr:primaryType
= nt:unstructured  
/appName/grammars/fileName/locale/grxml/ns:grammar/ns:rule[3]/ns:item/ns:tag/jcr:xmltext  
/appName/grammars/fileName/locale/grxml/ns:grammar/ns:rule[3]/ns:item/ns:tag/jcr:xmltext/jcr:xmlcharacters
(Continue reading)

Davide Giannella | 13 Jan 11:38 2015
Picon

[ANNOUNCE] Apache Jackrabbit Oak 1.1.4 released

The Apache Jackrabbit community is pleased to announce the release of
Apache Jackrabbit Oak 1.1.4. The release is available for download at:

  http://jackrabbit.apache.org/downloads.html

See the full release notes below for details about this release.

Release Notes -- Apache Jackrabbit Oak -- Version 1.1.4

Introduction
------------

Jackrabbit Oak is a scalable, high-performance hierarchical content
repository designed for use as the foundation of modern world-class
web sites and other demanding content applications.

Apache Jackrabbit Oak 1.1.4 is an unstable release cut directly from
Jackrabbit Oak trunk, with a focus on new features and other improvements.
For production use we recommend the latest stable 1.0.7 release.

The Oak effort is a part of the Apache Jackrabbit project.
Apache Jackrabbit is a project of the Apache Software Foundation.

Changes in Oak 1.1.4
---------------------

Sub-task

    [OAK-2282] - Make current testcases pass with new index
    implementation
(Continue reading)

Torgeir Veimo | 13 Jan 05:21 2015
Picon

'order by' descendant property with multiple descendant

I'm in need of ordering some node in a query based on the latest
timestamp on one or more child nodes.

This is similar to an article with comments as child nodes, where one
would like to order the articles in a query sorted by the last
timestamp on the comments to each article.

This doesn't seem to be work using an XPATH query, with a child node
designator as eg */ <at> createdProperty. IS this possible to do using
either SQL2 or by using the QOM?

--

-- 
-Tor

Torgeir Veimo | 8 Jan 14:39 2015
Picon

jackrabbit-data-test includes log4j.properties

It looks like the jackrabbit 2.8.0 maven artifact has a dependency to
jackrabbit-data, which seems to include the jackrabbit-data-tests jar,
which contains a log4j.properties file. Is this by purpose?

Also, why does the jackrabbit-data artifact include the -tests jar
file, couldn't it be an independent artifact?

--

-- 
-Tor

prasad | 7 Jan 17:55 2015

ImportUUIDBehavior.IMPORT_UUID_COLLISION_THROW does not seems to work when same record imported twice

I have been trying to import xml data in to JCR using session.importXML("/",
resource, ImportUUIDBehavior.IMPORT_UUID_COLLISION_THROW);
First time it works fine, but when I do the import the same data again it
doest not throw exception even though the uids in the xml are the same.

I thought there might be something wrong with  uids. So I have changed the 
type to mixinTypes as below even that does not help.

<sv:property sv:name="jcr:mixinTypes" sv:type="Name" sv:multiple="true">
		<sv:value>mix:referenceable</sv:value>
	</sv:property>

	Any idea why I am seeing the strange behaviour ?

--
View this message in context: http://jackrabbit.510166.n4.nabble.com/ImportUUIDBehavior-IMPORT-UUID-COLLISION-THROW-does-not-seems-to-work-when-same-record-imported-twice-tp4661861.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

connuser1 connuser1 | 6 Jan 13:32 2015
Picon

Resource Type for custom resource provider

Hi

I am writing a custom resource provider by implementing
the ResourceProviderFactory interface. Currently I have sets its 'Resource
Type' to a path which maps to my custom servlet for rendering this
resource. This is working perfectly but I am not really sure if this is the
right way to do it.

Should I be writing my own servlet for rendering the resource or should I
use the sling default GET servlet?

I tried setting the resource type to sling/servlet/default but when I make
a GET request to the resource using the json extension, I just get the
{"sling:resourceType":"sling/servlet/default"} in response and nothing
else. I was expecting to see the resource metadata that I have set on this
resource. Please guide.

Thanks
Bruce Edge | 2 Jan 03:21 2015

S3 backend options & performance

I'm new to jackrabbit and am evaluating for a content repo in AWS.
I've been playing around with the sling launchpad build using the derby back-end. Eventually I need to
configure a data store using S3 for the blob storage. No specific requirements for the RDS component.
I'm not finding a whole lot of documentation on setup, performance, options etc.
What do people recommend for an S3 backed JCR in terms of configuration?
Has anyone done any performance benchmarks over S3?
Can one do this using jackrabbit 2.x or is there any specific advantage, or requirement, to use oak?

-Bruce
smsatheesh | 29 Dec 08:28 2014
Picon

How to use Jackrabbit-2.8.0

Hi,
         I am new one, i have download jackrabbit-2.8.0-src, using mvn clean
install to get 
jackrabbit-2.8.0.war  i placed under webapps folder it's deployed.  i get
Apache Jackrabbit JCR Server page. I don't know how to create repository
using GUI and i don't how use JackRabbit. 
<http://jackrabbit.510166.n4.nabble.com/file/n4661843/Jackrabbit.png> 

--
View this message in context: http://jackrabbit.510166.n4.nabble.com/How-to-use-Jackrabbit-2-8-0-tp4661843.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

Amit Jain | 22 Dec 12:05 2014
Picon

[ANNOUNCE] Apache Jackrabbit Oak 1.0.9 released

The Apache Jackrabbit community is pleased to announce the release of
Apache Jackrabbit Oak 1.0.9. The release is available for download at:

  http://jackrabbit.apache.org/downloads.html

See the full release notes below for details about this release.

Release Notes -- Apache Jackrabbit Oak -- Version 1.0.9

Introduction
------------

Jackrabbit Oak is a scalable, high-performance hierarchical content
repository designed for use as the foundation of modern world-class
web sites and other demanding content applications.

Apache Jackrabbit Oak 1.0.9 is a patch release that contains fixes and
improvements over Oak 1.0. Jackrabbit Oak 1.0.x releases are considered
stable and targeted for production use.

The Oak effort is a part of the Apache Jackrabbit project.
Apache Jackrabbit is a project of the Apache Software Foundation.

Changes in Oak 1.0.9
--------------------

New Features

   [OAK-2261] - Enable support for NodeType based indexing rules
   [OAK-2268] - Support index time Aggregation of repository nodes
(Continue reading)


Gmane