Working of Apache Solr

Can anyone explain me how does Apache Solr works. I know how to create Solr instances and how to deploy that to Jetty and Tomcat. But under the hood How does Apache Solr works as it is a search library. So if I am searching anything from the interface of Apache Solr

http://localhost:8983/solr/admin/

so we get some result back. So what happens under the hood. How Solr searching works? I hope questions is clear enough. Any suggestions will be appreciated.

-------------Problems Reply------------

Well if you want to checkout how Solr work which includes what all it do once you hit the search button Than the best way to to start learning Lucene.Solr is a wrapper around Lucene with some added functionality to make its user interface more easy to work with.

You need to know various things

  1. How Solr/Lucene index data
  2. How it parse the data. there are lot of Data handler for this.
  3. How it read the query entered by the user.

I suggest you to go through Lucene wiki page and its various documents Apache Lucene

once you are familiar with that download the source code, peek inside it how they are doing the things. else if you have specific question about specific functionality better ask that question

Category:java Views:1 Time:2011-12-08

Related post

  • Apache solr search part of the word 2009-12-29

    I'm using apache solr search engine for indexing my website database.. I'm using django+http://haystacksearch.org/ So let's say I have document that have word "Chicken" When I search for "chicken" - solr can find this document But When I search "chic

  • How are the Apache Solr search results sequenced? 2010-01-08

    I have Apache Solr 6.x-1.0-rc3 module installed in my site and it works fine. I wanted to know how are the Apache Solr search results sequenced. I have tried a few things and have concluded that it's not alphabetical or according to the recently upda

  • apache solr : sum of data resulted from group by 2010-06-03

    We have a requirement where we need to group our records by a particular field and take the sum of a corresponding numeric field e.x. select userid, sum(click_count) from user_action group by userid; We are trying to do this using apache solr and fou

  • problem by integration of apache nutch (release 1.2) in apach solr (trunk) - got solr exception 2010-09-11

    I have configured the solrindex-mapping.xml (nutch) and configured my solr schema.xml and solrconfig.xml too. Both working well on single run, but if I use the bin/nutch solrindex ... I get an exception: org.apache.solr.common.SolrException: Document

  • synonym search using apache solr 2010-10-02

    I have tried search using Apache SOLR. I have done with the PHP client code for to implement with apache solr. I have indexed using the function solrUpdate and got search results using the funcion solrQuery. now i want to search using synonym search

  • How can I change the apache solr search URL in Drupal? 2011-02-18

    How can I change the default apache solr URL path search/apachesolr_search/term to something else? --------------Solutions------------- You can create a menu item that has the callback: $menu['search']['page callback'] = 'apachesolr_search_view'; Thi

  • apache solr as a service hosting 2011-03-07

    are you aware of the best companies which provide apache solr AS A SERVICE? where i can simply upload (or edit via some web control panel) my index and config files for SOLR and simply start using it i do not want to be breaking my head with any sort

  • how can I get top terms info from apache solr via Java API 2011-03-16

    I know http://localhost:8983/solr/admin/schema.jsp can provide me the top terms for any given field, while how can I get them from Java API(Java client) --------------Solutions------------- You can use the SolrJ Java client for Solr: http://wiki.apac

  • Apache SOLR search by category 2011-04-18

    I am using apache-solr-1.4.1 and jdk1.6.0_14. I have the following scenario. I have 3 categories of data indexed in SOLR i.e. CITIES, STATES, COUNTRIES. When I query data from SOLR I need the search result from SOLR based on the following criteria: I

  • org.apache.solr.common.SolrException: missing content stream 2011-04-20

    I have installed Apache Solr with Tomcat and my /solr/admin working fine. But when I try to issue /solr/update I am getting the following error. what could be the reason? org.apache.solr.common.SolrException: missing content stream --------------Solu

  • Solr: org.apache.solr.common.SolrException: Invalid Date String: 2011-05-05

    I am new to solr and this is my first attempt at indexing solr data, I am getting the following exception while indexing, org.apache.solr.common.SolrException: Invalid Date String:'2011-01-07' at org.apache.solr.schema.DateField.parseMath(DateField.j

  • searching using Apache Solr 2011-05-10

    i need to work on Apache Solr for my project. previously i worked on lucene. can anybody get me d idea what is difference b/w these two nd when we should lucene and when we should Solr. --------------Solutions------------- The way I got it was that S

  • I have Drupal Site with Load balancer installed, How to configure Apache Solr for all the slaves? 2011-05-10

    I am searching for this solution from last week [may be I am not searching in proper way.. :( ] I have Drupal Site on which uses Load Balancer. I have installed Apache solr on its Master server successfully but could not figure out how to make the ap

  • External File Field in Apache Solr 2011-05-16

    I've been trying to use ExternalFileField in ApacheSolr for external scoring. I'm using the example config. Basically I want to set scores for items using their ids. I set the fieldType idRankFile and field idRank in schema.xml: <fieldType name="i

  • how to enter words in synonyms.txt file of apache solr search 2011-05-25

    I have configured the the apache solr search on my localhost. I have read the synonyms.txt file, There i saw the Television, TV, TVs entered So I created two pages with name of TV and Television and then search the TV It give me two results TV and Te

  • Duplicate entries in apache solr index upon reindexing in Drupal 2011-05-31

    I am using apache solr search integration on my Drupal 6 website: govoluntourism.com. I have my search results themed using views and a search-result.tpl.php file. The search-result.tpl.php contains: $nid = $result['fields']['nid']['value']; echo vie

  • Apache Solr Client = How to enable "wire" logging (with log4j) 2011-06-05

    I would be very thankfull, if someone can tell me, how to enable "wire logging" (printing all the XML that is sent and received from the solr-java-client to/from the solr-server). The Client i use: http://wiki.apache.org/solr/SolJava I use log4j!! Bo

  • Apache Solr Failover Support in Master-Slave Setup 2011-06-15

    Our development team is currently looking into migrating our search system to Apache Solr, and we would greatly appreciate some advice on setup. We are indexing approximately two hundred million database rows. We add about a hundred thousand new rows

  • Restrict Apache Solr access in Glassfish. Basic Authentication vs. Firewalling 2011-06-16

    I have an Apache Solr instance deployed in Glassfish and I am using this Solr instance from Java code via Solrj. The thing is, that I want to restrict access to Solr so that just this Java code can access it (the code can run from different IP addres

  • Django/python and Apache Solr: pysolr or solrpy? 2011-06-24

    brand new on this forum and this is my first post! At work we're starting a project which uses Apache Solr and i'm in charge of the frontend system (Django-based). Our solr database isn't related to any other db engine nor to any models' class, so Ha

Copyright (C) dskims.com, All Rights Reserved.

processed in 0.178 (s). 11 q(s)