Hi all,
Can anyone provide any hints as to which Lucene-wrapper project to
integrate into AppFuse? It will either be Compass
(http://www.opensymphony.com/compass/) or Spring Lucene Module
(https://springmodules.dev.java.net/docs/reference/0.8/html/lucene.html)
.
Our main requirement is that it should facilitate in using multiple
indices (Directories?). We will, for instance, have an index for year
2000 (index2000), another index for year 2001 (index2001) right up to
index2008. index2000 to index2007 are (virtually) static, whilst
index2008 is active.
Questions:
1) Is it possible to configure Compass to make a search on a particular
index?
I know Spring Lucene module gives a lot of flexibility in juggling
several directories (indexes?):
<bean id="searcherFactory"
class="org.springmodules.lucene.search.factory.MultipleSearcherFactory">
<property name="directories">
<list>
<ref local="fsDirectory1"/>
<ref local="fsDirectory2"/>
</list>
</property>
</bean>
Can Compass do the same?
2) Can Compass differentiate such that, in our case, archived indices
2000..2007 are mapped to nested Object LegacyData, whilst index2008 is
mapped to nested Object CurrentData? This may be too much to expect! If
an update to a legacyData instance is made, will Compass 'figure out'
which legacy index to update? Again, this would be too good to be true!
3) In terms of searching, the search will be on a yearly basis,
resulting in only one index being hit at a time, which should result in
a performance gain. I take it Compass can be configured to base a search
on a particular index(s).
Unless I hear otherwise, looks like we will be using Spring Lucene
Module.
Many thanks,
Jon
BiP Solutions Limited is a company registered in Scotland with Company Number
SC086146 and VAT number 38303966 and having its registered office at Park
House, 300 Glasgow Road, Shawfield, Glasgow, G73 1SQ
****************************************************************************
This e-mail (and any attachment) is intended only for the attention of the
addressee(s). Its unauthorised use, disclosure, storage or copying is not
permitted. If you are not the intended recipient, please destroyall copies and
inform the sender by return e-mail.
This e-mail (whether you are the sender or the recipient) may be monitored,
recorded and retained by BiP Solutions Ltd.
E-mail monitoring/ blocking software may be used, and e-mail content may be
read at any time. You have a responsibility to ensure laws are not broken when
composing or forwarding e-mails and their contents.
****************************************************************************
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]