-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NUTCH-3032 Code for an ArbitraryIndexingFilter to index values resolv…
…ed by user POJO code at index time (#810)
- Loading branch information
1 parent
1563396
commit c9e2f4e
Showing
11 changed files
with
794 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?xml version="1.0"?> | ||
<!-- | ||
Licensed to the Apache Software Foundation (ASF) under one or more | ||
contributor license agreements. See the NOTICE file distributed with | ||
this work for additional information regarding copyright ownership. | ||
The ASF licenses this file to You under the Apache License, Version 2.0 | ||
(the "License"); you may not use this file except in compliance with | ||
the License. You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
--> | ||
<project name="index-arbitrary" default="jar-core"> | ||
|
||
<import file="../build-plugin.xml"/> | ||
|
||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<?xml version="1.0" ?> | ||
<!-- | ||
Licensed to the Apache Software Foundation (ASF) under one or more | ||
contributor license agreements. See the NOTICE file distributed with | ||
this work for additional information regarding copyright ownership. | ||
The ASF licenses this file to You under the Apache License, Version 2.0 | ||
(the "License"); you may not use this file except in compliance with | ||
the License. You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
--> | ||
<ivy-module version="1.0"> | ||
<info organisation="org.apache.nutch" module="${ant.project.name}"> | ||
<license name="Apache 2.0"/> | ||
<ivyauthor name="Apache Nutch Team" url="https://nutch.apache.org/"/> | ||
<description> | ||
Apache Nutch | ||
</description> | ||
</info> | ||
|
||
<configurations> | ||
<include file="../../../ivy/ivy-configurations.xml"/> | ||
</configurations> | ||
|
||
<publications> | ||
<!--get the artifact from our module name--> | ||
<artifact conf="master"/> | ||
</publications> | ||
|
||
<dependencies> | ||
</dependencies> | ||
|
||
</ivy-module> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
Licensed to the Apache Software Foundation (ASF) under one or more | ||
contributor license agreements. See the NOTICE file distributed with | ||
this work for additional information regarding copyright ownership. | ||
The ASF licenses this file to You under the Apache License, Version 2.0 | ||
(the "License"); you may not use this file except in compliance with | ||
the License. You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
--> | ||
<plugin | ||
id="index-arbitrary" | ||
name="Index Arbitrary" | ||
version="1.0.0" | ||
provider-name="nutch.org"> | ||
|
||
<runtime> | ||
<library name="index-arbitrary.jar"> | ||
<export name="*"/> | ||
</library> | ||
</runtime> | ||
|
||
<requires> | ||
<import plugin="nutch-extensionpoints"/> | ||
</requires> | ||
|
||
|
||
<extension id="org.apache.nutch.indexer.arbitrary" | ||
name="Nutch arbitrary data indexer" | ||
point="org.apache.nutch.indexer.IndexingFilter"> | ||
<implementation id="ArbitraryIndexingFilter" | ||
class="org.apache.nutch.indexer.arbitrary.ArbitraryIndexingFilter"/> | ||
</extension> | ||
|
||
</plugin> |
Oops, something went wrong.