Re: Adding a File Node

2014-12-10 Thread Davide Giannella
On 09/12/2014 19:08, Mike Nimer wrote: ... Here is the simple test class I'm using to verify this with 4 different ways to create a file node. Based on what I can find online and digging through the unit tests. Sorry Mike, didn't look at your class but you can find an example here

Re: [DISCUSS] supporting faceting in Oak query engine

2014-12-10 Thread Ard Schrijvers
On Wed, Dec 10, 2014 at 9:32 AM, Davide Giannella dav...@apache.org wrote: On 09/12/2014 17:10, Michael Marth wrote: ... The use cases problematic case for counting the facets I have in mind are when a query returns millions of results. This is problematic when one wants to retrieve the

Re: Adding a File Node

2014-12-10 Thread Alex Parvulescu
Hi Mike, The issue is in the initialization parts of the code. You need to only boostrap 'Jcr' once, in your code snippet you do it for each session login call. So the fix is to change the #getOak(SegmentStore store) and the #getSession(Oak oak) methods to [0] and the init parts to [1]. hope

Re: [DISCUSS] supporting faceting in Oak query engine

2014-12-10 Thread Tommaso Teofili
2014-12-10 10:17 GMT+01:00 Ard Schrijvers a.schrijv...@onehippo.com: On Wed, Dec 10, 2014 at 9:32 AM, Davide Giannella dav...@apache.org wrote: On 09/12/2014 17:10, Michael Marth wrote: ... The use cases problematic case for counting the facets I have in mind are when a query returns

[Discuss] Indexing best practices/recommendations.

2014-12-10 Thread Amit Jain
Hi, With the recent addition of LucenePropertyIndex we can create a lucene index on a specific type with multiple properties indexed. The queries with full-text like below are served well by this index and help limit the index size * /jcr:root/a/b//element(*, asset)[(jcr:contains(., 'foo'))]

buildbot success in ASF Buildbot on oak-trunk

2014-12-10 Thread buildbot
The Buildbot has detected a restored build on builder oak-trunk while building ASF Buildbot. Full details are available at: http://ci.apache.org/builders/oak-trunk/builds/831 Buildbot URL: http://ci.apache.org/ Buildslave for this Build: bb-vm_ubuntu Build Reason: The AnyBranchScheduler

Re: [DISCUSS] supporting faceting in Oak query engine

2014-12-10 Thread Ard Schrijvers
On Wed, Dec 10, 2014 at 10:17 AM, Ard Schrijvers a.schrijv...@onehippo.com wrote: On Wed, Dec 10, 2014 at 9:32 AM, Davide Giannella dav...@apache.org wrote: On 09/12/2014 17:10, Michael Marth wrote: ... The use cases problematic case for counting the facets I have in mind are when a query

buildbot failure in ASF Buildbot on oak-trunk

2014-12-10 Thread buildbot
The Buildbot has detected a new failure on builder oak-trunk while building ASF Buildbot. Full details are available at: http://ci.apache.org/builders/oak-trunk/builds/833 Buildbot URL: http://ci.apache.org/ Buildslave for this Build: bb-vm_ubuntu Build Reason: The AnyBranchScheduler

Re: [Discuss] Indexing best practices/recommendations.

2014-12-10 Thread Davide Giannella
On 10/12/2014 11:16, Amit Jain wrote: Hi, With the recent addition of LucenePropertyIndex we can create a lucene index on a specific type with multiple properties indexed. The queries with full-text like below are served well by this index and help limit the index size *

Re: [discuss] IndexStoreStrategy API change

2014-12-10 Thread Thomas Mueller
Hi, Sounds good to me. Regards, Thomas On 09/12/14 14:56, Davide Giannella dav...@apache.org wrote: Good afternoon everyone, while I was looking into other issues, I found that it would be useful if we pass to the IndexStoreStrategy.update() either the indexName, or even better a NodeState

Re: buildbot failure in ASF Buildbot on oak-trunk-win7

2014-12-10 Thread Michael Dürig
Filed https://issues.apache.org/jira/browse/BUILDS-40 Michael On 5.12.14 5:02 , Chetan Mehrotra wrote: Failure due to some intermittent issue for now --- [ERROR] Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.5:clean (default-clean) on project oak-mk-api: Failed to

Re: [VOTE] Release Apache Jackrabbit Oak 1.1.3

2014-12-10 Thread Thomas Mueller
+1 Release this package as Apache Jackrabbit Oak 1.1.3 On 09/12/14 17:17, Davide Giannella dav...@apache.org wrote: A candidate for the Jackrabbit Oak 1.1.3 release is available at: https://dist.apache.org/repos/dist/dev/jackrabbit/oak/1.1.3/ The release candidate is a zip archive of

Re: Adding a File Node

2014-12-10 Thread Mike Nimer
D'oh, I knew it has to be something simple. Thank you! --mike On Wed, Dec 10, 2014 at 3:18 AM, Alex Parvulescu alex.parvule...@gmail.com wrote: Hi Mike, The issue is in the initialization parts of the code. You need to only boostrap 'Jcr' once, in your code snippet you do it for each session

buildbot success in ASF Buildbot on oak-trunk

2014-12-10 Thread buildbot
The Buildbot has detected a restored build on builder oak-trunk while building ASF Buildbot. Full details are available at: http://ci.apache.org/builders/oak-trunk/builds/836 Buildbot URL: http://ci.apache.org/ Buildslave for this Build: bb-vm_ubuntu Build Reason: The AnyBranchScheduler

Travis failure

2014-12-10 Thread Norberto Leite
Guys, not sure why Travis reported this error: https://travis-ci.org/apache/jackrabbit-oak/builds/42019095 Tested on several different machines and can't reproduce it. What's the process to deal with this? Resubmit the PR? N.

Re: svn commit: r1644389 - in /jackrabbit/oak/trunk/oak-core/src: main/java/org/apache/jackrabbit/oak/plugins/segment/file/ main/java/org/apache/jackrabbit/oak/plugins/segment/file/tooling/ test/java/

2014-12-10 Thread Julian Reschke
On 2014-12-10 14:10, mdue...@apache.org wrote: Author: mduerig Date: Wed Dec 10 13:10:30 2014 New Revision: 1644389 URL: http://svn.apache.org/r1644389 Log: OAK-2333: SegmentMK startup slow with large journals Scan the journal.log backwards Modified:

buildbot failure in ASF Buildbot on oak-trunk

2014-12-10 Thread buildbot
The Buildbot has detected a new failure on builder oak-trunk while building ASF Buildbot. Full details are available at: http://ci.apache.org/builders/oak-trunk/builds/838 Buildbot URL: http://ci.apache.org/ Buildslave for this Build: bb-vm_ubuntu Build Reason: The AnyBranchScheduler

Re: svn commit: r1644389 - in /jackrabbit/oak/trunk/oak-core/src: main/java/org/apache/jackrabbit/oak/plugins/segment/file/ main/java/org/apache/jackrabbit/oak/plugins/segment/file/tooling/ test/java/

2014-12-10 Thread Michael Dürig
On 10.12.14 7:59 , Julian Reschke wrote: segmentOverflow(org.apache.jackrabbit.oak.plugins.segment.file.FileStoreTest): The process cannot access the file because another process has locked a portion of the file Maybe related to this change? Probably yes. As I can't reproduce this,

Re: svn commit: r1644389 - in /jackrabbit/oak/trunk/oak-core/src: main/java/org/apache/jackrabbit/oak/plugins/segment/file/ main/java/org/apache/jackrabbit/oak/plugins/segment/file/tooling/ test/java/

2014-12-10 Thread Julian Reschke
On 2014-12-10 21:15, Michael Dürig wrote: On 10.12.14 7:59 , Julian Reschke wrote: segmentOverflow(org.apache.jackrabbit.oak.plugins.segment.file.FileStoreTest): The process cannot access the file because another process has locked a portion of the file Maybe related to this change?

buildbot success in ASF Buildbot on oak-trunk

2014-12-10 Thread buildbot
The Buildbot has detected a restored build on builder oak-trunk while building ASF Buildbot. Full details are available at: http://ci.apache.org/builders/oak-trunk/builds/839 Buildbot URL: http://ci.apache.org/ Buildslave for this Build: bb-vm_ubuntu Build Reason: The AnyBranchScheduler

buildbot failure in ASF Buildbot on oak-trunk

2014-12-10 Thread buildbot
The Buildbot has detected a new failure on builder oak-trunk while building ASF Buildbot. Full details are available at: http://ci.apache.org/builders/oak-trunk/builds/841 Buildbot URL: http://ci.apache.org/ Buildslave for this Build: bb-vm_ubuntu Build Reason: The AnyBranchScheduler