: Hi, I have played with the solr example web app, it works well. I wonder how
: do I do the same searching, or faceted searching without relying on the web
: application, i.e., sending request by urls etc. In other words, essentially
: how does the search and faceting work? Could you please point me to
: something (other than the web app) to start with... many thanks!

If you want to understand how Solr works, start with Yonik's intro to Solr 
slides from ApacheConEU2006 ... then dig into the code.  the javadocs are 
online, and most of the major classes are well documented.  if you start 
with the SolrDispatchFilter you can trace the flow of logic for each 
request through all of hte various key classes/methods.

http://wiki.apache.org/solr/SolrResources

if you'd like a high level overview of how faceting works, start with my 
slides from ApacheConUS2006, then look at this wiki...
   http://wiki.apache.org/solr/SimpleFacetParameters
...and note the link to the "SimpleFaceets" javadocs that's the class to 
drill into to see how it actually works


Regarding your broader question...

the guts of Solr can be embedded into another Java application, but it is 
definitely "advanced" usage ... i personally don't recommend it...

http://wiki.apache.org/solr/EmbeddedSolr



-Hoss

Reply via email to