Solr MongoDB data import handler support delta delete nested object

Overview MongoDB’s full text search is pretty basic, much like what’s offered in relational databases, which might be sufficient for you. However, if you need more advanced search capability, Solr will come to your mind. However, there’s no official (supported/complete) solution to integrate MongoDB and Solr. Here I’m going to throw in some solutions Options Option ...

working with spring-data-solr spring-data-mongodb

Problem statement Recently I’m running into an issue when trying to add spring-data-solr into a project that’s already using spring-data-mongodb Here is my maven/gradle dependency dataMongo: "org.springframework.data:spring-data-mongodb:1.8.4.RELEASE", dataSolr:"org.springframework.data:spring-data-solr:1.5.4.RELEASE"</pre> Here is my spring configuration: application-context.xml The moment I’ve added the dependency, the build is broken with the following error Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [posts.dao.ActivityTrackRepository] found ...

Solr DataImportHandler delta scheduler

Solr DataImportHandler delta scheduler
Background The DataImportHandler is a Solr contribution that provides a configuration driven way to import data from database or XML file into Solr. It takes care of Full builds (aka full index) Delta builds (incremental delta imports, which indexes newly added or modified documents as well as deleted documents) Official Solr wiki document Quick start Data import request ...

Solr velocity.properties velocity.log

I’ve been working at getting Solr working under Tomcat, and ran into velocity.log issue I’m documenting my troubles and their solutions here because otherwise they won’t exist on the web for people to find. Putting solutions to problems on the web makes them findable for the next poor guy who has the same problem. I ...

Solr WordDelimiterFilterFactory

When implementing a search solution, you often enter a search that you know should match a particular document, but it does not appear in the search results, or even it does, it’s not on the top (most relevant match). Most of the time, this type of mismatch is caused by one of two factors: A ...

Enable UTF-8 encoding in Solr

In the recent Solr project, my client requested the solr to support Russian (both index and search). For example (find little kittens, the search query looks like) http://127.0.0.1:8080/search/ru/select/?q=котята Background Solr can index any characters encoded in the UTF-8 charset. There are no known bugs with Solr’s character handling, but there have been some reported issues with ...

Solr DataImportHandler converts MySQL TINYINT to Boolean

1. Database table column definition is_active  tinyint(1) NOT NULL DEFAULT ‘1’, 2. Solr schema.xml <field name=”is_active” type=”boolean” indexed=”true” stored=”true” multiValued=”false” />