Re: [VOTE] Release Apache Jackrabbit 1.5.0

2008-12-06 Thread Jukka Zitting
Hi,

On Tue, Dec 2, 2008 at 2:45 PM, Jukka Zitting <[EMAIL PROTECTED]> wrote:
> Please vote on releasing this package as Apache Jackrabbit 1.5.0. The
> vote is open for the next 72 hours and passes if a majority of at
> least three +1 Jackrabbit PMC votes are cast.

The vote passes with the following three binding +1s. No other votes were cast.

+1 Dominique Pfister
+1 Jukka Zitting
+1 Marcel Reutegger

Thanks for reviewing the release! I'll push the release out to the
mirrors and announce it to the world.

BR,

Jukka Zitting


simple search in GQL: (was: Re: [VOTE] Release Apache Jackrabbit 1.5.0)

2008-12-05 Thread David Nuescheler
hi torgeir,

just the term that you are looking for will search all properties.
just like in google.

if you want to limit the query to a certain property you prepend its name
separated by a colon. some examples.

foo   // -> will find foo in all properties
title:foo // -> will find foo in a title properties
title:foo bar   // -> will find all nodes that contain bar and
have foo in its title
author:torgeir// -> will find all nodes that have a property
author that contains torgeir

i am sure that if you would like to put some examples on the wiki that would
be highly appreciated.

regards,
david


On Fri, Dec 5, 2008 at 12:57 PM, Torgeir Veimo <[EMAIL PROTECTED]> wrote:
>
> On 5 Dec 2008, at 21:37, Marcel Reutegger wrote:
>
>> Torgeir Veimo wrote:
>>>
>>> On 2 Dec 2008, at 23:45, Jukka Zitting wrote:
>>>
 * Simple Google-style query language. The new GQL query syntax
  makes it very easy to express simple full text queries.
>>>
>>>
>>> How do I do a full text search, ie searching for something in _all_
>>> attributes, with this new syntax? Or is this not possible atm?
>>
>> you simply type in a term. GQL will translate that into a jcr:contains()
>> on the
>> context nodes. though, I'm not sure if that's what you want...
>
>
> You mean content nodes?
>
> I was hoping that there was a way to search any attribute. I can of course
> do some hacks where as I concatenate the property values of all the
> attributes and put the string into a 'catchall' property, but i think such a
> search would be better handled in the indexing system.
>
>
> --
> Torgeir Veimo
> [EMAIL PROTECTED]
>
>
>
>
>



-- 
Visit: http://dev.day.com/


Re: [VOTE] Release Apache Jackrabbit 1.5.0

2008-12-05 Thread Alexander Klimetschek
On Fri, Dec 5, 2008 at 12:57 PM, Torgeir Veimo <[EMAIL PROTECTED]> wrote:
> I was hoping that there was a way to search any attribute. I can of course
> do some hacks where as I concatenate the property values of all the
> attributes and put the string into a 'catchall' property, but i think such a
> search would be better handled in the indexing system.

A jcr:contains(., 'foobar') (using the dot ".") in JCR XPath is a
full-text search, ie. basically all properties and also the extracted
full-text from binary values of one node (see section 6.6.5.2
"jcr:contains Function" of the JCR spec [1]). You can configure the
search index what will be aggregated under a node, see [2] and [3].

[1] http://jcp.org/en/jsr/detail?id=170
[2] http://wiki.apache.org/jackrabbit/IndexingConfiguration
[3] http://wiki.apache.org/jackrabbit/Search

Regards,
Alex

-- 
Alexander Klimetschek
[EMAIL PROTECTED]


Re: [VOTE] Release Apache Jackrabbit 1.5.0

2008-12-05 Thread Torgeir Veimo


On 5 Dec 2008, at 21:37, Marcel Reutegger wrote:


Torgeir Veimo wrote:


On 2 Dec 2008, at 23:45, Jukka Zitting wrote:


* Simple Google-style query language. The new GQL query syntax
  makes it very easy to express simple full text queries.



How do I do a full text search, ie searching for something in _all_
attributes, with this new syntax? Or is this not possible atm?


you simply type in a term. GQL will translate that into a  
jcr:contains() on the

context nodes. though, I'm not sure if that's what you want...



You mean content nodes?

I was hoping that there was a way to search any attribute. I can of  
course do some hacks where as I concatenate the property values of all  
the attributes and put the string into a 'catchall' property, but i  
think such a search would be better handled in the indexing system.



--
Torgeir Veimo
[EMAIL PROTECTED]






Re: [VOTE] Release Apache Jackrabbit 1.5.0

2008-12-05 Thread Marcel Reutegger
öhm, forgot to vote...

[X] +1 Release this package as Apache Jackrabbit 1.5.0

regards
 marcel

Marcel Reutegger wrote:
> Jukka Zitting wrote:
>> Please vote on releasing this package as Apache Jackrabbit 1.5.0. The
>> vote is open for the next 72 hours and passes if a majority of at
>> least three +1 Jackrabbit PMC votes are cast.
> 
> - signature OK
> - checksums OK
> - licence, notice, header, readme and release-notes files OK
> - maven build failed the first time with an assertion error in jackrabbit-ocm
> (see below) but a second 'mvn clean install' worked fine
> - upgrading existing jackrabbit-webapp OK, except for [0]
> 
> regards
>  marcel
> 
> [0] https://issues.apache.org/jira/browse/JCR-1902
> 
> 
> ---
> Test set:
> org.apache.jackrabbit.ocm.manager.collectionconverter.DigesterNTCollectionConverterImplTest
> ---
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.296 sec <<<
> FAILURE!
> testCollection(org.apache.jackrabbit.ocm.manager.collectionconverter.DigesterNTCollectionConverterImplTest)
>  Time elapsed: 0.281 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: Incorrect page.getParagraphs size
>   at junit.framework.Assert.fail(Assert.java:47)
>   at junit.framework.Assert.assertTrue(Assert.java:20)
>   at
> org.apache.jackrabbit.ocm.manager.collectionconverter.DigesterNTCollectionConverterImplTest.testCollection(DigesterNTCollectionConverterImplTest.java:129)
> 
> 
> 
> 



Re: [VOTE] Release Apache Jackrabbit 1.5.0

2008-12-05 Thread Marcel Reutegger
Torgeir Veimo wrote:
> 
> On 2 Dec 2008, at 23:45, Jukka Zitting wrote:
> 
>>  * Simple Google-style query language. The new GQL query syntax
>>makes it very easy to express simple full text queries.
> 
> 
> How do I do a full text search, ie searching for something in _all_
> attributes, with this new syntax? Or is this not possible atm?

you simply type in a term. GQL will translate that into a jcr:contains() on the
context nodes. though, I'm not sure if that's what you want...

regards
 marcel


Re: [VOTE] Release Apache Jackrabbit 1.5.0

2008-12-05 Thread Marcel Reutegger
Jukka Zitting wrote:
> Please vote on releasing this package as Apache Jackrabbit 1.5.0. The
> vote is open for the next 72 hours and passes if a majority of at
> least three +1 Jackrabbit PMC votes are cast.

- signature OK
- checksums OK
- licence, notice, header, readme and release-notes files OK
- maven build failed the first time with an assertion error in jackrabbit-ocm
(see below) but a second 'mvn clean install' worked fine
- upgrading existing jackrabbit-webapp OK, except for [0]

regards
 marcel

[0] https://issues.apache.org/jira/browse/JCR-1902


---
Test set:
org.apache.jackrabbit.ocm.manager.collectionconverter.DigesterNTCollectionConverterImplTest
---
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.296 sec <<<
FAILURE!
testCollection(org.apache.jackrabbit.ocm.manager.collectionconverter.DigesterNTCollectionConverterImplTest)
 Time elapsed: 0.281 sec  <<< FAILURE!
junit.framework.AssertionFailedError: Incorrect page.getParagraphs size
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.assertTrue(Assert.java:20)
at
org.apache.jackrabbit.ocm.manager.collectionconverter.DigesterNTCollectionConverterImplTest.testCollection(DigesterNTCollectionConverterImplTest.java:129)





Re: [VOTE] Release Apache Jackrabbit 1.5.0

2008-12-05 Thread Torgeir Veimo


On 2 Dec 2008, at 23:45, Jukka Zitting wrote:


 * Simple Google-style query language. The new GQL query syntax
   makes it very easy to express simple full text queries.



How do I do a full text search, ie searching for something in _all_  
attributes, with this new syntax? Or is this not possible atm?


--
Torgeir Veimo
[EMAIL PROTECTED]






Re: [VOTE] Release Apache Jackrabbit 1.5.0

2008-12-05 Thread Dominique Pfister
On Fri, Dec 5, 2008 at 11:13 AM, Dominique Pfister
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> On Tue, Dec 2, 2008 at 2:45 PM, Jukka Zitting <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> I have posted a candidate for the Apache Jackrabbit 1.5.0 release at
>>
>>http://people.apache.org/~jukka/jackrabbit/1.5.0/
>>
>> See the RELEASE-NOTES.txt file (also included at the end of this
>> message) for details on release contents and latest changes. The
>> release candidate is a jar archive of the sources in
>> http://svn.apache.org/repos/asf/jackrabbit/tags/1.5.0. The SHA1
>> checksum of the jackrabbit-1.5.0-src.jar release package is
>> 3a5cd606379052282c03a5f70bd34f9470b798fc.
>>
>> Please vote on releasing this package as Apache Jackrabbit 1.5.0. The
>> vote is open for the next 72 hours and passes if a majority of at
>> least three +1 Jackrabbit PMC votes are cast.
>>
>>[ ] +1 Release this package as Apache Jackrabbit 1.5.0
>>[ ] -1 Do not release this package because...
>>
>
> [X] +1 Release this package as jackrabbit-core 1.4.6

Oops!

[X] +1 Release this package as Apache Jackrabbit 1.5.0

Kind regards
Dominique

>
> - signature OK
> - checksums OK
> - licence, notice, header, readme and release-notes files OK
> - maven build OK
>
> Dominique
>
>> With the source release I have also included pre-compiled binaries for
>> the main deployment packages (webapp, jca, standalone) as well as a
>> staged Maven repository containing pre-compiled versions of all
>> included components. If this vote passes, I will make the source
>> release and the deployment packages available on the Jackrabbit
>> download page and publish the other binaries in the central Maven
>> repository.
>>
>> Here's my +1 vote.
>>
>> BR,
>>
>> Jukka Zitting
>>
>>
>> Release Notes -- Apache Jackrabbit -- Version 1.5.0
>>
>> Introduction
>> 
>>
>> Apache Jackrabbit is a fully conforming implementation of the Content
>> Repository for Java Technology API (JCR). A content repository is a
>> hierarchical content store with support for structured and unstructured
>> content, full text search, versioning, transactions, observation, and
>> more. Typical applications that use content repositories include content
>> management, document management, and records management systems.
>>
>> Apache Jackrabbit 1.5 is an incremental feature release. While
>> remaining compatible with previous releases, Jackrabbit 1.5 introduces
>> a number of new features, improvements and fixes to known issues.
>>
>> The most notable changes in this release are:
>>
>>  * The standalone Jackrabbit server component. The runnable
>>jackrabbit-standalone jar makes it very easy to start and run
>>Jackrabbit as a standalone server with WebDAV and RMI access.
>>
>>  * Search performance improvements. The performance of certain kinds
>>of hierarchical XPath queries has improved notably.
>>
>>  * Simple Google-style query language. The new GQL query syntax
>>makes it very easy to express simple full text queries.
>>
>>  * Transaction-safe versioning. Mixing transactions and versioning
>>operations has traditionally been troublesome in Jackrabbit.
>>This release contains a number of improvements in this area and
>>has specifically been reviewed against potential deadlock issues.
>>
>>  * Clustered workspace creation. A new workspace created in one
>>cluster node will now automatically appear also in the other
>>nodes of the cluster.
>>
>>  * SPI improvements. The SPI layer introduced in Jackrabbit 1.4
>>has seen a lot of improvements and bug fixes, and is shaping
>>up as a solid framework for implementing JCR connectors.
>>
>>  * Development preview: JSR 283 features. We have implemented
>>a number of new features defined in the public review draft of
>>JCR 2.0, created in JSR 283. These new features are accessible
>>through special "jsr283" interfaces in the Jackrabbit API. Note
>>however that none of these features are ready for production use,
>>and will be replaced with final JCR 2.0 versions in Jackrabbit 2.0.
>>
>> See the Apache Jackrabbit website at http://jackrabbit.apache.org/ for
>> more information.
>>
>> Release Contents
>> 
>>
>> This release consists of a single source archive (jackrabbit-1.5.0-src.jar)
>> that contains all the Apache Jackrabbit components. Use the following
>> commands (or the equivalent in your system) to build the release with
>> Maven 2 and Java 1.4 or higher:
>>
>>jar xf jackrabbit-1.5.0-src.jar
>>cd jackrabbit-1.5.0-src
>>mvn install
>>
>> Note that the OCM components require Java 5 or higher, and are not included
>> in the build when using Java 1.4.
>>
>> The source archive is accompanied by SHA1 and MD5 checksums and a PGP
>> signature that you can use to verify the authenticity of your download.
>> The public key used for the PGP signature can be found at
>> https://svn.apache.org/repos/asf/jackrabbit/dist/KEYS.
>>
>> The build will result in t

Re: [VOTE] Release Apache Jackrabbit 1.5.0

2008-12-05 Thread Dominique Pfister
Hi,

On Tue, Dec 2, 2008 at 2:45 PM, Jukka Zitting <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have posted a candidate for the Apache Jackrabbit 1.5.0 release at
>
>http://people.apache.org/~jukka/jackrabbit/1.5.0/
>
> See the RELEASE-NOTES.txt file (also included at the end of this
> message) for details on release contents and latest changes. The
> release candidate is a jar archive of the sources in
> http://svn.apache.org/repos/asf/jackrabbit/tags/1.5.0. The SHA1
> checksum of the jackrabbit-1.5.0-src.jar release package is
> 3a5cd606379052282c03a5f70bd34f9470b798fc.
>
> Please vote on releasing this package as Apache Jackrabbit 1.5.0. The
> vote is open for the next 72 hours and passes if a majority of at
> least three +1 Jackrabbit PMC votes are cast.
>
>[ ] +1 Release this package as Apache Jackrabbit 1.5.0
>[ ] -1 Do not release this package because...
>

[X] +1 Release this package as jackrabbit-core 1.4.6

- signature OK
- checksums OK
- licence, notice, header, readme and release-notes files OK
- maven build OK

Dominique

> With the source release I have also included pre-compiled binaries for
> the main deployment packages (webapp, jca, standalone) as well as a
> staged Maven repository containing pre-compiled versions of all
> included components. If this vote passes, I will make the source
> release and the deployment packages available on the Jackrabbit
> download page and publish the other binaries in the central Maven
> repository.
>
> Here's my +1 vote.
>
> BR,
>
> Jukka Zitting
>
>
> Release Notes -- Apache Jackrabbit -- Version 1.5.0
>
> Introduction
> 
>
> Apache Jackrabbit is a fully conforming implementation of the Content
> Repository for Java Technology API (JCR). A content repository is a
> hierarchical content store with support for structured and unstructured
> content, full text search, versioning, transactions, observation, and
> more. Typical applications that use content repositories include content
> management, document management, and records management systems.
>
> Apache Jackrabbit 1.5 is an incremental feature release. While
> remaining compatible with previous releases, Jackrabbit 1.5 introduces
> a number of new features, improvements and fixes to known issues.
>
> The most notable changes in this release are:
>
>  * The standalone Jackrabbit server component. The runnable
>jackrabbit-standalone jar makes it very easy to start and run
>Jackrabbit as a standalone server with WebDAV and RMI access.
>
>  * Search performance improvements. The performance of certain kinds
>of hierarchical XPath queries has improved notably.
>
>  * Simple Google-style query language. The new GQL query syntax
>makes it very easy to express simple full text queries.
>
>  * Transaction-safe versioning. Mixing transactions and versioning
>operations has traditionally been troublesome in Jackrabbit.
>This release contains a number of improvements in this area and
>has specifically been reviewed against potential deadlock issues.
>
>  * Clustered workspace creation. A new workspace created in one
>cluster node will now automatically appear also in the other
>nodes of the cluster.
>
>  * SPI improvements. The SPI layer introduced in Jackrabbit 1.4
>has seen a lot of improvements and bug fixes, and is shaping
>up as a solid framework for implementing JCR connectors.
>
>  * Development preview: JSR 283 features. We have implemented
>a number of new features defined in the public review draft of
>JCR 2.0, created in JSR 283. These new features are accessible
>through special "jsr283" interfaces in the Jackrabbit API. Note
>however that none of these features are ready for production use,
>and will be replaced with final JCR 2.0 versions in Jackrabbit 2.0.
>
> See the Apache Jackrabbit website at http://jackrabbit.apache.org/ for
> more information.
>
> Release Contents
> 
>
> This release consists of a single source archive (jackrabbit-1.5.0-src.jar)
> that contains all the Apache Jackrabbit components. Use the following
> commands (or the equivalent in your system) to build the release with
> Maven 2 and Java 1.4 or higher:
>
>jar xf jackrabbit-1.5.0-src.jar
>cd jackrabbit-1.5.0-src
>mvn install
>
> Note that the OCM components require Java 5 or higher, and are not included
> in the build when using Java 1.4.
>
> The source archive is accompanied by SHA1 and MD5 checksums and a PGP
> signature that you can use to verify the authenticity of your download.
> The public key used for the PGP signature can be found at
> https://svn.apache.org/repos/asf/jackrabbit/dist/KEYS.
>
> The build will result in the following components (with artifactIds in
> parenthesis) being built and installed in your local Maven repository.
> Pre-built binary artifacts of these components are also available on
> the on the central Maven repository.
>
>  * Jackrabbit Parent POM (jackrabbit-parent)
>The Maven pa