On Fri 2013-05-31 11:17, Hardy Ferentschik wrote:
On 31 Jan 2013, at 11:13 AM, Hardy Ferentschik <hardy(a)hibernate.org> wrote:
>> Set<String> getIndexNames();
>>
>> Would something like Set<IndexDescriptor> getIndexes() make sense?
>
> That's an interesting thought. In fact I was wondering whether more index
specific information is needed. On the other hand,
> I was thinking thinking that as long as you have the index name you can always get
more information via accessing the IndexManager
> directly - SearchFactoryImplementor.getAllIndexesManager.getIndexManager(String
indexName)
Forgot to mention that I really dislike getAllIndexesManager(). I would love to rename it
to getIndexManagers() or getIndexManagerHolder().
Might be something for Search 5!?
I'd say deprecate the existing one and create getIndexManagerHolder()
right now. No need to wait for 5.