Dear Wiki user,

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

The "S14ESSAddendum" page has been changed by DavidSmiley.
http://wiki.apache.org/solr/S14ESSAddendum?action=diff&rev1=2&rev2=3

--------------------------------------------------

  In some Solr usage situations you may need to prevent duplication where 
documents that are the same could get added.  This is called ''deduplication''. 
 This doesn't have to do with your unique key field, it is for when there is 
some other text field(s) that should be unique, perhaps from a crawled file.  
This feature is [[Deduplication|documented on Solr's wiki]].
  
  === Automatically Committing ===
- The book discusses how to explicitly commit added data. Solr can also be 
configured to automatically commit.  This feature is particularly useful when 
updating the index with changed data as it occurs externally. 
+ The book discusses how to explicitly commit added data. Solr can also be 
configured to automatically commit.  This feature is particularly useful when 
updating the index with changed data as it occurs externally.
  
   * autoCommit
  
  In solrconfig.xml there is an <updateHandler> configuration element. Within 
it there is the following XML commented in the default configuration:
  {{{
-     <autoCommit> 
+     <autoCommit>
        <maxDocs>10000</maxDocs>
-       <maxTime>1000</maxTime> 
+       <maxTime>1000</maxTime>
      </autoCommit>
  }}}
- You can specify `maxDocs` and/or `maxTime` depending on your needs.  
`maxDocs` simply sets a threshold at which a commit happens if there are this 
many documents not yet committed.  Most useful is `maxTime` (milliseconds) 
which essentially sets a count-down timer from the first document added after 
the previous commit for a commit to occur automatically.  The only problem with 
using these is that it can't be disabled, which is something you might want to 
do for bulk index loads.  Instead, consider `commitWithin` described below. 
+ You can specify `maxDocs` and/or `maxTime` depending on your needs.  
`maxDocs` simply sets a threshold at which a commit happens if there are this 
many documents not yet committed.  Most useful is `maxTime` (milliseconds) 
which essentially sets a count-down timer from the first document added after 
the previous commit for a commit to occur automatically.  The only problem with 
using these is that it can't be disabled, which is something you might want to 
do for bulk index loads.  Instead, consider `commitWithin` described below.
  
   * commitWithin
  
@@ -115, +115 @@

  The `ms` function deals with times in milliseconds since the common 1970 
epoch.  Arguments either refer to a date field or it is a literal (ex: 
2000-01-01T00:00:00Z ).  Without arguments it returns the current time.  One 
argument will return the time referenced, probably a field reference.  When 
there are two, it returns the difference `x-y`. This function is useful when 
boosting more recent documents sooner. There is excellent information on this 
subject [[SolrRelevancyFAQ#How_can_I_boost_the_score_of_newer_documents|at the 
wiki]].
  
   * Function Range Queries
- Functions Queries can also be used for filtering searches.  Using the 
`frange` QParserPlugin, you specify a numeric range applied on the given 
function query.  This advanced technique is best described at 
+ Functions Queries can also be used for filtering searches.  Using the 
`frange` QParserPlugin, you specify a numeric range applied on the given 
function query.  This advanced technique is best described at
- 
[[http://www.lucidimagination.com/blog/2009/07/06/ranges-over-functions-in-solr-14/|Yonik's
 blog post]] at Lucid Imationation. 
+ 
[[http://www.lucidimagination.com/blog/2009/07/06/ranges-over-functions-in-solr-14/|Yonik's
 blog post]] at Lucid Imationation.
  
  == Chapter 6: Search Components ==
  
@@ -126, +126 @@

  
  More details: [[ClusteringComponent]]
  
- == Chapter 7: Deployment == 
+ == Chapter 7: Deployment ==
  
   * XInclude
  The `solrconfig.xml` file can be broken up into pieces and then included 
using the [[http://www.w3.org/TR/xinclude/|XInclude]] spec. An example of this 
is the following line:
@@ -140, +140 @@

  Solr incorporates a contrib module called [[VelocityResponseWriter]] (AKA 
Solritas).  By using a special request handler, you can rapidly construct user 
web front-ends using the [[http://velocity.apache.org/|Apache Velocity]] 
templating system. It isn't expected that you would build sites with this, just 
proof-of-concepts.
  
   * AJAX-Solr forks from SolrJs
- [[http://wiki.github.com/evolvingweb/ajax-solr|AJAX Solr]] is another option 
for browser JavaScript integration with Solr. Unlike SolrJs (from which it 
derives), AJAX-Solr is not tied to JQuery or any other JavaScript framework for 
that matter. 
+ [[http://wiki.github.com/evolvingweb/ajax-solr|AJAX Solr]] is another option 
for browser JavaScript integration with Solr. Unlike SolrJs (from which it 
derives), AJAX-Solr is not tied to JQuery or any other JavaScript framework for 
that matter.
  
   * Native PHP support
  PHP5 now has a [[http://us3.php.net/manual/en/book.solr.php|client API]] for 
interacting with Solr.

Reply via email to