[
http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-200?pag...
]
Hardy Ferentschik commented on HSEARCH-200:
-------------------------------------------
I think per DirectoryProvider is fine.
The question I ask myself is how this approach with two property sets - batch vs
transaction. For the initial properties we exposed - max_merge_docs and merge_factor it
made sense to have this separation, since we wanted to benefit from different values for
indexing vs searching. max_field_length seems different. The differentiation between batch
vs transaction does not matter here, right? Do we stick with it just for consistency?
Would it maybe not be better to do something like this:
hibernate.search.[default|<indexname>].max_field_length,
hibernate.search.[default|<indexname>].[batch|transaction]?.merge_factor,
hibernate.search.[default|<indexname>].[batch|transaction]?.max_merge_docs,
hibernate.search.[default|<indexname>].[batch|transaction]?.max_buffered_docs
Meaning you can specify hibernate.search.[default|<indexname>].merge_factor which
will apply the same setting for batch and transaction.
I am actually not sure whether batch vs transaction makes sense for ram_buffer_size as
well?
Alternatively, we could think about finding a way to expose the IndexWriters. This way you
could get hold of them and set values we haven't exposed yet programmaticly.
Expose IndexWriter setting MAX_FIELD_LENGTH via IndexWriterSetting
------------------------------------------------------------------
Key: HSEARCH-200
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-200
Project: Hibernate Search
Issue Type: New Feature
Components: engine
Affects Versions: 3.0.1.GA
Reporter: Hardy Ferentschik
Priority: Minor
http://forum.hibernate.org/viewtopic.php?t=987001
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira