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 HossMan:
http://wiki.apache.org/solr/FAQ

------------------------------------------------------------------------------
- This is the Official Solr FAQ.
+ This is the Official Solr FAQ.  There is also a [:SolrRelevancyFAQ:Relevancy 
FAQ] for addressing questions specific to how Relevancy Scoring works in Solr.
  
  [[TableOfContents]]
  
@@ -177, +177 @@

  
  Solr's uses [http://lucene.apache.org/ Lucene] for ranking.  A detailed 
summary of the ranking calculation can be obtained by adding 
[http://wiki.apache.org/solr/CommonQueryParameters#head-f45a9396425956a4db8d6478ed6029adfb7b0858
 `debugQuery=true`] to the query parameter list.  The output takes some getting 
used to if you are not familiar with Lucene's ranking model.
  
+ The SolrRelevancyFAQ has more information on understanding why documents rank 
the way they do.
+ 
+ == Why Isn't Sorting Working on my Text Fields? ==
+ 
+ Lucene Sorting requires that the field you want to sort on be indexed, but it 
cannot contain more then one "token" per document.  Most Analyzers used on Text 
fields result in more then one token, so the simplest thing to do is to use 
copyField to index a second version of your field using the !StrField class.
+ 
+ If you need to do some processing on the field value using !TokenFilters, you 
can also use the !KeywordTokenizer, see the Solr example schema for more 
information.
+ 
  = Performance =
  
  == How fast is indexing? ==

Reply via email to