Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
3.6. Reader strategy configuration
The different reader strategies are described in Section 2.3, “Reader strategy”. Out of the box strategies are:
shared: share index readers across several queries. This strategy is the most efficient.not-shared: create an index reader for each individual query
The default reader strategy is
shared. This can be adjusted:
hibernate.search.reader.strategy = not-shared
hibernate.search.reader.strategy = not-shared
Adding this property switches to the
not-shared strategy.
Or if you have a custom reader strategy:
hibernate.search.reader.strategy = my.corp.myapp.CustomReaderProvider
hibernate.search.reader.strategy = my.corp.myapp.CustomReaderProvider
where
my.corp.myapp.CustomReaderProvider is the custom strategy implementation.