Return-Path: Delivered-To: apmail-jackrabbit-commits-archive@www.apache.org Received: (qmail 64349 invoked from network); 31 Jul 2009 13:14:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 31 Jul 2009 13:14:58 -0000 Received: (qmail 60818 invoked by uid 500); 31 Jul 2009 13:14:58 -0000 Delivered-To: apmail-jackrabbit-commits-archive@jackrabbit.apache.org Received: (qmail 60752 invoked by uid 500); 31 Jul 2009 13:14:58 -0000 Mailing-List: contact commits-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list commits@jackrabbit.apache.org Received: (qmail 60573 invoked by uid 99); 31 Jul 2009 13:14:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Jul 2009 13:14:57 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Jul 2009 13:14:48 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 2A06C2388981; Fri, 31 Jul 2009 13:14:27 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r799599 - in /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene: NodeIndexer.java SearchIndex.java Date: Fri, 31 Jul 2009 13:14:27 -0000 To: commits@jackrabbit.apache.org From: mreutegg@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090731131427.2A06C2388981@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: mreutegg Date: Fri Jul 31 13:14:26 2009 New Revision: 799599 URL: http://svn.apache.org/viewvc?rev=799599&view=rev Log: (empty) Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/NodeIndexer.java jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/SearchIndex.java Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/NodeIndexer.java URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/NodeIndexer.java?rev=799599&r1=799598&r2=799599&view=diff ============================================================================== --- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/NodeIndexer.java (original) +++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/NodeIndexer.java Fri Jul 31 13:14:26 2009 @@ -175,7 +175,7 @@ * @throws RepositoryException if an error occurs while reading property * values from the ItemStateProvider. */ - protected Document createDoc() throws RepositoryException { + public Document createDoc() throws RepositoryException { doNotUseInExcerpt.clear(); Document doc = new Document(); @@ -253,7 +253,7 @@ * * @param e the base exception. */ - private void throwRepositoryException(Exception e) + protected void throwRepositoryException(Exception e) throws RepositoryException { String msg = "Error while indexing node: " + node.getNodeId() + " of " + "type: " + node.getNodeTypeName(); @@ -267,7 +267,7 @@ * @param doc the lucene document. * @param name the name of the multi-value property. */ - private void addMVPName(Document doc, Name name) { + protected void addMVPName(Document doc, Name name) { try { String propName = resolver.getJCRName(name); doc.add(new Field(FieldNames.MVP, propName, Field.Store.NO, Field.Index.NOT_ANALYZED_NO_NORMS, Field.TermVector.NO)); @@ -283,7 +283,7 @@ * @param value the internal jackrabbit value. * @param name the name of the property. */ - private void addValue(Document doc, InternalValue value, Name name) throws RepositoryException { + protected void addValue(Document doc, InternalValue value, Name name) throws RepositoryException { String fieldName = name.getLocalName(); try { fieldName = resolver.getJCRName(name); @@ -381,7 +381,7 @@ * @param doc the document. * @param name the name of the property. */ - private void addPropertyName(Document doc, Name name) { + protected void addPropertyName(Document doc, Name name) { String fieldName = name.getLocalName(); try { fieldName = resolver.getJCRName(name); Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/SearchIndex.java URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/SearchIndex.java?rev=799599&r1=799598&r2=799599&view=diff ============================================================================== --- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/SearchIndex.java (original) +++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/SearchIndex.java Fri Jul 31 13:14:26 2009 @@ -182,12 +182,12 @@ /** * The path of the root node. */ - private static final Path ROOT_PATH; + protected static final Path ROOT_PATH; /** * The path /jcr:system. */ - private static final Path JCR_SYSTEM_PATH; + protected static final Path JCR_SYSTEM_PATH; static { ROOT_PATH = PATH_FACTORY.create(NameConstants.ROOT); @@ -202,7 +202,7 @@ /** * The actual index */ - private MultiIndex index; + protected MultiIndex index; /** * The analyzer we use for indexing. @@ -2208,7 +2208,7 @@ * * @throws IOException if this SearchIndex had been closed. */ - private void checkOpen() throws IOException { + protected void checkOpen() throws IOException { if (closed) { throw new IOException("query handler closed and cannot be used anymore."); }