Hi,
As far as I'm aware when a new document is added to JR it is indexed by
lucene using the default maxFieldLength value in lucene which is 10000. I
want to increase this to allow all of a large document to be indexed and
hence searchable. Am I correct to assume that this isnot currently possible?
I propose to add a param to the Repository.xml which will be used like this:
<SearchIndex
class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
<param name="path" value="${wsp.home}/index"/>
<param name="maxFieldLength" value="Integer.MAX_VALUE"/>
</SearchIndex>
I guess I just need to follow in the source where other similar values for
SearchIndex are set and do similar. Does this sound like a sensible way to
proceed or can this default be changed already?
Thanks for your help, Thomas
--
View this message in context:
http://www.nabble.com/maxFieldLength-value-used-for-lucene-indexing-t1362733.html#a3651728
Sent from the Jackrabbit - Dev forum at Nabble.com.