0
当我使用FullTextEntityManager
创建并保留多个@Indexed
对象时,创建索引(并且我可以通过使用QueryBuilder
执行hibernate搜索查询来验证它),索引无处可查。我运行文件系统搜索试图找到它,但没有出现。我只是发现它,因为我正在学习hibernate搜索并试图使用Luke。索引目录不出现
更新: 我使用Hibernate Search的5.2.0最终
的persistence.xml:
<!--Hibernate Search Properties-->
<property name="hibernate.search.default.directory_provider" value="filesystem"/>
<property name="hibernate.search.default.indexBase" value="/Lucene/Indexes"/>
嗨@ sarah-szabo可以标记你的答案是否正确,所以它不会显示在我的日常尝试帮助Hibernate Search用户;) – Sanne
@Sanne对不起,我的坏。 –