Hi Nicolas,
Is it possible to add the index when the IndexManager is already
configured? I would like to add an index in runtime.
Can you tell me how i should retrieve the IndexManager from another
piece of code?
Thanks!
Nicolas Maisonneuve wrote:
variable: no possible
but you can change
I am sorry for my rude, general question. I will specify my problem some
more:
I am using the IndexManager for a number of predefined indexes, but i
also want to add indexes while cocoon is running. The idea is to read an
modified index definition with code similar to the
look in the source code
org.apache.cocoon.components.search.components.impl.IndexManager#ConfigureIndexManager
On 8/29/05, Robert Goene [EMAIL PROTECTED] wrote:
I am sorry for my rude, general question. I will specify my problem some
more:
I am using the IndexManager for a number of
variable: no possible
but you can change the index location programmaticaly:
IndexManager.getIndex(MyIndexName).setDirectory(MyNewPath);
i hope this could be usefull for you
On 8/23/05, Robert Goene [EMAIL PROTECTED] wrote:
I think i have solved it already. It is quite difficult to combine
I forgot to specify: if you do this , be carefull that the
indexwriter or indexreader are not opened.
nicolas
On 8/24/05, Nicolas Maisonneuve [EMAIL PROTECTED] wrote:
variable: no possible
but you can change the index location programmaticaly:
what error do you have exactly ?
On 8/22/05, Robert Goene [EMAIL PROTECTED] wrote:
Thanks! I have included the lucene2.roles in the lenya.roles
configuration. I assume i have to do some more configuration on the
IndexManager part, because i get an error.
Do you happen to have an example of
Hi,
I am working on the Apache Lenya project and integrating the
LuceneSearchTransformer. I saw the contribution of Nicolas Maisonneuve
to the Cocoon community
(http://issues.apache.org/bugzilla/show_bug.cgi?id=32263) and it
contained a number of features i wanted to implement myself. Of
i have a old searchTransformer that didn't work because i was
refactoring all the project 'SearchTransformer, IndexTransformer) for
working with Spring. and Hibernate and cforms for the configuration.
the searchTransformer have a xml search query, with 3 query type,
fulltext query (choose the
Hi,
Thanks for your reply. I actually meant the LuceneIndexTransformer, not
a searchTransformer. I cannot make the one found in bugzilla work in my
setup. It is probably something very simple, but it could also be caused
by a fundamental difference betweeen cocoon 2.1 and 2.2
Are there any
sorry to forgot to answer to your question ;-)
the components declaration is differents between 2.1 and 2.2 .
in 2.2 the component declaration are in WEB-INF/xconf/
(searchengine.xconf for the lucene block)
in 2.1 you have to modify the cocoon.xconf (i think you have to add
Thanks! I have included the lucene2.roles in the lenya.roles
configuration. I assume i have to do some more configuration on the
IndexManager part, because i get an error.
Do you happen to have an example of a complete configuration? I have
some troubles finding some good documentation. Some
11 matches
Mail list logo