JAMES-1894 Provide MessageId.Factory with Spring for Lucene implementation
Project: http://git-wip-us.apache.org/repos/asf/james-project/repo Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/4dec9665 Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/4dec9665 Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/4dec9665 Branch: refs/heads/master Commit: 4dec966540eed9b548a074295d500dfe25ec8543 Parents: 30fd0fe Author: Benoit Tellier <btell...@linagora.com> Authored: Fri Dec 23 09:50:13 2016 +0700 Committer: Benoit Tellier <btell...@linagora.com> Committed: Mon Jan 9 22:01:06 2017 +0700 ---------------------------------------------------------------------- .../src/main/resources/META-INF/spring/mailbox-index-lucene.xml | 1 + .../src/test/resources/META-INF/spring/mailbox-index-lucene.xml | 1 + 2 files changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/james-project/blob/4dec9665/mailbox/lucene/src/main/resources/META-INF/spring/mailbox-index-lucene.xml ---------------------------------------------------------------------- diff --git a/mailbox/lucene/src/main/resources/META-INF/spring/mailbox-index-lucene.xml b/mailbox/lucene/src/main/resources/META-INF/spring/mailbox-index-lucene.xml index 18a2c1a..1ed21f4 100644 --- a/mailbox/lucene/src/main/resources/META-INF/spring/mailbox-index-lucene.xml +++ b/mailbox/lucene/src/main/resources/META-INF/spring/mailbox-index-lucene.xml @@ -34,6 +34,7 @@ <constructor-arg index="0" ref="messageMapperFactory"/> <constructor-arg index="1" ref="mailboxIdFactory"/> <constructor-arg index="2" type="org.apache.lucene.store.Directory" ref="fsDirectory"/> + <constructor-arg index="3" ref="messageIdFactory"/> <property name="enableSuffixMatch" value="true"/> </bean> <bean id="fsDirectory" class="org.apache.lucene.store.FSDirectory" factory-method="open"> http://git-wip-us.apache.org/repos/asf/james-project/blob/4dec9665/mailbox/spring/src/test/resources/META-INF/spring/mailbox-index-lucene.xml ---------------------------------------------------------------------- diff --git a/mailbox/spring/src/test/resources/META-INF/spring/mailbox-index-lucene.xml b/mailbox/spring/src/test/resources/META-INF/spring/mailbox-index-lucene.xml index d645b30..cf51b98 100644 --- a/mailbox/spring/src/test/resources/META-INF/spring/mailbox-index-lucene.xml +++ b/mailbox/spring/src/test/resources/META-INF/spring/mailbox-index-lucene.xml @@ -34,6 +34,7 @@ <constructor-arg index="0" ref="messageMapperFactory"/> <constructor-arg index="1" ref="mailboxIdFactory"/> <constructor-arg index="2" type="org.apache.lucene.store.Directory" ref="fsDirectory"/> + <constructor-arg index="3" ref="messageIdFactory"/> <property name="enableSuffixMatch" value="true"/> </bean> <bean id="fsDirectory" class="org.apache.lucene.store.FSDirectory" factory-method="open"> --------------------------------------------------------------------- To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org