Re: Participating on OAK Hackathon

2012-09-17 Thread Tommaso Teofili
I don't seem to have write access to the wiki but I'll be there :-) Regards, Tommaso On 17/set/2012, at 11:23, Ate Douma wrote: Hi OAK hackers again, As indicated earlier we (Hippo developers) would love to come to the OAK Hackathon next week. Looking at the wiki page [1] not many others

Re: On custom index configuration

2012-09-20 Thread Tommaso Teofili
Hi all, On 19/set/2012, at 22:47, Lukas Kahwe Smith wrote: Hi, Just wanted to bring up how this all relates to custom index solutions (like Solr/ES). Isnt there a risk that by making it possible to attach such configuration to nodes, that it would encourage applications that make it

Re: question on custom indexes

2013-01-24 Thread Tommaso Teofili
, Tommaso Regards, Thomas On 1/24/13 10:46 AM, Tommaso Teofili teof...@adobe.com wrote: Hi all, maybe that's a silly question but I wonder what is currently considered the best practice for where to create index nodes. Do they all have to (or _should_) be under a same (e.g. query:index

Oak over HTTP guidelines

2013-01-25 Thread Tommaso Teofili
Hi all, I'm trying to access an Oak repository over HTTP as explained at [1] so I assumed I had to use oak-run as explained at [2]. If I try with curl: curl -d foo=bar http://localhost:8080/test I get: html head meta http-equiv=Content-Type content=text/html;charset=ISO-8859-1/ titleError 500

Re: Oak over HTTP guidelines

2013-01-25 Thread Tommaso Teofili
this helps, Tommaso On 25/gen/2013, at 12:51, Tommaso Teofili wrote: Hi all, I'm trying to access an Oak repository over HTTP as explained at [1] so I assumed I had to use oak-run as explained at [2]. If I try with curl: curl -d foo=bar http://localhost:8080/test I get: html head meta http

Re: commit hooks and indexing

2013-02-15 Thread Tommaso Teofili
On 15/feb/2013, at 08:11, Jukka Zitting wrote: Hi, On Thu, Feb 14, 2013 at 10:29 PM, Michael Dürig mdue...@apache.org wrote: However, there is a difference depending on whether the index is stored in content or external. For the former case using commit hooks is the right thing to do. In

Re: svn commit: r1448559 - /jackrabbit/oak/trunk/oak-solr-core/pom.xml

2013-02-21 Thread Tommaso Teofili
thanks Jukka, you beat me on this :-) Tommaso 2013/2/21 ju...@apache.org Author: jukka Date: Thu Feb 21 09:18:00 2013 New Revision: 1448559 URL: http://svn.apache.org/r1448559 Log: OAK-646: Commit Oak Solr modules to Oak trunk Exclude the jms dependency not found on the central Maven

Re: One hook to rule them all

2013-02-21 Thread Tommaso Teofili
Hi Jukka, On 22/feb/2013, at 08:44, Jukka Zitting wrote: Hi, We currently have half a dozen different commit hooks looking at each commit. This means that each content diff is traversed at least half a dozen times before the commit can be completed. As Thomas noted, this causes a lot of

Re: Large flat commit problems

2013-02-26 Thread Tommaso Teofili
On 26/feb/2013, at 11:12, Jukka Zitting wrote: Hi, On Tue, Feb 26, 2013 at 12:04 PM, Thomas Mueller muel...@adobe.com wrote: Large transactions: I think we didn't define this as a strict requirement. It's probably not the most important thing for Oak to achieve, but we did list it as a

Re: commit hooks and indexing

2013-02-27 Thread Tommaso Teofili
On 27/feb/2013, at 10:25, Michael Dürig wrote: On 15.2.13 9:27, Jukka Zitting wrote: Hi, On Fri, Feb 15, 2013 at 11:20 AM, Tommaso Teofili teof...@adobe.com wrote: maybe it would be nice to explicitly design the synchronous / asynchronous execution of an hook An Observer

Re: Using DirectMemory as second level cache

2013-07-09 Thread Tommaso Teofili
On 08/lug/2013, at 12:54, Chetan Mehrotra wrote: Hi, I tried to integrate Apache DirectMemory as Second level cache (L2). It uses Kryo [2] for serializing/derserializing objects from the off heap memory managed by DirectMemory. Initial test based on this show quite a bit of saving in

Re: [VOTE] Release Apache Jackrabbit Oak 0.9

2013-09-17 Thread Tommaso Teofili
+1 Tommaso On 16/set/2013, at 11:44, Alex Parvulescu wrote: A candidate for the Jackrabbit Oak 0.9 release is available at: https://dist.apache.org/repos/dist/dev/jackrabbit/oak/0.9/ The release candidate is a zip archive of the sources in:

Re: svn commit: r1524928 - /jackrabbit/oak/trunk/jackrabbit-oak/

2013-09-20 Thread Tommaso Teofili
Yes, definitely an accident, sorry (IDEs are evil)! Regards, Tommaso On 20/set/2013, at 11:00, Alex Parvulescu wrote: hmm, this looks like an accident commit :) alex On Fri, Sep 20, 2013 at 9:55 AM, tomm...@apache.org wrote: Author: tommaso Date: Fri Sep 20 07:55:41 2013 New

Re: svn commit: r1524928 - /jackrabbit/oak/trunk/jackrabbit-oak/

2013-09-20 Thread Tommaso Teofili
it's fixed now, sorry for the noise. Tommaso 2013/9/20 Tommaso Teofili teof...@adobe.com Yes, definitely an accident, sorry (IDEs are evil)! Regards, Tommaso On 20/set/2013, at 11:00, Alex Parvulescu wrote: hmm, this looks like an accident commit :) alex On Fri, Sep 20, 2013

Re: Full text indexing with Solr

2013-09-24 Thread Tommaso Teofili
Hi Chetan, I think that currently the complete binary is sent and the on the Solr side you have the ability to choose which field to use for indexing and searching properties of Binary type via the OakSolrConfiguration#getFieldNameFor(Type? propertyType) [1] method. Currently the default

Re: [VOTE] Release Apache Jackrabbit Oak 0.10

2013-10-09 Thread Tommaso Teofili
[X] +1 Release this package as Apache Jackrabbit Oak 0.10 Tommaso 2013/10/3 Alex Parvulescu alex.parvule...@gmail.com A candidate for the Jackrabbit Oak 0.10 release is available at: https://dist.apache.org/repos/dist/dev/jackrabbit/oak/0.10/ The release candidate is a zip archive of

Re: buildbot failure in ASF Buildbot on oak-trunk

2013-10-10 Thread Tommaso Teofili
It should be fine now. Tommaso 2013/10/10 build...@apache.org 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/3405 Buildbot URL: http://ci.apache.org/ Buildslave for

Difference between CommitHook and Editor

2013-10-15 Thread Tommaso Teofili
Hi all, I'm a bit lost about how validation / editing of content to-be-persisted is done. What's exactly the difference and the intended usage scenarios for CommitHooks and Editors ? I see for example EditorHook is a CommitHook but uses an EditorProvider which returns an Editor when the

Re: Difference between CommitHook and Editor

2013-10-15 Thread Tommaso Teofili
of documentation. regards angela On 10/15/13 3:48 PM, Michael Dürig mdue...@apache.org wrote: Nice summary Jukka! How about adding this to oak-doc? Michael On 15.10.13 3:35 , Jukka Zitting wrote: Hi, On Tue, Oct 15, 2013 at 8:33 AM, Tommaso Teofili tommaso.teof...@gmail.com wrote

Re: Detecting move operations in node state diffs

2013-10-17 Thread Tommaso Teofili
From the user point of view I think this makes sense and it'd be worth the effort, also it looks like the global space approach would allow to do that without loosing too much in terms of performance. My 2 cents, Tommaso 2013/10/17 Michael Dürig mdue...@apache.org Hi, Currently we can't

writing a new MK, guidelines

2013-11-06 Thread Tommaso Teofili
Hi all, out of curiosity, I was wondering if there's any guideline other than following the API on writing a new MK implementation. What one should start with, design concepts, experience on known dos, donts, caveats, etc. In the past I wanted to play with it a bit but never had time to do

Re: writing a new MK, guidelines

2013-11-06 Thread Tommaso Teofili
implementation [2] cheers stefan [1] http://wiki.apache.org/jackrabbit/RepositoryMicroKernel [2] http://wiki.apache.org/jackrabbit/RepositoryMicroKernel?action=AttachFiledo=viewtarget=MicroKernel+Revision+Model.pdf On Wed, Nov 6, 2013 at 11:31 AM, Tommaso Teofili tommaso.teof...@gmail.com

Re: Question about Oak search/query.

2013-12-06 Thread Tommaso Teofili
Hi all, 2013/12/6 Jukka Zitting jukka.zitt...@gmail.com Hi, On Thu, Dec 5, 2013 at 9:36 PM, Ian Boston i...@tfd.co.uk wrote: Will the search index contain access control information or will the search results be filtered as each result is retrieved ? The results will be filtered after

Re: Question: In Repository Index file.

2013-12-06 Thread Tommaso Teofili
2013/12/6 Alex Parvulescu alex.parvule...@gmail.com Hi, On Fri, Dec 6, 2013 at 11:06 AM, Jukka Zitting jukka.zitt...@gmail.com wrote: Hi, On Fri, Dec 6, 2013 at 1:25 AM, Ian Boston i...@tfd.co.uk wrote: In Oak when a index is stored in the repository, how is it updated when the

Re: Question about Oak search/query.

2013-12-06 Thread Tommaso Teofili
Hi, 2013/12/6 Ian Boston i...@tfd.co.uk Hi, On 6 December 2013 16:12, Tommaso Teofili tommaso.teof...@gmail.com wrote: Hi all, 2013/12/6 Jukka Zitting jukka.zitt...@gmail.com Hi, On Thu, Dec 5, 2013 at 9:36 PM, Ian Boston i...@tfd.co.uk wrote: Will the search index contain

Re: [VOTE] Release Apache Jackrabbit Oak 0.15

2014-01-22 Thread Tommaso Teofili
+1 Tommaso 2014/1/22 Alex Parvulescu alexparvule...@apache.org Hi, A candidate for the Jackrabbit Oak 0.15 release is available at: https://dist.apache.org/repos/dist/dev/jackrabbit/oak/0.15/ The release candidate is a zip archive of the sources in:

Re: EditorProvider after Oak construction

2014-01-31 Thread Tommaso Teofili
Hi all, I'm a bit lost about how the plugin registration is (or should be) done. I assume the goal here is to be able to register whatever Oak plugin (Editor, IndexEditor, etc.) regardless of how Oak is initialized or at least having that possible by default and I understood the idea was to

Re: Make Whiteboard accessible through ContentRepository

2014-02-08 Thread Tommaso Teofili
+1 I think it makes sense, see also [1]. Regards, Tommaso [1] : http://markmail.org/message/4youjqpyjvajcttr 2014-02-08 Tobias Bocanegra tri...@apache.org: Hi, currently there is not way to access the whiteboard from within the content repository - only if it's added from the outside to

Re: [VOTE] Release Apache Jackrabbit Oak 0.16

2014-02-10 Thread Tommaso Teofili
[X] +1 Release this package as Apache Jackrabbit Oak 0.16 Regards, Tommaso 2014-02-06 10:25 GMT+01:00 Alex Parvulescu alexparvule...@apache.org: A candidate for the Jackrabbit Oak 0.16 release is available at: https://dist.apache.org/repos/dist/dev/jackrabbit/oak/0.16/ The release

Re: buildbot failure in ASF Buildbot on oak-trunk

2014-02-21 Thread Tommaso Teofili
oak-blob/pom.xml was referencing the wrong parent, fixed in r1570487. Tommaso 2014-02-20 19:04 GMT+01:00 build...@apache.org: The Buildbot has detected a new failure on builder oak-trunk while building ASF Buildbot. Full details are available at:

Re: buildbot failure in ASF Buildbot on oak-trunk

2014-02-24 Thread Tommaso Teofili
right, sorry my bad, I'll fix that. Tommaso 2014-02-24 11:08 GMT+01:00 Michael Dürig mdue...@apache.org: On 24.2.14 11:02 , Alex Parvulescu wrote: This doesn't look like something I did: Failed tests: org.apache.jackrabbit.oak.plugins.index.solr.configuration.

Re: svn commit: r1572903 - /jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/ConcurrentAddReferenceTest.java

2014-02-28 Thread Tommaso Teofili
awesome commit message Alex :) Tommaso 2014-02-28 11:20 GMT+01:00 alexparvule...@apache.org: Author: alexparvulescu Date: Fri Feb 28 10:20:03 2014 New Revision: 1572903 URL: http://svn.apache.org/r1572903 Log: OAK-1472 ConcurrentAddReferenceTest#addReferences still fails - enabling

Re: why do we index 'rep%3AGrantACE' ?

2014-03-04 Thread Tommaso Teofili
involved this time ;-) regards angela On 05/03/14 08:19, Tommaso Teofili tommaso.teof...@gmail.com wrote: also as far as I could see just yesterday, rep:AccessControllable is searched when logging in (I was logging into Felix WebConsole on a system running Sling and Oak and the query

How to avoid nodes to be indexed

2014-03-06 Thread Tommaso Teofili
Hi all, for my Solr (indexing) resiliency use case [1] I've implemented an extension of Solr client which is able to cache requests if Solr goes down and execute them back once the Solr instance comes back. Now if the repository goes down during the Solr downtime we loose the cached requests as

Re: How to avoid nodes to be indexed

2014-03-06 Thread Tommaso Teofili
Hi, 2014-03-06 15:46 GMT+01:00 Jukka Zitting jukka.zitt...@gmail.com: Hi, On Thu, Mar 6, 2014 at 9:32 AM, Tommaso Teofili tommaso.teof...@gmail.com wrote: for my Solr (indexing) resiliency use case [1] I've implemented an extension of Solr client which is able to cache requests if Solr

Re: How to avoid nodes to be indexed

2014-03-06 Thread Tommaso Teofili
Hi Davide, 2014-03-06 15:43 GMT+01:00 Davide Giannella giannella.dav...@gmail.com: Hello Tommaso, On 06/03/2014 14:32, Tommaso Teofili wrote: Hi all, for my Solr (indexing) resiliency use case [1] I've implemented an extension of Solr client which is able to cache requests if Solr

[DISCUSS] - OSGi deployment for Oak Lucene / Solr indexers

2014-03-10 Thread Tommaso Teofili
Hi all, The main issue we currently have with our full text indexers is that Lucene and Solr are not OSGi ready, missing proper MANIFEST entries so that they cannot directly be installed in e.g. Apache Felix, don't have semantic version information, etc. Currently oak-lucene embeds the Lucene

Re: [DISCUSS] - OSGi deployment for Oak Lucene / Solr indexers

2014-03-10 Thread Tommaso Teofili
) would not be usable in non OSGi env a user would have to add such jars in addition to the one embedded thus adding to size would inlining the jars solve the problem and / or are there any drawbacks in inlining? Thanks, Tommaso Chetan Mehrotra On Mon, Mar 10, 2014 at 2:37 PM, Tommaso Teofili

Re: [DISCUSS] - OSGi deployment for Oak Lucene / Solr indexers

2014-03-10 Thread Tommaso Teofili
2014-03-10 17:15 GMT+01:00 Jukka Zitting jukka.zitt...@gmail.com: Hi, On Mon, Mar 10, 2014 at 5:40 AM, Chetan Mehrotra chetan.mehro...@gmail.com wrote: Reason for not embedding the Lucene and Solr related dependencies in Oak bundles is to enable usage of same bundle jars in non OSGi env

Re: [DISCUSS] - OSGi deployment for Oak Lucene / Solr indexers

2014-03-10 Thread Tommaso Teofili
ah ok, thanks for clarifying. Regards, Tommaso 2014-03-10 18:10 GMT+01:00 Jukka Zitting jukka.zitt...@gmail.com: Hi, On Mon, Mar 10, 2014 at 1:01 PM, Tommaso Teofili tommaso.teof...@gmail.com wrote: ok, so (in OSGi env) we would have oak-solr and oak-fulltext as fragments of oak-lucene

Re: [DISCUSS] - OSGi deployment for Oak Lucene / Solr indexers

2014-03-11 Thread Tommaso Teofili
+01:00 Tommaso Teofili tommaso.teof...@gmail.com: ah ok, thanks for clarifying. Regards, Tommaso 2014-03-10 18:10 GMT+01:00 Jukka Zitting jukka.zitt...@gmail.com: Hi, On Mon, Mar 10, 2014 at 1:01 PM, Tommaso Teofili tommaso.teof...@gmail.com wrote: ok, so (in OSGi env) we would have oak

Re: [DISCUSS] - OSGi deployment for Oak Lucene / Solr indexers

2014-03-12 Thread Tommaso Teofili
In https://github.com/tteofili/jackrabbit-oak/blob/oak-1475c/oak-solr-osgi/pom.xmlI've specialized the above approach only for Solr. Tommaso 2014-03-12 16:40 GMT+01:00 Tommaso Teofili tommaso.teof...@gmail.com: 2014-03-12 12:29 GMT+01:00 Tommaso Teofili tommaso.teof...@gmail.com: 2014

Re: [DISCUSS] - OSGi deployment for Oak Lucene / Solr indexers

2014-03-13 Thread Tommaso Teofili
://github.com/tteofili/jackrabbit-oak/tree/oak-1475c and then we can switch to the full OSGi way once Lucene and Solr properly support it. Regards, Tommaso 2014-03-12 17:15 GMT+01:00 Tommaso Teofili tommaso.teof...@gmail.com: In https://github.com/tteofili/jackrabbit-oak/blob/oak-1475c/oak-solr-osgi

Re: jackrabbit-oak build #3925: Broken

2014-03-28 Thread Tommaso Teofili
that's a Solr error, of course not related to Julian's commit, I'll have a look however it seems related to a test deleting index data while another test is not finished yet, I'll look into it. Tommaso 2014-03-28 14:37 GMT+01:00 Travis CI ju...@apache.org: Build Update for

Re: Failing tests

2014-03-31 Thread Tommaso Teofili
Hi Davide, I'm looking into the Solr one. Regards, Tommaso 2014-03-31 10:55 GMT+02:00 Davide Giannella giannella.dav...@gmail.com: Hello everyone, I think all of us is aware of those but I have a fairly consistent failing test (first one at the end) and a more randomly failing one. Did

Re: svn commit: r1582706 - in /jackrabbit/oak/trunk/oak-solr-core: ./ src/main/java/org/apache/jackrabbit/oak/plugins/index/solr/index/ src/main/java/org/apache/jackrabbit/oak/plugins/index/solr/query

2014-03-31 Thread Tommaso Teofili
it should be fine now (as of r1583322). Tommaso 2014-03-31 13:37 GMT+02:00 Tommaso Teofili tommaso.teof...@gmail.com: disabling it for now while investigating. Tommaso 2014-03-31 12:36 GMT+02:00 Julian Reschke julian.resc...@gmx.de: On 2014-03-28 16:13, Julian Reschke wrote: On 2014

Re: jackrabbit-oak build #3994: Broken

2014-04-02 Thread Tommaso Teofili
ignored the test for now (r1584015) Tommaso 2014-04-02 14:48 GMT+02:00 Chetan Mehrotra chetan.mehro...@gmail.com: Test case failure on oak-solr Failed tests: testOffsetAndLimit(org.apache.jackrabbit.core.query.LimitAndOffsetTest): expected:1 but was:0

Re: problems logging into repository.apache.org

2014-04-04 Thread Tommaso Teofili
no idea, but I guess it may be related to yesterday's SVN outage, which was caused by LDAP issues [1] ... maybe worth asking to infra@a.o Tommaso [1] : https://twitter.com/infrabot/status/451726976794263552 2014-04-04 9:48 GMT+02:00 Alex Parvulescu alex.parvule...@gmail.com: Hi, I'm having

Re: Slow full text query performance and Lucene Index handling in Oak

2014-04-09 Thread Tommaso Teofili
2014-04-09 13:44 GMT+02:00 Jukka Zitting jukka.zitt...@gmail.com: Hi, On Wed, Apr 9, 2014 at 7:24 AM, Chetan Mehrotra chetan.mehro...@gmail.com wrote: ... the testcase only fetches the first result. Is that a common use case? To better simulate a normal usage scenario I'd make the

Re: Slow full text query performance and Lucene Index handling in Oak

2014-04-09 Thread Tommaso Teofili
I'm looking into the Lucene codecs right now. Tommaso 2014-04-09 15:20 GMT+02:00 Alex Parvulescu alex.parvule...@gmail.com: Profiling the result shows that quite a bit of time goes in org.apache.lucene.codecs.compressing.LZ4.decompress() (40%). This I think is part of Lucene 4.x and not

Re: Review currently exported package version for 1.0 release

2014-04-17 Thread Tommaso Teofili
Hi Chetan, oak-solr-osgi should export the same packages exported by oak-solr-core, to me the list looks good. Regards, Tommaso 2014-04-17 13:01 GMT+02:00 Chetan Mehrotra chetan.mehro...@gmail.com: Hi Team, As part of OAK-1741 [1] I have captured details about current exported packages

Re: failure in ExcerptTest

2014-04-30 Thread Tommaso Teofili
I'll fix it, thanks. Tommaso 2014-04-30 16:02 GMT+02:00 Alex Parvulescu alex.parvule...@gmail.com: this can be seen in the oak-solr-core project, probably introduced by OAK-1783 On Wed, Apr 30, 2014 at 3:28 PM, Julian Reschke julian.resc...@gmx.de wrote:

Re: failure in ExcerptTest

2014-04-30 Thread Tommaso Teofili
ignored the test for now (as far as I can see it seems to only fail on windows) Tommaso 2014-04-30 16:05 GMT+02:00 Tommaso Teofili tommaso.teof...@gmail.com: I'll fix it, thanks. Tommaso 2014-04-30 16:02 GMT+02:00 Alex Parvulescu alex.parvule...@gmail.com: this can be seen in the oak

Re: failure in ExcerptTest

2014-04-30 Thread Tommaso Teofili
the changes on that issue have been already merged. It doesn't fail for me locally, but I can't tell about Windows machines. on 1.0 that test suite is not enabled therefore it should not fail :) Tommaso alex On Wed, Apr 30, 2014 at 4:16 PM, Tommaso Teofili tommaso.teof...@gmail.comwrote

Re: [VOTE] Release Apache Jackrabbit Oak 1.0.0

2014-05-12 Thread Tommaso Teofili
[X] +1 Release this package as Apache Jackrabbit Oak 1.0.0 Tommaso 2014-05-11 21:39 GMT+02:00 Michael Dürig mdue...@apache.org: On 9.5.14 4:07 , Jukka Zitting wrote: [X] +1 Release this package as Apache Jackrabbit Oak 1.0.0 Michael

Re: [DISCUSS] - QueryIndex selection

2014-06-18 Thread Tommaso Teofili
the index via cost / index plans (but maybe that's only me), implementations can be then adjusted accordingly if needed. Regards, Tommaso [1] : http://jackrabbit.apache.org/oak/docs/query.html#Native_Queries Regards, Thomas On 26/05/14 10:25, Tommaso Teofili tommaso.teof...@gmail.com wrote

Re: [DISCUSS] - QueryIndex selection

2014-06-18 Thread Tommaso Teofili
ok, thanks Davide for the pointers. Regards, Tommaso 2014-06-18 13:36 GMT+02:00 Davide Giannella giannella.dav...@gmail.com: On 18/06/2014 10:26, Tommaso Teofili wrote: it would be ok for me to either deprecate it or improve the semantics of the cost calculation (e.g. explicitly introduce

Re: [DISCUSS] - QueryIndex selection

2014-06-18 Thread Tommaso Teofili
Hi, 2014-06-18 13:44 GMT+02:00 Thomas Mueller muel...@adobe.com: Hi, QueryIndex.getCost my doubt is what this heuristic function to estimate the traversed entries should look like in general Relational databases typically know the number of entries in the index (total indexed entries),

Re: [DISCUSS] - QueryIndex selection

2014-06-18 Thread Tommaso Teofili
Hi, 2014-06-18 16:02 GMT+02:00 Jukka Zitting jukka.zitt...@gmail.com: Hi, On Wed, Jun 18, 2014 at 4:26 AM, Tommaso Teofili tommaso.teof...@gmail.com wrote: should we just return the number of estimated entries for the cost? Yes, that's what I think the contract should be. ok, that's

Item#refresh vs Session#refresh

2014-07-11 Thread Tommaso Teofili
Hi all, While going through some logs of a repository using Oak I did found a bunch of warns like this: 11.07.2014 15:10:58.788 *WARN* [qtp1450933858-233] org.apache.jackrabbit.oak.jcr.session.ItemImpl Item#refresh invokes Session#refresh! My question is: does this pose any possible performance

Re: How to implement a queue in Oak?

2014-08-01 Thread Tommaso Teofili
I don't yet have a proper proposal, but maybe what could be done may be something similar to what Davide has done with regards to the ordered index (using a skiplist), that is defining a specific structure of the nodes, together with a specific implementation, that avoids having to use sortable

Re: [VOTE] Release Apache Jackrabbit Oak 1.0.4

2014-08-01 Thread Tommaso Teofili
+1 Regards, Tommaso 2014-08-01 11:45 GMT+02:00 Thomas Mueller muel...@adobe.com: A candidate for the Jackrabbit Oak 1.0.4 release is available at: https://dist.apache.org/repos/dist/dev/jackrabbit/oak/1.0.4/ The release candidate is a zip archive of the sources in:

[DISCUSS] supporting faceting in Oak query engine

2014-08-25 Thread Tommaso Teofili
Hi all, since this has been asked every now and then [1] and since I think it's a pretty useful and common feature for search engine nowadays I'd like to discuss introduction of facets [2] for the Oak query engine. Pros: having facets in search results usually helps filtering (drill down) the

Re: [DISCUSS] supporting faceting in Oak query engine

2014-08-26 Thread Tommaso Teofili
think so :) Any suggestions and / or feedback would be highly welcome, especially from potential users of this feature so that we properly tackle your requirements (if any). Thanks and regards, Tommaso Thanks! Laurie On 8/25/14 7:08 AM, Tommaso Teofili tommaso.teof...@gmail.com wrote

Re: [VOTE] Release Apache Jackrabbit Oak 1.0.5

2014-08-26 Thread Tommaso Teofili
+1 Tommaso 2014-08-26 8:42 GMT+02:00 Thomas Mueller muel...@adobe.com: A candidate for the Jackrabbit Oak 1.0.5 release is available at: https://dist.apache.org/repos/dist/dev/jackrabbit/oak/1.0.5/ The release candidate is a zip archive of the sources in:

Re: [DISCUSS] supporting faceting in Oak query engine

2014-08-26 Thread Tommaso Teofili
! Laurie On 8/25/14 7:08 AM, Tommaso Teofili tommaso.teof...@gmail.com wrote: Hi all, since this has been asked every now and then [1] and since I think it's a pretty useful and common feature for search engine nowadays I'd like to discuss introduction of facets [2] for the Oak

Re: AggregateIndex and AdvanceQueryIndex

2014-09-24 Thread Tommaso Teofili
2014-09-23 13:31 GMT+02:00 Chetan Mehrotra chetan.mehro...@gmail.com: Hi Thomas, On Tue, Sep 23, 2014 at 3:54 PM, Thomas Mueller muel...@adobe.com wrote: Index plans need to be wrapped as well. If there is only one sub-index, then it's easy: just wrap the plans from the sub-index. If there

ObservationManager's userData in Oak

2014-10-03 Thread Tommaso Teofili
Hi all, in the context of Sling [1][2] I am evaluating the possibility of using the ObservationManager#setUserData [3] as a way to signal which Sessions generated certain events in order to filter some having specific userData. I don't have the whole background about how userData is supported in

Re: ObservationManager's userData in Oak

2014-10-07 Thread Tommaso Teofili
Tommaso, Unfortunately Oak has only limited support for user data as it cannot preserve commit boundaries in all cases (e.g. commits from other cluster nodes). See also http://jackrabbit.apache.org/oak/docs/differences.html# Observation Michael On 3.10.14 5:00 , Tommaso Teofili wrote: Hi all

Re: ObservationManager's userData in Oak

2014-10-07 Thread Tommaso Teofili
missed that piece of information from the linked page, where did you get that? Regards, Tommaso Can anyone more knowledgeable address that point? Thanks, -Rob -Original Message- From: Tommaso Teofili [mailto:tommaso.teof...@gmail.com] Sent: Tuesday, October 07, 2014 2:32 AM

Re: AggregateIndex and Solr

2014-10-08 Thread Tommaso Teofili
Hi Chetan, I think no. 1 is definitely the best, also Solr doesn't support aggregation at the moment, so it'd be a good change to do that. Regards, Tommaso 2014-10-08 11:17 GMT+02:00 Chetan Mehrotra chetan.mehro...@gmail.com: For OAK-2119 I had modified AggregateIndex to implement

Re: Features to be supported while enabling boost support in Lucene Full text index

2014-11-05 Thread Tommaso Teofili
Hi Chetan, first of all thanks for all your great work on this. I generally agree with you that we need to be on par with JR2 in terms of capabilities. Looking in more detail into the index configuration what about the following format: indexRules : {

Re: Features to be supported while enabling boost support in Lucene Full text index

2014-11-06 Thread Tommaso Teofili
2014-11-05 13:42 GMT+01:00 Chetan Mehrotra chetan.mehro...@gmail.com: On Wed, Nov 5, 2014 at 3:30 PM, Marcel Reutegger mreut...@adobe.com wrote: the your configuration proposal we'd now have three different places where a property can be specified: - includePropertyNames - properties

Re: Approaches around customizing analyzer in Oak Lucene

2014-11-06 Thread Tommaso Teofili
Hi Chetan, overall I prefer B, but that would be not a trivial effort and it looks like reinventing what ES (and Solr) already have in that area. However, also given that, I think A and C would be very tricky to solve in OSGi, I have dealt myself with this topic before 1.0 and there was no clean

Re: Approaches around customizing analyzer in Oak Lucene

2014-11-06 Thread Tommaso Teofili
Hi Chetan, 2014-11-06 10:23 GMT+01:00 Chetan Mehrotra chetan.mehro...@gmail.com: Hi Tommaso, On Thu, Nov 6, 2014 at 2:31 PM, Tommaso Teofili tommaso.teof...@gmail.com wrote: I think A and C would be very tricky to solve in OSGi, I have dealt myself with this topic before 1.0

Re: Features to be supported while enabling boost support in Lucene Full text index

2014-11-06 Thread Tommaso Teofili
Hi Chetan, thanks for the explanation (which makes sense), I think we should go with your latest proposal then. Regards, Tommaso 2014-11-06 10:29 GMT+01:00 Chetan Mehrotra chetan.mehro...@gmail.com: Hi Tommaso, On Thu, Nov 6, 2014 at 2:18 PM, Tommaso Teofili tommaso.teof...@gmail.com wrote

Re: Approaches around customizing analyzer in Oak Lucene

2014-11-06 Thread Tommaso Teofili
2014-11-06 10:49 GMT+01:00 Chetan Mehrotra chetan.mehro...@gmail.com: On Thu, Nov 6, 2014 at 3:08 PM, Tommaso Teofili tommaso.teof...@gmail.com wrote: yes, that's right, sorry I should've expanded this a bit: I personally think we should expose all/most of Lucene configuration points

Re: Approaches around customizing analyzer in Oak Lucene

2014-11-06 Thread Tommaso Teofili
2014-11-06 11:01 GMT+01:00 Chetan Mehrotra chetan.mehro...@gmail.com: On Thu, Nov 6, 2014 at 3:25 PM, Tommaso Teofili tommaso.teof...@gmail.com wrote: ok for me, I'd also be happy to help as that would probably imply exposing Lucene classes in OSGi too, right? Yes that would be required

Re: Approaches around customizing analyzer in Oak Lucene

2014-11-06 Thread Tommaso Teofili
2014-11-06 11:23 GMT+01:00 Chetan Mehrotra chetan.mehro...@gmail.com: On Thu, Nov 6, 2014 at 3:42 PM, Tommaso Teofili tommaso.teof...@gmail.com wrote: - carefully expose only those packages classes we want people to be able to configure: we expose ourselves to issues with semantic

Re: Approaches around customizing analyzer in Oak Lucene

2014-11-06 Thread Tommaso Teofili
2014-11-06 12:13 GMT+01:00 Chetan Mehrotra chetan.mehro...@gmail.com: On Thu, Nov 6, 2014 at 4:06 PM, Tommaso Teofili tommaso.teof...@gmail.com wrote: I'm a bit skeptical not because it wouldn't work but mostly because the correct behavior would depend on oak-lucene SPI users to read

Re: Oak Logo

2014-11-21 Thread Tommaso Teofili
+1 really nice and clean :) Regards, Tommaso 2014-11-21 9:24 GMT+01:00 Michael Dürig mdue...@apache.org: Hi, Oliver Walthard and Alexis Tessier donated a new logo for Oak [1]. I think this is great news as the current one was chosen ad-hoc due to lack of any logo. I think we should

Re: [DISCUSS] supporting faceting in Oak query engine

2014-12-05 Thread Tommaso Teofili
Hi all, I am resurrecting this thread as I've managed to find some time to start having a look at how to support faceting in Oak query engine. One important thing is that I agree with Ard (and I've seen it like that from the beginning) that since we have Lucene and Solr Oak index implementations

Re: [discuss] IndexEditor and excluding paths to reduce indexing time

2014-12-05 Thread Tommaso Teofili
Hi Chetan sounds a good idea to me, where would you define that? Maybe in the index definition, right? Regards, Tommaso 2014-12-05 10:41 GMT+01:00 Chetan Mehrotra chetan.mehro...@gmail.com: Hi Team, Currently an IndexEditor would traverse the whole repo (or subtree if configured in non

Re: [DISCUSS] supporting faceting in Oak query engine

2014-12-09 Thread Tommaso Teofili
, Tommaso Teofili tommaso.teof...@gmail.com wrote: Hi all, I am resurrecting this thread as I've managed to find some time to start having a look at how to support faceting in Oak query engine. One important thing is that I agree with Ard (and I've seen it like that from the beginning

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

Re: svn commit: r1646469 - in /jackrabbit/oak/trunk/oak-solr-core/src: main/java/org/apache/jackrabbit/oak/plugins/index/solr/index/ main/java/org/apache/jackrabbit/oak/plugins/index/solr/osgi/ main/j

2014-12-18 Thread Tommaso Teofili
Hi Chetan, I agree index time aggregation will be probably faster but I'd like the Solr index to be able to do both so that it's on par with the Lucene index features. On a side note the mentioned commit would only work pre-OAK-2119 so the next step will be (I'm currently working on it) to

Re: jackrabbit-oak build #5068: Errored

2014-12-21 Thread Tommaso Teofili
with my commit. Tommaso 2014-12-20 17:39 GMT+01:00 Travis CI ju...@apache.org: Build Update for apache/jackrabbit-oak - Build: #5068 Status: Errored Duration: 4539 seconds Commit: be859641155e10656e06491f921c6b3157d9c585 (trunk) Author: Tommaso Teofili

Re: svn commit: r1657188 - /jackrabbit/oak/trunk/oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/LuceneIndexEditor.java

2015-02-04 Thread Tommaso Teofili
really? that is a change in LuceneIndexEditor only for suggest and spellcheck fields, not on fulltext or any existing one ... Regards, Tommaso 2015-02-04 15:26 GMT+01:00 Julian Reschke julian.resc...@greenbytes.de: On 2015-02-04 14:09, tomm...@apache.org wrote: Author: tommaso Date: Wed Feb

Re: svn commit: r1657188 - /jackrabbit/oak/trunk/oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/LuceneIndexEditor.java

2015-02-04 Thread Tommaso Teofili
I see now, it's a problem in the xpath.txt query template that I forgot to update when adding OAK-2455 support rep:suggest queries in xpath. It's fixed as of r1657265. Regards, Tommaso 2015-02-04 15:33 GMT+01:00 Tommaso Teofili tommaso.teof...@gmail.com: really? that is a change

Re: jackrabbit-oak build #5106: Errored

2015-01-21 Thread Tommaso Teofili
:00 Travis CI ju...@apache.org: Build Update for apache/jackrabbit-oak - Build: #5106 Status: Errored Duration: 6192 seconds Commit: 6b1a872a3d7e4cc011f49f926fc3966da0226694 (trunk) Author: Tommaso Teofili Message: OAK-2425 - default solr server provider

Re: svn commit: r1660682 - in /jackrabbit/oak/trunk/oak-solr-core/src: main/java/org/apache/jackrabbit/oak/plugins/index/solr/configuration/ main/java/org/apache/jackrabbit/oak/plugins/index/solr/conf

2015-02-19 Thread Tommaso Teofili
thanks guys. @Chetan right, it's on my todo list to remove such guards soon, as I had already realized it's not much helpful in most of the cases. @Julian I'll look for the non ASCII char (no idea how it got into the commit though...). Regards, Tommaso 2015-02-19 11:30 GMT+01:00 Julian Reschke

Re: svn commit: r1656033 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/query/ast/SpellcheckImpl.java

2015-01-30 Thread Tommaso Teofili
ahahahah, you got me Julian! 2015-01-30 16:04 GMT+01:00 Julian Reschke julian.resc...@gmx.de: On 2015-01-30 15:53, tomm...@apache.org wrote: Author: tommaso Date: Fri Jan 30 14:53:31 2015 New Revision: 1656033 URL: http://svn.apache.org/r1656033 Log: OAK-2175 - typo in javadoc

Re: Ship a default Tika Config as used in Jackrabbit

2015-02-16 Thread Tommaso Teofili
Sure, it'd be also good if we could make use of such generic config not only in Lucene index, as we kind of have the same requirement and need for Solr index (and possibly other full text ones). Would it be possible ? I'm starting to wonder if we may need to create an additional artifact

Re: Slow running test for oak-lucene and Lucene Suggestor getting created by default

2015-03-12 Thread Tommaso Teofili
Hi Chetan, there are 2 things at play there I think. First thing is that for testing purposes the suggester was configured to be updated upon each commit [1], the other thing, which is a bug, is that the code you mentioned [2] should actually check if the the useInSuggest property is set before

Re: Slow running test for oak-lucene and Lucene Suggestor getting created by default

2015-03-12 Thread Tommaso Teofili
I've created https://issues.apache.org/jira/browse/OAK-2611 to track the mentioned issue. Regards, Tommaso 2015-03-12 9:36 GMT+01:00 Tommaso Teofili tommaso.teof...@gmail.com: Hi Chetan, there are 2 things at play there I think. First thing is that for testing purposes the suggester

Re: Slow running test for oak-lucene and Lucene Suggestor getting created by default

2015-03-12 Thread Tommaso Teofili
: Thanks Tommaso!. Let see how the next build runs http://ci.apache.org/builders/oak-trunk/builds/1144 Chetan Mehrotra On Thu, Mar 12, 2015 at 2:36 PM, Tommaso Teofili tommaso.teof...@gmail.com wrote: I've created https://issues.apache.org/jira/browse/OAK-2611 to track the mentioned

ASF Jenkins setup

2015-03-13 Thread Tommaso Teofili
Hi all, as part of OAK-2476 [1] we've setup ASF Jenkins with a matrix of jobs to better test Oak. Currently we provide unit, pedantic and integration tests on JDK 1.6, 1.7 and 1.8 running on both Windows and Linux (Ubuntu). The Windows machines seem to have run out of disk space (or at least

Re: [DISCUSS] Enable CopyOnRead feature for Lucene indexes by default

2015-03-31 Thread Tommaso Teofili
+1 Tommaso 2015-03-31 12:48 GMT+02:00 Chetan Mehrotra chetan.mehro...@gmail.com: Hi Team, CopyOnRead feature was provided as part of 1.0.9 release and has been in used in quite a few customer deployment. Of late we have to recommend to enable this setting on most of the deployments where

Re: Build failed in Jenkins: Apache Jackrabbit Oak matrix » jdk-1.6u45,Ubuntu,SEGMENT_MK,unittesting #61

2015-03-28 Thread Tommaso Teofili
please welcome: Jenkins notifications ;-) Tommaso 2015-03-27 1:06 GMT+01:00 Apache Jenkins Server jenk...@builds.apache.org: See https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/jdk=jdk-1.6u45,label=Ubuntu,nsfixtures=SEGMENT_MK,profile=unittesting/61/

Re: Oak 1.1.6 cut

2015-01-30 Thread Tommaso Teofili
Hi Davide, all, OAK-2175 and OAK-2176 have high priority for me, I think I can close one of them until monday, but would probably require 1-2 days more to close the other, so I wonder: is it possible to move the release to Wednesday? (in case I finish early I will let you know here) Regards,

  1   2   3   >