Questions tagged [spring-data-solr]

Spring Data for Apache Solr is one of the sub-projects of Spring Data oriented towards facilitating the use of the search engine Apache Solr.

Spring Data for Apache Solr is another of the projects included in Spring Data, implmenting the Spring Data repository API to connect with a Apache Solr data store. It uses the same programming model as other Spring Data projects (MongoDB, JPA, Gemfire, NeoJ) and it also contains abstractions to easily bootstrap an embedded Solr server.

Annotations like @Facet, @Highlight and @Boost enable access to Solr specific functionality.

236 questions
0
votes
1 answer

Is there a way to integrate spring-data-solr with Tika?

Is there a way, via configuration, to use spring-data-solr with Tika? Otherwise, is there some alternative to solrj’s ContentStreamUpdateRequest+addfile for spring-data-solr? Currently I am using Solrj + Tika in this manner: SolrServer server = new…
Osy
  • 1,613
  • 5
  • 21
  • 35
0
votes
0 answers

Solr 4.6 Suggester does not correct spelling

I am beginner in Solr. I am using Solr 4.6 and Spring 3.x Following is my Suggester Config in solrconfig.xml suggest
Ankur Raiyani
  • 1,509
  • 5
  • 21
  • 49
0
votes
2 answers

Spring Solr Spell Checker Component to match closet word

I am new to Solr. I am using spring 3.x and Solr 4.6 Below is my Schema.xml
Ankur Raiyani
  • 1,509
  • 5
  • 21
  • 49
0
votes
1 answer

Precedence in Spring Solr Query when using a list

I am trying to get a Spring Solr query using a repository and implement the following findByXOrYAndZ The precedence should be as follows: (X OR Y) AND Z I am using a SolrCrudRepository: Page findByXOrYAndZ(List x, Boolean y,…
checklist
  • 12,340
  • 15
  • 58
  • 102
0
votes
1 answer

Precedence in Spring Solr Query

I am trying to get a Spring Solr query using a repository findByXOrYAndZ The precedence should be as follows: (X OR Y) AND Z I am using a SolrCrudRepository but I guess any of the repo would work. How can I enforce this?
checklist
  • 12,340
  • 15
  • 58
  • 102
0
votes
1 answer

How can i query a where condition in Solr?

I need to write a solr query for search autocomplete where user can enter a product_name OR product_style_no where competitor_id=1 , and returns a list of competitors. I ve used Spring Data Solr @Query annotation but not able to implement 'WHERE'…
user3095886
  • 37
  • 1
  • 1
  • 4
0
votes
1 answer

Spring Data Solr geoqueries

I've just started to play a little bit around Solr and managed to get it running within a Tomcat servlet container. I would like now to use the repository approach from Spring Data but got stucked when trying to handle lat/lon fields (i.e.:…
jarandaf
  • 4,297
  • 6
  • 38
  • 67
0
votes
1 answer

Spring Data Solr with Solr 4.1 multicores

Trying to implement Spring-Data-Solr with Solr 4.1 multicores, At server startup getting following exception, I guess it expecting a default constructor somewhere. So, is there a limitation of spring-data-solr with solr muticores…
rupanjan
  • 169
  • 2
  • 11
0
votes
1 answer

How to Get Clusterstate of SolrCloud with Spring Data Solr?

I have a SolrCloud cluster and there are many Solr instances running within it. They are managed over a distributed Zookeeper ensemble. Is there any way for Spring Solr data that will give external Zookeeper ensemble host names to a method so that…
kamaci
  • 72,915
  • 69
  • 228
  • 366
0
votes
1 answer

How to integrate spring-data-jpa and spring-data-solr?

To enable full text search, I ever used hibernate-search and solrJ, No I am trying spring-data-solr, but found I seems not working together with spring-data-jpa. I just can't make the configuration correct. If I add the following solr configuration…
Tom
  • 2,857
  • 9
  • 46
  • 59
-3
votes
1 answer

Solr - Parent child documents

I need to store parent - child documents in solr and need an ability to apply filter to both parent and child record and return both parent and child document as a single record in the response. Does anyone has any idea if this can be achieved using…
1 2 3
15
16