: Ok..thanks, I have tried and It was working fine, but now I want to find out : how solr code working. how search works? how facets works ?
Uh, well ... that's kind of a broad question. the most detailed answer i can give is "read the code" (that's the bueaty of open source). If you check out the Lucene-Java website there's lots of good info on how the underlying search is implemented. For specific information about how the Simple Faceting functionality works, you may want to take a look at the slides from my 2006 ApacheCon talk... http://lucene.apache.org/java/docs/scoring.html http://wiki.apache.org/lucene-java/Resources http://wiki.apache.org/lucene-java/InformationRetrieval http://people.apache.org/~hossman/apachecon2006us/ -Hoss