Este conteúdo não está disponível no idioma selecionado.

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
Copy to Clipboard Toggle word wrap
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
Copy to Clipboard Toggle word wrap
where my.corp.myapp.CustomReaderProvider is the custom strategy implementation.
Voltar ao topo
Red Hat logoGithubredditYoutubeTwitter

Aprender

Experimente, compre e venda

Comunidades

Sobre a documentação da Red Hat

Ajudamos os usuários da Red Hat a inovar e atingir seus objetivos com nossos produtos e serviços com conteúdo em que podem confiar. Explore nossas atualizações recentes.

Tornando o open source mais inclusivo

A Red Hat está comprometida em substituir a linguagem problemática em nosso código, documentação e propriedades da web. Para mais detalhes veja o Blog da Red Hat.

Sobre a Red Hat

Fornecemos soluções robustas que facilitam o trabalho das empresas em plataformas e ambientes, desde o data center principal até a borda da rede.

Theme

© 2025 Red Hat