Skip to content

leloulight/personalized-search-using-solr

 
 

Repository files navigation

ub535p3

News Personalized Using Solr.

This project was developed as part of Project 3 in the Information Retrieval Course.
The aim of this project was to build search system that supports personalized newsreader views. The system personalizes news articles for the user based on user preferences and user behavior.The system takes into account the relevance feedback provided by the user which can be both implicit as well as explicit for personalizing his news.

UI/UX inspired by Google's Material Design Philosophy.
Demo Link: https://www.dropbox.com/s/95gui1bbf4w8wqg/TeamZeppelinMovie.mov?dl=0

Steps to setup dev environment:

We assume you are using Eclipse as the IDE.

  1. Import solr war from dist folder of solr archive downloaded from solr's website.
  2. Import ub535p3 as an eclipse Project.
  3. Copy the following files to ub535p3/WebContent/WEB-INF/lib
    From dist
    solr-4.10.2/dist/solr-solrj-4.10.2.jar
    From dist/solrj-lib
    solr-4.10.2/dist/solrj-lib/commons-io-2.3.jar
    solr-4.10.2/dist/solrj-lib/httpclient-4.3.1.jar
    solr-4.10.2/dist/solrj-lib/httpcore-4.3.jar
    solr-4.10.2/dist/solrj-lib/httpmime-4.3.1.jar
    solr-4.10.2/dist/solrj-lib/noggit-0.5.jar
    solr-4.10.2/dist/solrj-lib/wstx-asl-3.2.7.jar
    solr-4.10.2/dist/solrj-lib/zookeeper-3.4.6.jar
  4. Copy the /example/solr/collection1 folder to /solr_config folder in your Web Project.
  5. Configure both projects to be hosted on the same Tomcat server on port 8080.
  6. Change Run Configuration and add the following at the end of VM Arguments:
    -Dsolr.solr.home=".../ub535p3/solr_config" (Absolute path of the solr_config folder inside your project)
  7. Set corpus paths in RCVSolrDocumentGenerator.java, SolrDocumentGenerator.java, WikiSolrDocGenerator.java.
  8. Start the server.
  9. Click on the INDEX button on the FrontPage & wait for the text "Solr Server Commited" on the console.
  10. Now you are free to use the application and browse around.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 38.4%
  • JavaScript 34.5%
  • Java 17.1%
  • HTML 5.9%
  • XSLT 3.6%
  • CoffeeScript 0.5%