Thanks for your response Jan.
For clustered environtments, I've read on "Liferay Administrator Guide 6" that for Lucene, the most recommended configuration is SOLR (or another plugin).
In second place, this book recommends storage of indexes in database.
I'm not the person who manage systems, I cannot touch any parameter of apache, or the application server. I only have access to portal-ext.properties.
The people who manage systems (web server, application server, ... ) don't gonna install SOLR or another plugin.
I don't have a cluster configurated on the application server (Weblogic), then, I think that a lot of "cluster parameters" in portal-ext.properties cannot be applied. Because I've only have a HTTP balancer, is don't a cluster really.
For example, I cannot set:
lucene.replicate.write=false
Because I don't have a cluster. Only two instances sharing the same database.
Then I think, my best option is share indexes accross database. At this time, the cache is disabled. Only Liferay Cache is running. And the users are planned to be "non registered users" (no content edit).
My doubt, if I shoult set another parameter to store on database. I only have:
lucene.store.type=jdbc
Seems to work fine. But I've read that for some bug I should set :
# Lucene's storage of indexes via JDBC has a bug where temp files are not
# removed. This can eat up disk space over time. Set this to true to
# automatically clean up the temporary files regularly. See LEP-2180.
#
lucene.store.jdbc.auto.clean.up.enabled=true
But this parameter, force me to regenerate index all days (in Liferay Portal Administration), or searcher don't run.
Maybe, I should put this parameter with this:
lucene.store.jdbc.auto.clean.up.interval=1440 (but with a high value)
Greetings!
pd: sorry about my poor english
Please sign in to flag this as inappropriate.