You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2010/04/13 15:52:42 UTC
[Lucene-java Wiki] Update of "GdataServer/HowTo" by RobertMuir
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Lucene-java Wiki" for change notification.
The "GdataServer/HowTo" page has been changed by RobertMuir.
The comment on this change is: update trunk location.
http://wiki.apache.org/lucene-java/GdataServer/HowTo?action=diff&rev1=8&rev2=9
--------------------------------------------------
* keyword - treats the content as a keyword (Index.UN_TOKENIZED)
* category - entry category
- If no predefined strategy matches, custom implementation can be created by subclassing [[http://svn.apache.org/viewvc/lucene/java/trunk/contrib/gdata-server/src/java/org/apache/lucene/gdata/search/analysis/ContentStrategy.java?view=markup|ContentStrategy]].
+ If no predefined strategy matches, custom implementation can be created by subclassing [[http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/contrib/gdata-server/src/java/org/apache/lucene/gdata/search/analysis/ContentStrategy.java?view=markup|ContentStrategy]].
Fields using custom content strategy implementation need to be configured using the {{{custom}}} element:
{{{
@@ -167, +167 @@
* Service - implements org.apache.lucene.gdata.server.ServiceFactory
* Authenticaton - implements org.apache.lucene.gdata.server.authentication.AuthenticationController
- These components or rather the implementation will be loaded at server startup and registered in the [[http://svn.apache.org/viewvc/lucene/java/trunk/contrib/gdata-server/src/java/org/apache/lucene/gdata/server/registry/GDataServerRegistry.java?view=markup|core component]] of the server as a singleton. To access components at runtime the core component provides a JNDI like lookup service. The Registry calles the components initialize method while registering and the destory method on shutdown to release all resources.
+ These components or rather the implementation will be loaded at server startup and registered in the [[http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/contrib/gdata-server/src/java/org/apache/lucene/gdata/server/registry/GDataServerRegistry.java?view=markup|core component]] of the server as a singleton. To access components at runtime the core component provides a JNDI like lookup service. The Registry calles the components initialize method while registering and the destory method on shutdown to release all resources.
To register a configured class as a component the class must be annotated with the public {{{org.apache.lucene.gdata.server.registry.Component}}} which is visible at runtime.
{{{