Skip to content

Play2.2:angularjs:Solr:mongodb: Integration of solr search coupled with content retrieval from mongodb.

License

Notifications You must be signed in to change notification settings

ilantoren/Play-with-Solr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SOLR-MONGODB-ANGULARJS

This is an extension of an existing github project : https://github.com/lashford/modern-web-template

In addition there is incorporated into the project an autoComplete with Solr as explained at http://www.cominvent.com/2012/01/25/super-flexible-autocomplete-with-solr/

The purpose of this project is to integrate the two concepts: solr search coupled with content retrieval from mongodb. All calls to mongo and solr, however go through Play2.2 REST calls as would be done on a hosted web service. In order to help speed the response the EHCache (default) from Play is used to hold previous suggests.

Setup;

First, install mongodb and using the console load the loadPlaces (example-data/mongodb) into the test db Second, install solr and create the ac folder using the contents of the example-data/solr folder. Start Solr (solr-xxxx/example) java -jar start.jar, select the ac core, and from the documents tab upload the file into the core. If you don't see in the overview that documents were added then restart solr.

You can test that the basic queries work by using the console query utility.

About

Play2.2:angularjs:Solr:mongodb: Integration of solr search coupled with content retrieval from mongodb.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages