You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2007/01/09 05:28:42 UTC

[Solr Wiki] Update of "FAQ" by MikeKlaas

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.

The following page has been changed by MikeKlaas:
http://wiki.apache.org/solr/FAQ

The comment on the change is:
added basic summarization info to FAQ

------------------------------------------------------------------------------
  
  It's pronounced the same as you would pronounce "Solar".
  
- == What does Solr Stand For? ==
+ == What does Solr stand for? ==
  
  Arguably, it stands for "Searching On Lucene w/Replication" -- but it should not be considered an acronym.
  
@@ -58, +58 @@

  == How can I rebuild my index from scratch if I change my schema? ==
  
   1. Stop your application server
-  1. Delete teh `index` directory in your data directory
+  1. Delete the `index` directory in your data directory
   1. Start your application server (Solr will detect that there is no existing index and make a new one)
   1. Re-Index your data
  
@@ -107, +107 @@

  
  NOTE: Some Servlet Containers (like Tomcat5.5 and Jetty6) don't require a JDK for JSPs.
  
+ = Searching = 
  
+ == How do I add full-text summaries to my search results? ==
+ 
+ Basic highlighting/summarization can be added adding `hl=true` to the query parameters.  More advanced highlighting is described in HighlightingParameters.
+ 
+ == I have set `hl=true` but no summaries are being output ==
+ 
+ For a field to be summarizable it must be both stored and indexed.  Note that this can significantly increase the index size for large fields (e.g. the main content field of a document).  Consider storing the field using compression (`compressed=true` in the `schema.xml` `fieldType` definition).
+ 
+ == I want to add basic category counts to my search results ==
+ 
+ Solr provides support for "facets" out-of-the-box.  See SimpleFacetParameters.
+ 
+ == How can I figure out why my documents are being ranked they way they are? ==
+ 
+ Solr's uses [http://lucene.apache.org/ Lucene] for ranking.  A detailed summary of the ranking calculation can be obtained by adding `debugQuery=true` to the query parameter list.  The output takes some getting used to if you are not familiar with Lucene's ranking model.
  
  = Developing =