-
3 votesanswersviews
具有动态字段的Spring Data Solr无法正常工作
我试图用动态字段索引文档并定义它: @SolrDocument(solrCoreName = "collection1") public class SolrProduct { @Field String id; @Field String name; @Field("mappedField_*") Ma... -
1 votesanswersviews
Spring Data Solr - 映射自定义存储库时的异常
我正在尝试使用自定义存储库进行分面搜索,如下所示: 库: public interface POISearchRepository extends CustomSolrRepository, SolrCrudRepository<POISearch, String> 自定义界面: public interface CustomSolrRepository { Facet... -
1 votesanswersviews
使用Solr和Spring自动完成 - 多个单词的问题
我使用Spring Data Solr索引了一个位置数据库 . 我有以下字段: <field name="id" type="string" indexed="true" stored="true" required="true" multiValued="false" /... -
0 votesanswersviews
Spring数据solr - 多语言支持
我将实现多语言搜索功能,我正在阅读'Spring data Solr但是找不到有关如何使用Spring数据Solr实现多语言查询的更多细节 . 考虑有一个带有动态字段的Solr集合,我们根据区域设置索引文档 . 现在,如果我使用Spring数据Solr,我将不得不创建一个包含与所有语言环境匹配的字段的实体 . 例如 . Solr schema.xml中定义的字段 ...... dynamicFi...