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
06:30:01 Starting loop for unlimited passes or 900 seconds | |
06:30:01 ERROR: exception 'MWException' with message 'Failed to push to job queue for cywikiquote' in /usr/local/apache/common-local/php-1.23wmf22/extensions/Wikidata/extensions/Wikibase/lib/maintenance/dispatchChanges.php:966 | |
Stack trace: | |
#0 /usr/local/apache/common-local/php-1.23wmf22/extensions/Wikidata/extensions/Wikibase/lib/maintenance/dispatchChanges.php(314): Wikibase\DispatchChanges->postChangeJobs('cywikiquote', 'cywikiquote', Array) | |
#1 /usr/local/apache/common-local/php-1.23wmf22/extensions/Wikidata/extensions/Wikibase/lib/maintenance/dispatchChanges.php(260): Wikibase\DispatchChanges->dispatchTo(Array) | |
#2 /usr/local/apache/common-local/php-1.23wmf22/maintenance/doMaintenance.php(104): Wikibase\DispatchChanges->execute() | |
#3 /usr/local/apache/common-local/php-1.23wmf22/extensions/Wikidata/extensions/Wikibase/lib/maintenance/dispatchChanges.php(999): require_once('/usr/local/apac...') | |
#4 /usr/local/apache/common-local/multiversion/MWScript.ph |
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
18:40:33 Posted 76 changes to huwikisource, up to ID 119398152, timestamp 20140415184033. Lag is 0 seconds. Next ID is 119398152. | |
18:40:33 Posted 77 changes to gawikiquote, up to ID 119398153, timestamp 20140415184033. Lag is 0 seconds. Next ID is 119398153. | |
18:40:33 Posted 77 changes to fywiki, up to ID 119398153, timestamp 20140415184033. Lag is 0 seconds. Next ID is 119398153. | |
18:40:42 ERROR: exception 'MWException' with message 'Failed to push to job queue for ttwikiquote' in /usr/local/apache/common-local/php-1.23wmf22/extensions/Wikidata/extensions/ | |
Wikibase/lib/maintenance/dispatchChanges.php:966 | |
Stack trace: | |
#0 /usr/local/apache/common-local/php-1.23wmf22/extensions/Wikidata/extensions/Wikibase/lib/maintenance/dispatchChanges.php(314): Wikibase\DispatchChanges->postChangeJobs('ttwiki | |
quote', 'ttwikiquote', Array) | |
#1 /usr/local/apache/common-local/php-1.23wmf22/extensions/Wikidata/extensions/Wikibase/lib/maintenance/dispatchChanges.php(260): Wikibase\DispatchChanges->dispatchTo(Array) | |
#2 /usr/local/apa |
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
diff --git a/src/main/java/org/elasticsearch/index/analysis/AnalyzerProvider.java b/src/main/java/org/elasticsearch/index/analysis/AnalyzerProvider.java | |
index 7af8ae0..79053bf 100644 | |
--- a/src/main/java/org/elasticsearch/index/analysis/AnalyzerProvider.java | |
+++ b/src/main/java/org/elasticsearch/index/analysis/AnalyzerProvider.java | |
@@ -32,4 +35,13 @@ public interface AnalyzerProvider<T extends Analyzer> extends Provider<T> { | |
AnalyzerScope scope(); | |
T get(); | |
+ | |
+ /** |
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
diff --git a/src/main/java/org/elasticsearch/index/analysis/StandardAnalyzerProvider.java b/src/main/java/org/elasticsearch | |
@@ -60,4 +63,8 @@ public class StandardAnalyzerProvider extends AbstractIndexAnalyzerProvider<Stan | |
public StandardAnalyzer get() { | |
return this.standardAnalyzer; | |
} | |
+ | |
+ public static void buildAsDefault(XContentBuilder builder) throws IOException { | |
+ AnalyzerXContentUtil.buildAnalyzer(builder, "standard", "standard", "standard", "lowercase"); | |
+ } | |
} |
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
diff --git a/src/main/java/org/elasticsearch/index/analysis/StandardAnalyzerProvider.java b/src/main/java/org/elasticsearch/index/analysis/StandardAnalyzerProvider.java | |
index b07aa48..d292e42 100644 | |
--- a/src/main/java/org/elasticsearch/index/analysis/StandardAnalyzerProvider.java | |
+++ b/src/main/java/org/elasticsearch/index/analysis/StandardAnalyzerProvider.java | |
@@ -60,4 +63,8 @@ public class StandardAnalyzerProvider extends AbstractIndexAnalyzerProvider<Stan | |
public StandardAnalyzer get() { | |
return this.standardAnalyzer; | |
} | |
+ | |
+ public static void buildDefaultsAsCustom(XContentBuilder builder) throws IOException { |
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
diff --git a/src/main/java/org/elasticsearch/index/analysis/DefaultAsCustom.java b/src/main/java/org/elasticsearch/index/analysis/DefaultAsCustom.java | |
new file mode 100644 | |
index 0000000..f3bf301 | |
+public interface DefaultAsCustom<T extends AnalyzerProvider> { | |
+ void build(XContentBuilder builder) throws IOException; | |
+} | |
diff --git a/src/main/java/org/elasticsearch/index/analysis/StandardAnalyzerProvider.java b/src/main/java/org/elasticsearch/index/analysis/StandardAnalyzerProvider.java | |
@@ -60,4 +63,11 @@ public class StandardAnalyzerProvider extends AbstractIndexAnalyzerProvider<Stan | |
public StandardAnalyzer get() { | |
return this.standardAnalyzer; |
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
{ | |
"function_score": { | |
"filter": {"type" : {"value": "mytype"}}, | |
"boost_factor": 10 | |
} | |
} |
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
{ | |
"function_score": { | |
"query": {your_multimatch_here} | |
"functions": [ | |
{ | |
"filter": {"type" : {"value": "mytype"}}, | |
"boost_factor": 10 | |
},{ | |
"filter": {"type" : {"value": "myothertype"}}, | |
"boost_factor": 5 |
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
10684894 SearchResults:enwiki | |
1596111 SearchResults:dewiki | |
1072355 SearchResults:frwiki | |
1031042 SearchResults:eswiki | |
985094 SearchResults:zhwiki | |
608564 SearchResults:ruwiki | |
533479 SearchResults:jawiki | |
377364 SearchResults:nlwiki | |
323201 SearchResults:ptwiki | |
247275 SearchResults:plwiki |
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
[search1020.eqiad.wmnet] 2014-07-07T17:02:52Z SearchResults:commonswiki Pontevedra%20Museum 51 16825.857421875 - 14 - Pontevedra_museum | |
[search1020.eqiad.wmnet] 2014-07-07T17:02:52Z SearchResults:commonswiki amy%20anderssen%20vs%20lisa%20ann 0 - - - - - | |
[search1019.eqiad.wmnet] 2014-07-07T17:02:52Z SearchResults:commonswiki hvil%20i%20fred 1 4.026846885681152 - 6 - Lars_Larsens_Familiegravsted.JPG | |
[search1020.eqiad.wmnet] 2014-07-07T17:02:52Z SearchResults:commonswiki %2210.1371%2Fjournal.pone.0095549%22 0 - - - - - | |
[search1019.eqiad.wmnet] 2014-07-07T17:02:53Z SearchResults:commonswiki people%20with%20redwoods 51 0.9905908703804016 - 6 - Redwood_County_Poor_Farm.jpg | |
[search1019.eqiad.wmnet] 2014-07-07T17:02:57Z SearchResults:commonswiki cat 1 955. |