pig-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From da...@apache.org
Subject svn commit: r1746233 - in /pig/branches/branch-0.16: CHANGES.txt contrib/piggybank/java/src/main/java/org/apache/pig/piggybank/evaluation/util/apachelogparser/SearchEngineExtractor.java
Date Tue, 31 May 2016 06:35:34 GMT
Author: daijy
Date: Tue May 31 06:35:34 2016
New Revision: 1746233

URL: http://svn.apache.org/viewvc?rev=1746233&view=rev
Log:
PIG-3227: SearchEngineExtractor does not work for bing

Modified:
    pig/branches/branch-0.16/CHANGES.txt
    pig/branches/branch-0.16/contrib/piggybank/java/src/main/java/org/apache/pig/piggybank/evaluation/util/apachelogparser/SearchEngineExtractor.java

Modified: pig/branches/branch-0.16/CHANGES.txt
URL: http://svn.apache.org/viewvc/pig/branches/branch-0.16/CHANGES.txt?rev=1746233&r1=1746232&r2=1746233&view=diff
==============================================================================
--- pig/branches/branch-0.16/CHANGES.txt (original)
+++ pig/branches/branch-0.16/CHANGES.txt Tue May 31 06:35:34 2016
@@ -131,6 +131,8 @@ PIG-4639: Add better parser for Apache H
 
 BUG FIXES
 
+PIG-3227: SearchEngineExtractor does not work for bing (dannyant via daijy)
+
 PIG-4902: Fix UT failures on 0.16 branch: TestTezGraceParallelism, TestPigScriptParser (daijy)
 
 PIG-4909: PigStorage incompatible with commons-cli-1.3 (knoguchi)

Modified: pig/branches/branch-0.16/contrib/piggybank/java/src/main/java/org/apache/pig/piggybank/evaluation/util/apachelogparser/SearchEngineExtractor.java
URL: http://svn.apache.org/viewvc/pig/branches/branch-0.16/contrib/piggybank/java/src/main/java/org/apache/pig/piggybank/evaluation/util/apachelogparser/SearchEngineExtractor.java?rev=1746233&r1=1746232&r2=1746233&view=diff
==============================================================================
--- pig/branches/branch-0.16/contrib/piggybank/java/src/main/java/org/apache/pig/piggybank/evaluation/util/apachelogparser/SearchEngineExtractor.java
(original)
+++ pig/branches/branch-0.16/contrib/piggybank/java/src/main/java/org/apache/pig/piggybank/evaluation/util/apachelogparser/SearchEngineExtractor.java
Tue May 31 06:35:34 2016
@@ -363,6 +363,15 @@ public class SearchEngineExtractor exten
         searchEngines.put("search.lycos.com", "Lycos");
         searchEngines.put("search.msn.co.uk", "MSN UK");
         searchEngines.put("search.msn.com", "MSN");
+        searchEngines.put("bing.com", "Bing");
+        searchEngines.put("ssl.bing.com", "Bing");
+        searchEngines.put("cn.bing.com", "Bing China");
+        searchEngines.put("br.bing.com", "Bing Brazil");
+        searchEngines.put("it.bing.com", "Bing Italy");
+        searchEngines.put("be.bing.com", "Bing Netherlands");
+        searchEngines.put("uk.bing.com", "Bing UK");
+        searchEngines.put("hk.bing.com", "Bing Hong Kong");
+        searchEngines.put("nz.bing.com", "Bing New Zeland");
         searchEngines.put("search.myway.com", "MyWay");
         searchEngines.put("search.mywebsearch.com", "My Web Search");
         searchEngines.put("search.ntlworld.com", "NTLWorld");



Mime
View raw message