lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Solr Wiki] Update of "DataImportHandler" by NoblePaul
Date Wed, 26 Mar 2008 09:59:15 GMT
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 NoblePaul:
http://wiki.apache.org/solr/DataImportHandler

------------------------------------------------------------------------------
   * For each row given by ''deltaQuery'', the parentDeltaQuery is executed.
   * If any row in the root/child entity changes, we regenerate the complete SOLR document
which contained that row.
  
- = Usage with RSS/ATOM =
+ = Usage with XMl/HTTP Datasource =
- You can use DataImportHandler to index data from HTTP based data sources. This includes
using indexing from REST/XML APIs as well as from RSS/ATOM Feeds.
+ DataImportHandler can be used to index data from HTTP based data sources. This includes
using indexing from REST/XML APIs as well as from RSS/ATOM Feeds.
  
  == Configuration in solrconfig.xml ==
  A sample DataImportHandler configuration in solrconfig.xml looks like this
@@ -293, +293 @@

      </lst>
    </requestHandler>
  }}}
+ ''' The attributes are '''
  
- ''Note''
-  * baseUrl is optional, you should use it when the host/port changes between Dev/QA/Prod
environments. Using this attribute isolates the changes to be made to the solrconfig.xml
+  * '''`baseUrl`''' (optional): you should use it when the host/port changes between Dev/QA/Prod
environments. Using this attribute isolates the changes to be made to the solrconfig.xml
-  * encoding is optional, by default the response from the URL is read in UTF-8 encoding

+  * '''`encoding`'''(optional): by default the response from the URL is read in UTF-8 encoding

-  * connectionTimeout is optional, the default value is 5000ms 
+  * '''`connectionTimeout`''' (optional):The default value is 5000ms 
-  * readTimeout is optional, the default value is 10000ms 
+  * '''`readTimeout`''' (optional): the default value is 10000ms 
  == Configuration in data-config.xml ==
-  * TODO
+ -- TODO --
+  
  
  = Extending the tool with APIs =
  The examples we explored are admittedly, trivial . It is not possible to have all user needs
met by an xml configuration alone. So we expose a few interfaces which can be implemented
by the user to enhance the functionality.

Mime
View raw message