Dear Wiki user, You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.
The "DataImportHandler" page has been changed by FergusMcMenemie. The comment on this change is: removal of more obsolete ! chars. http://wiki.apache.org/solr/DataImportHandler?action=diff&rev1=243&rev2=244 -------------------------------------------------- The lines read can be filtered by two regular expressions '''acceptLineRegex''' and '''omitLineRegex'''. This entities additional attributes are: - * '''`url`''' : a required attribute that specifies the location of the input file in a way that is compatible with the configured datasource. If this value is relative and you are using !FileDataSource or URL!DataSource, it assumed to be relative to '''baseLoc'''. + * '''`url`''' : a required attribute that specifies the location of the input file in a way that is compatible with the configured datasource. If this value is relative and you are using !FileDataSource or URLDataSource, it assumed to be relative to '''baseLoc'''. * '''`acceptLineRegex`''' :an optional attribute that if present discards any line which does not match the regExp. * '''`omitLineRegex`''' : an optional attribute that is applied after any acceptLineRegex and discards any line which matches this regExp. example: @@ -878, +878 @@ }}} === HttpDataSource === - <!> Http!DataSource is being deprecated in favour of URLDataSource in [[Solr1.4]]. There is no change in functionality between URL!DataSource and !Http!DataSource, only a name change. + <!> HttpDataSource is being deprecated in favour of URLDataSource in [[Solr1.4]]. There is no change in functionality between URLDataSource and Http!DataSource, only a name change. === FileDataSource === - This can be used like an URL!DataSource but used to fetch content from files on disk. The only difference from URL!DataSource, when accessing disk files, is how a pathname is specified. The signature is as follows + This can be used like an URLDataSource but used to fetch content from files on disk. The only difference from URLDataSource, when accessing disk files, is how a pathname is specified. The signature is as follows {{{ public class FileDataSource extends DataSource<Reader> }}} @@ -893, +893 @@ === FieldReaderDataSource === <!> [[Solr1.4]] - This can be used like an URL!DataSource . The signature is as follows + This can be used like an URLDataSource . The signature is as follows {{{ public class FieldReaderDataSource extends DataSource<Reader> }}}
