Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

svn commit: r532502 - in /lenya/trunk/src: modules/lucene/ modules/lucene/j: msg#00186

cms.lenya.cvs

Subject: svn commit: r532502 - in /lenya/trunk/src: modules/lucene/ modules/lucene/java/src/org/apache/cocoon/components/search/components/impl/ pubs/default/config/search/ pubs/default/java/src/org/apache/lenya/defaultpub/cms/publication/templating/

Author: nettings
Date: Wed Apr 25 15:08:29 2007
New Revision: 532502

URL: http://svn.apache.org/viewvc?view=rev&rev=532502
Log:
finish rename from config/lucene_index.xconf to
config/search/lucene_index.xml, thanks to richard for spotting this!
committed despite the code freeze, because this change had
been agreed on and announced to the users list well before the freeze...

Added:
lenya/trunk/src/pubs/default/config/search/lucene_index.xml
- copied unchanged from r532371,
lenya/trunk/src/pubs/default/config/search/lucene_index.xconf
Removed:
lenya/trunk/src/pubs/default/config/search/lucene_index.xconf
Modified:
lenya/trunk/src/modules/lucene/README.txt

lenya/trunk/src/modules/lucene/java/src/org/apache/cocoon/components/search/components/impl/IndexManagerImpl.java

lenya/trunk/src/pubs/default/java/src/org/apache/lenya/defaultpub/cms/publication/templating/Instantiator.java

Modified: lenya/trunk/src/modules/lucene/README.txt
URL:
http://svn.apache.org/viewvc/lenya/trunk/src/modules/lucene/README.txt?view=diff&rev=532502&r1=532501&r2=532502
==============================================================================
--- lenya/trunk/src/modules/lucene/README.txt (original)
+++ lenya/trunk/src/modules/lucene/README.txt Wed Apr 25 15:08:29 2007
@@ -6,7 +6,7 @@
Configuration
-------------

- Each publication has a configuration at PUB/config/search/lucene_index.xconf
which is being defined
+ Each publication has a configuration at PUB/config/search/lucene_index.xml
which is being defined
by
java/src/org/apache/cocoon/components/search/components/impl/IndexManagerImpl.java



Modified:
lenya/trunk/src/modules/lucene/java/src/org/apache/cocoon/components/search/components/impl/IndexManagerImpl.java
URL:
http://svn.apache.org/viewvc/lenya/trunk/src/modules/lucene/java/src/org/apache/cocoon/components/search/components/impl/IndexManagerImpl.java?view=diff&rev=532502&r1=532501&r2=532502
==============================================================================
---
lenya/trunk/src/modules/lucene/java/src/org/apache/cocoon/components/search/components/impl/IndexManagerImpl.java
(original)
+++
lenya/trunk/src/modules/lucene/java/src/org/apache/cocoon/components/search/components/impl/IndexManagerImpl.java
Wed Apr 25 15:08:29 2007
@@ -123,7 +123,7 @@
/**
* The name of the index configuration file.
*/
- public static final String INDEX_CONF_FILE = "search/lucene_index.xconf";
+ public static final String INDEX_CONF_FILE = "search/lucene_index.xml";

/**
* check the config file each time the getIndex is called to update if
necessary the

Modified:
lenya/trunk/src/pubs/default/java/src/org/apache/lenya/defaultpub/cms/publication/templating/Instantiator.java
URL:
http://svn.apache.org/viewvc/lenya/trunk/src/pubs/default/java/src/org/apache/lenya/defaultpub/cms/publication/templating/Instantiator.java?view=diff&rev=532502&r1=532501&r2=532502
==============================================================================
---
lenya/trunk/src/pubs/default/java/src/org/apache/lenya/defaultpub/cms/publication/templating/Instantiator.java
(original)
+++
lenya/trunk/src/pubs/default/java/src/org/apache/lenya/defaultpub/cms/publication/templating/Instantiator.java
Wed Apr 25 15:08:29 2007
@@ -215,7 +215,8 @@
String indexDir = "lenya/pubs/" + newPublicationId +
"/work/lucene/index";

indexSource = (ModifiableSource)
resolver.resolveURI(publicationsUri + "/"
- + newPublicationId + "/config/search/lucene_index.xconf");
+ + newPublicationId + "/config/"
+ +
org.apache.cocoon.components.search.components.impl.IndexManagerImpl.INDEX_CONF_FILE);
Document indexDoc =
DocumentHelper.readDocument(indexSource.getInputStream());
Element[] indexElement =
DocumentHelper.getChildren(indexDoc.getDocumentElement(), null, "index");


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
solaris.opensol...    editors.vim/200...    web.turbogears....    jakarta.ant.dev...    mathematics.max...    text.unicode.ge...    lang.ruby.core/...    xfce.announce/2...    network.centeri...    php.cvs.pear/20...    user-groups.lin...    kde.devel.quant...    file-systems.ar...    redhat.fedora.t...    apple.fink.auto...    gnome.orbit.gen...    qplus.devel/200...    culture.transpo...    video.dri.user/...    operators.nanog...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation