You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Alex Baranau (JIRA)" <ji...@apache.org> on 2010/09/02 16:06:53 UTC

[jira] Created: (ZOOKEEPER-860) Add alternative search-provider to ZK site

Add alternative search-provider to ZK site
------------------------------------------

                 Key: ZOOKEEPER-860
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-860
             Project: Zookeeper
          Issue Type: Improvement
            Reporter: Alex Baranau
            Priority: Minor


Use search-hadoop.com service to make available search in ZK sources, MLs, wiki, etc.
This was initially proposed on user mailing list. The search service was already added in site's skin (common for all Hadoop related projects) before so this issue is about enabling it for ZK. The ultimate goal is to use it at all Hadoop's sub-projects' sites.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (ZOOKEEPER-860) Add alternative search-provider to ZK site

Posted by "Otis Gospodnetic (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-860?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12916777#action_12916777 ] 

Otis Gospodnetic commented on ZOOKEEPER-860:
--------------------------------------------

{quote}
    *  Removing [+show more]
    * Removing phrases that appear before each hit
    * Not indexing xref files/pages (since we already index source code + javadocs)
    * Deduping docs with the same content but different URL
{quote}

We've done the above, plus changed how relevance is computed.

Is this good for a commit now?



> Add alternative search-provider to ZK site
> ------------------------------------------
>
>                 Key: ZOOKEEPER-860
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-860
>             Project: Zookeeper
>          Issue Type: Improvement
>          Components: documentation
>            Reporter: Alex Baranau
>            Assignee: Alex Baranau
>            Priority: Minor
>             Fix For: 3.4.0
>
>         Attachments: ZOOKEEPER-860.patch
>
>
> Use search-hadoop.com service to make available search in ZK sources, MLs, wiki, etc.
> This was initially proposed on user mailing list (http://search-hadoop.com/m/sTZ4Y1BVKWg1). The search service was already added in site's skin (common for all Hadoop related projects) before (as a part of [AVRO-626|https://issues.apache.org/jira/browse/AVRO-626]) so this issue is about enabling it for ZK. The ultimate goal is to use it at all Hadoop's sub-projects' sites.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (ZOOKEEPER-860) Add alternative search-provider to ZK site

Posted by "Otis Gospodnetic (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-860?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12909522#action_12909522 ] 

Otis Gospodnetic commented on ZOOKEEPER-860:
--------------------------------------------

I don't know how they avoid indexing /current/ URLs on ZK's site, but we can certainly add /current/ to the list of URL patterns to skip.

Note that it may be good for ZK to make use of Canonical URL spec.  Then anyone could automatically and easily figure out these dupes without having to resort to URL pattern rules or text content comparison.  Here's an example: http://googlewebmastercentral.blogspot.com/2009/02/specify-your-canonical.html


> Add alternative search-provider to ZK site
> ------------------------------------------
>
>                 Key: ZOOKEEPER-860
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-860
>             Project: Zookeeper
>          Issue Type: Improvement
>          Components: documentation
>            Reporter: Alex Baranau
>            Assignee: Alex Baranau
>            Priority: Minor
>             Fix For: 3.4.0
>
>         Attachments: ZOOKEEPER-860.patch
>
>
> Use search-hadoop.com service to make available search in ZK sources, MLs, wiki, etc.
> This was initially proposed on user mailing list (http://search-hadoop.com/m/sTZ4Y1BVKWg1). The search service was already added in site's skin (common for all Hadoop related projects) before (as a part of [AVRO-626|https://issues.apache.org/jira/browse/AVRO-626]) so this issue is about enabling it for ZK. The ultimate goal is to use it at all Hadoop's sub-projects' sites.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (ZOOKEEPER-860) Add alternative search-provider to ZK site

Posted by "Alex Baranau (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-860?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12909154#action_12909154 ] 

Alex Baranau commented on ZOOKEEPER-860:
----------------------------------------

Thank you for the feedback, Patrick.

We'll improve things you mentioned soon. Will inform about it then.

Alex Baranau.

> Add alternative search-provider to ZK site
> ------------------------------------------
>
>                 Key: ZOOKEEPER-860
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-860
>             Project: Zookeeper
>          Issue Type: Improvement
>          Components: documentation
>            Reporter: Alex Baranau
>            Assignee: Alex Baranau
>            Priority: Minor
>             Fix For: 3.4.0
>
>         Attachments: ZOOKEEPER-860.patch
>
>
> Use search-hadoop.com service to make available search in ZK sources, MLs, wiki, etc.
> This was initially proposed on user mailing list (http://search-hadoop.com/m/sTZ4Y1BVKWg1). The search service was already added in site's skin (common for all Hadoop related projects) before (as a part of [AVRO-626|https://issues.apache.org/jira/browse/AVRO-626]) so this issue is about enabling it for ZK. The ultimate goal is to use it at all Hadoop's sub-projects' sites.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (ZOOKEEPER-860) Add alternative search-provider to ZK site

Posted by "Alex Baranau (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ZOOKEEPER-860?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Baranau updated ZOOKEEPER-860:
-----------------------------------

    Description: 
Use search-hadoop.com service to make available search in ZK sources, MLs, wiki, etc.
This was initially proposed on user mailing list (http://search-hadoop.com/m/sTZ4Y1BVKWg1). The search service was already added in site's skin (common for all Hadoop related projects) before (as a part of [AVRO-626|https://issues.apache.org/jira/browse/AVRO-626]) so this issue is about enabling it for ZK. The ultimate goal is to use it at all Hadoop's sub-projects' sites.

  was:
Use search-hadoop.com service to make available search in ZK sources, MLs, wiki, etc.
This was initially proposed on user mailing list. The search service was already added in site's skin (common for all Hadoop related projects) before so this issue is about enabling it for ZK. The ultimate goal is to use it at all Hadoop's sub-projects' sites.


Updated description.

Currently created JIRA issues for next Hadoop-related projects:

https://issues.apache.org/jira/browse/AVRO-626 (committed)
https://issues.apache.org/jira/browse/HBASE-2886 (committed)

https://issues.apache.org/jira/browse/ZOOKEEPER-860
https://issues.apache.org/jira/browse/HIVE-1611
https://issues.apache.org/jira/browse/HDFS-1367

I'm about to create issues also for (discussions have been already initiated):
    * Hadoop TLP
    * Common
    * Chukwa
    * MapReduce
    * Pig

Please, let me know if more information is needed.

> Add alternative search-provider to ZK site
> ------------------------------------------
>
>                 Key: ZOOKEEPER-860
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-860
>             Project: Zookeeper
>          Issue Type: Improvement
>          Components: documentation
>            Reporter: Alex Baranau
>            Assignee: Alex Baranau
>            Priority: Minor
>         Attachments: ZOOKEEPER-860.patch
>
>
> Use search-hadoop.com service to make available search in ZK sources, MLs, wiki, etc.
> This was initially proposed on user mailing list (http://search-hadoop.com/m/sTZ4Y1BVKWg1). The search service was already added in site's skin (common for all Hadoop related projects) before (as a part of [AVRO-626|https://issues.apache.org/jira/browse/AVRO-626]) so this issue is about enabling it for ZK. The ultimate goal is to use it at all Hadoop's sub-projects' sites.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (ZOOKEEPER-860) Add alternative search-provider to ZK site

Posted by "Mahadev konar (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-860?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12906223#action_12906223 ] 

Mahadev konar commented on ZOOKEEPER-860:
-----------------------------------------

alex, the assignment just means that you are working on the patch currently. A  committer will review and provide you feedback or commit if deemed fit for the project. Hope that helps.

> Add alternative search-provider to ZK site
> ------------------------------------------
>
>                 Key: ZOOKEEPER-860
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-860
>             Project: Zookeeper
>          Issue Type: Improvement
>          Components: documentation
>            Reporter: Alex Baranau
>            Assignee: Alex Baranau
>            Priority: Minor
>             Fix For: 3.4.0
>
>         Attachments: ZOOKEEPER-860.patch
>
>
> Use search-hadoop.com service to make available search in ZK sources, MLs, wiki, etc.
> This was initially proposed on user mailing list (http://search-hadoop.com/m/sTZ4Y1BVKWg1). The search service was already added in site's skin (common for all Hadoop related projects) before (as a part of [AVRO-626|https://issues.apache.org/jira/browse/AVRO-626]) so this issue is about enabling it for ZK. The ultimate goal is to use it at all Hadoop's sub-projects' sites.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (ZOOKEEPER-860) Add alternative search-provider to ZK site

Posted by "Otis Gospodnetic (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-860?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12920547#action_12920547 ] 

Otis Gospodnetic commented on ZOOKEEPER-860:
--------------------------------------------

For what it's worth, the following issues for the same functionality on other sub-projects have been committed so far: PIG-1661 HBASE-2886 HDFS-1367 


> Add alternative search-provider to ZK site
> ------------------------------------------
>
>                 Key: ZOOKEEPER-860
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-860
>             Project: Zookeeper
>          Issue Type: Improvement
>          Components: documentation
>            Reporter: Alex Baranau
>            Assignee: Alex Baranau
>            Priority: Minor
>             Fix For: 3.4.0
>
>         Attachments: ZOOKEEPER-860.patch
>
>
> Use search-hadoop.com service to make available search in ZK sources, MLs, wiki, etc.
> This was initially proposed on user mailing list (http://search-hadoop.com/m/sTZ4Y1BVKWg1). The search service was already added in site's skin (common for all Hadoop related projects) before (as a part of [AVRO-626|https://issues.apache.org/jira/browse/AVRO-626]) so this issue is about enabling it for ZK. The ultimate goal is to use it at all Hadoop's sub-projects' sites.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (ZOOKEEPER-860) Add alternative search-provider to ZK site

Posted by "Otis Gospodnetic (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-860?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12907973#action_12907973 ] 

Otis Gospodnetic commented on ZOOKEEPER-860:
--------------------------------------------

Should we assign this to a committer now, since Alex is done with the patch?

Doug Cutting reviewed and committed the big change via AVRO-626 that made it possible for this patch to be literally a 1-line change:

Index: author/src/documentation/skinconf.xml
===================================================================
--- author/src/documentation/skinconf.xml	(revision 678839)
+++ author/src/documentation/skinconf.xml	(revision )
@@ -30,7 +30,7 @@
     In other words google will search the @domain for the query string.
 
   -->
-  <search name="ZooKeeper" domain="hadoop.apache.org" provider="google"/>
+  <search provider="search-hadoop" name="zookeeper"/>
 
   <!-- Disable the print link? If enabled, invalid HTML 4.0.1 -->
   <disable-print-link>true</disable-print-link>  


Look at the search box at http://avro.apache.org/ (top-right corner) to see what this patch does.


> Add alternative search-provider to ZK site
> ------------------------------------------
>
>                 Key: ZOOKEEPER-860
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-860
>             Project: Zookeeper
>          Issue Type: Improvement
>          Components: documentation
>            Reporter: Alex Baranau
>            Assignee: Alex Baranau
>            Priority: Minor
>             Fix For: 3.4.0
>
>         Attachments: ZOOKEEPER-860.patch
>
>
> Use search-hadoop.com service to make available search in ZK sources, MLs, wiki, etc.
> This was initially proposed on user mailing list (http://search-hadoop.com/m/sTZ4Y1BVKWg1). The search service was already added in site's skin (common for all Hadoop related projects) before (as a part of [AVRO-626|https://issues.apache.org/jira/browse/AVRO-626]) so this issue is about enabling it for ZK. The ultimate goal is to use it at all Hadoop's sub-projects' sites.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Issue Comment Edited: (ZOOKEEPER-860) Add alternative search-provider to ZK site

Posted by "Patrick Hunt (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-860?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12909503#action_12909503 ] 

Patrick Hunt edited comment on ZOOKEEPER-860 at 9/14/10 6:59 PM:
-----------------------------------------------------------------

bq. Note that a better (correct?) comparison of Google's site search for ZK and search-hadoop.com (SH) should involve selecting the "web site" facet

I did notice that, however I was comparing the "default" behavior in both cases - typing some text into the search box and hitting return.

bq. They don't index pages with /current/ in the URL - maybe that is how somebody configured Google's site search?

We (zk) certainly didn't do anything here, however note that "current" is actually a symbolic link to a particular version of our docs. Perhaps they're able to ferret this out somehow?

      was (Author: phunt):
    bq. Note that a better (correct?) comparison of Google's site search for ZK and search-hadoop.com (SH) should involve selecting the "web site" facet

I did noticed that, however I was comparing the "default" behavior in both cases - typing some text into the search box and hitting return.

bq. They don't index pages with /current/ in the URL - maybe that is how somebody configured Google's site search?

We (zk) certainly didn't do anything here, however note that "current" is actually a symbolic link to a particular version of our docs. Perhaps they're able to ferret this out somehow?
  
> Add alternative search-provider to ZK site
> ------------------------------------------
>
>                 Key: ZOOKEEPER-860
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-860
>             Project: Zookeeper
>          Issue Type: Improvement
>          Components: documentation
>            Reporter: Alex Baranau
>            Assignee: Alex Baranau
>            Priority: Minor
>             Fix For: 3.4.0
>
>         Attachments: ZOOKEEPER-860.patch
>
>
> Use search-hadoop.com service to make available search in ZK sources, MLs, wiki, etc.
> This was initially proposed on user mailing list (http://search-hadoop.com/m/sTZ4Y1BVKWg1). The search service was already added in site's skin (common for all Hadoop related projects) before (as a part of [AVRO-626|https://issues.apache.org/jira/browse/AVRO-626]) so this issue is about enabling it for ZK. The ultimate goal is to use it at all Hadoop's sub-projects' sites.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (ZOOKEEPER-860) Add alternative search-provider to ZK site

Posted by "Patrick Hunt (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ZOOKEEPER-860?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Patrick Hunt updated ZOOKEEPER-860:
-----------------------------------

    Status: Open  (was: Patch Available)

I took a look at the search results that we would see with this change, perhaps I'm doing it wrong, but they don't compare well with the current search experience:

http://search-hadoop.com/zookeeper?q=zookeeper
http://search-hadoop.com/?q=zookeeper&fc_type=web+site

in both cases the results do not compare well with the current default:
http://www.google.com/search?sitesearch=hadoop.apache.org&q=zookeeper&Search=Search
both from the perspective of the results themselves (ranking, dups (the first 2 results are dups of each other
http://search-hadoop.com/?q=zookeeper&fc_type=web+site
)) and the UI (some obvious display issues with chrome on my ubuntu machine - "fetched from index" overlaps the search facets for example, in general the SERP seems "cluttered" to me).



> Add alternative search-provider to ZK site
> ------------------------------------------
>
>                 Key: ZOOKEEPER-860
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-860
>             Project: Zookeeper
>          Issue Type: Improvement
>          Components: documentation
>            Reporter: Alex Baranau
>            Assignee: Alex Baranau
>            Priority: Minor
>             Fix For: 3.4.0
>
>         Attachments: ZOOKEEPER-860.patch
>
>
> Use search-hadoop.com service to make available search in ZK sources, MLs, wiki, etc.
> This was initially proposed on user mailing list (http://search-hadoop.com/m/sTZ4Y1BVKWg1). The search service was already added in site's skin (common for all Hadoop related projects) before (as a part of [AVRO-626|https://issues.apache.org/jira/browse/AVRO-626]) so this issue is about enabling it for ZK. The ultimate goal is to use it at all Hadoop's sub-projects' sites.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (ZOOKEEPER-860) Add alternative search-provider to ZK site

Posted by "Patrick Hunt (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ZOOKEEPER-860?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Patrick Hunt updated ZOOKEEPER-860:
-----------------------------------

       Assignee: Alex Baranau
    Component/s: documentation

Please provide a link to the discussion thread referenced. Also link to the other Hadoop (sub)project jiras implementing this change. Thanks.

> Add alternative search-provider to ZK site
> ------------------------------------------
>
>                 Key: ZOOKEEPER-860
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-860
>             Project: Zookeeper
>          Issue Type: Improvement
>          Components: documentation
>            Reporter: Alex Baranau
>            Assignee: Alex Baranau
>            Priority: Minor
>         Attachments: ZOOKEEPER-860.patch
>
>
> Use search-hadoop.com service to make available search in ZK sources, MLs, wiki, etc.
> This was initially proposed on user mailing list. The search service was already added in site's skin (common for all Hadoop related projects) before so this issue is about enabling it for ZK. The ultimate goal is to use it at all Hadoop's sub-projects' sites.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (ZOOKEEPER-860) Add alternative search-provider to ZK site

Posted by "Patrick Hunt (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-860?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12909296#action_12909296 ] 

Patrick Hunt commented on ZOOKEEPER-860:
----------------------------------------

At least for the simple searches I tried I found the ranking needs to be improved. For example, compare the results of the searches I listed in my earlier comment.

> Add alternative search-provider to ZK site
> ------------------------------------------
>
>                 Key: ZOOKEEPER-860
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-860
>             Project: Zookeeper
>          Issue Type: Improvement
>          Components: documentation
>            Reporter: Alex Baranau
>            Assignee: Alex Baranau
>            Priority: Minor
>             Fix For: 3.4.0
>
>         Attachments: ZOOKEEPER-860.patch
>
>
> Use search-hadoop.com service to make available search in ZK sources, MLs, wiki, etc.
> This was initially proposed on user mailing list (http://search-hadoop.com/m/sTZ4Y1BVKWg1). The search service was already added in site's skin (common for all Hadoop related projects) before (as a part of [AVRO-626|https://issues.apache.org/jira/browse/AVRO-626]) so this issue is about enabling it for ZK. The ultimate goal is to use it at all Hadoop's sub-projects' sites.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (ZOOKEEPER-860) Add alternative search-provider to ZK site

Posted by "Mahadev konar (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ZOOKEEPER-860?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mahadev konar updated ZOOKEEPER-860:
------------------------------------

    Fix Version/s: 3.4.0

marking it for 3.4 for keeping track.

> Add alternative search-provider to ZK site
> ------------------------------------------
>
>                 Key: ZOOKEEPER-860
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-860
>             Project: Zookeeper
>          Issue Type: Improvement
>          Components: documentation
>            Reporter: Alex Baranau
>            Assignee: Alex Baranau
>            Priority: Minor
>             Fix For: 3.4.0
>
>         Attachments: ZOOKEEPER-860.patch
>
>
> Use search-hadoop.com service to make available search in ZK sources, MLs, wiki, etc.
> This was initially proposed on user mailing list (http://search-hadoop.com/m/sTZ4Y1BVKWg1). The search service was already added in site's skin (common for all Hadoop related projects) before (as a part of [AVRO-626|https://issues.apache.org/jira/browse/AVRO-626]) so this issue is about enabling it for ZK. The ultimate goal is to use it at all Hadoop's sub-projects' sites.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (ZOOKEEPER-860) Add alternative search-provider to ZK site

Posted by "Alex Baranau (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ZOOKEEPER-860?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Baranau updated ZOOKEEPER-860:
-----------------------------------

    Status: Patch Available  (was: Open)

> Add alternative search-provider to ZK site
> ------------------------------------------
>
>                 Key: ZOOKEEPER-860
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-860
>             Project: Zookeeper
>          Issue Type: Improvement
>            Reporter: Alex Baranau
>            Priority: Minor
>         Attachments: ZOOKEEPER-860.patch
>
>
> Use search-hadoop.com service to make available search in ZK sources, MLs, wiki, etc.
> This was initially proposed on user mailing list. The search service was already added in site's skin (common for all Hadoop related projects) before so this issue is about enabling it for ZK. The ultimate goal is to use it at all Hadoop's sub-projects' sites.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (ZOOKEEPER-860) Add alternative search-provider to ZK site

Posted by "Patrick Hunt (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-860?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12909503#action_12909503 ] 

Patrick Hunt commented on ZOOKEEPER-860:
----------------------------------------

bq. Note that a better (correct?) comparison of Google's site search for ZK and search-hadoop.com (SH) should involve selecting the "web site" facet

I did noticed that, however I was comparing the "default" behavior in both cases - typing some text into the search box and hitting return.

bq. They don't index pages with /current/ in the URL - maybe that is how somebody configured Google's site search?

We (zk) certainly didn't do anything here, however note that "current" is actually a symbolic link to a particular version of our docs. Perhaps they're able to ferret this out somehow?

> Add alternative search-provider to ZK site
> ------------------------------------------
>
>                 Key: ZOOKEEPER-860
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-860
>             Project: Zookeeper
>          Issue Type: Improvement
>          Components: documentation
>            Reporter: Alex Baranau
>            Assignee: Alex Baranau
>            Priority: Minor
>             Fix For: 3.4.0
>
>         Attachments: ZOOKEEPER-860.patch
>
>
> Use search-hadoop.com service to make available search in ZK sources, MLs, wiki, etc.
> This was initially proposed on user mailing list (http://search-hadoop.com/m/sTZ4Y1BVKWg1). The search service was already added in site's skin (common for all Hadoop related projects) before (as a part of [AVRO-626|https://issues.apache.org/jira/browse/AVRO-626]) so this issue is about enabling it for ZK. The ultimate goal is to use it at all Hadoop's sub-projects' sites.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (ZOOKEEPER-860) Add alternative search-provider to ZK site

Posted by "Otis Gospodnetic (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-860?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12909274#action_12909274 ] 

Otis Gospodnetic commented on ZOOKEEPER-860:
--------------------------------------------

Patrick,
Concretely, we plan on:
* Removing [+show more]
* Removing phrases that appear before each hit
* Not indexing xref files/pages (since we already index source code + javadocs)
* Deduping docs with the same content but different URL

Any other suggestions?  Thanks.

> Add alternative search-provider to ZK site
> ------------------------------------------
>
>                 Key: ZOOKEEPER-860
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-860
>             Project: Zookeeper
>          Issue Type: Improvement
>          Components: documentation
>            Reporter: Alex Baranau
>            Assignee: Alex Baranau
>            Priority: Minor
>             Fix For: 3.4.0
>
>         Attachments: ZOOKEEPER-860.patch
>
>
> Use search-hadoop.com service to make available search in ZK sources, MLs, wiki, etc.
> This was initially proposed on user mailing list (http://search-hadoop.com/m/sTZ4Y1BVKWg1). The search service was already added in site's skin (common for all Hadoop related projects) before (as a part of [AVRO-626|https://issues.apache.org/jira/browse/AVRO-626]) so this issue is about enabling it for ZK. The ultimate goal is to use it at all Hadoop's sub-projects' sites.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (ZOOKEEPER-860) Add alternative search-provider to ZK site

Posted by "Alex Baranau (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ZOOKEEPER-860?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Baranau updated ZOOKEEPER-860:
-----------------------------------

    Attachment: ZOOKEEPER-860.patch

Attached patch which enables search-hadoop search service for site

> Add alternative search-provider to ZK site
> ------------------------------------------
>
>                 Key: ZOOKEEPER-860
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-860
>             Project: Zookeeper
>          Issue Type: Improvement
>            Reporter: Alex Baranau
>            Priority: Minor
>         Attachments: ZOOKEEPER-860.patch
>
>
> Use search-hadoop.com service to make available search in ZK sources, MLs, wiki, etc.
> This was initially proposed on user mailing list. The search service was already added in site's skin (common for all Hadoop related projects) before so this issue is about enabling it for ZK. The ultimate goal is to use it at all Hadoop's sub-projects' sites.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (ZOOKEEPER-860) Add alternative search-provider to ZK site

Posted by "Alex Baranau (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-860?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12905821#action_12905821 ] 

Alex Baranau commented on ZOOKEEPER-860:
----------------------------------------

Not sure that I follow why this issue was assigned to me. Is there anything I can do about it? I think I cannot commit the patch and hence resolve the issue...

> Add alternative search-provider to ZK site
> ------------------------------------------
>
>                 Key: ZOOKEEPER-860
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-860
>             Project: Zookeeper
>          Issue Type: Improvement
>          Components: documentation
>            Reporter: Alex Baranau
>            Assignee: Alex Baranau
>            Priority: Minor
>         Attachments: ZOOKEEPER-860.patch
>
>
> Use search-hadoop.com service to make available search in ZK sources, MLs, wiki, etc.
> This was initially proposed on user mailing list (http://search-hadoop.com/m/sTZ4Y1BVKWg1). The search service was already added in site's skin (common for all Hadoop related projects) before (as a part of [AVRO-626|https://issues.apache.org/jira/browse/AVRO-626]) so this issue is about enabling it for ZK. The ultimate goal is to use it at all Hadoop's sub-projects' sites.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (ZOOKEEPER-860) Add alternative search-provider to ZK site

Posted by "Otis Gospodnetic (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-860?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12909476#action_12909476 ] 

Otis Gospodnetic commented on ZOOKEEPER-860:
--------------------------------------------

Note that a better (correct?) comparison of Google's site search for ZK and search-hadoop.com (SH) should involve selecting the "web site" facet, since a non-restricted search on SH searches more than just the web site (an advantage over Google search that's limited to searching only ZK web site, no?). e.g.

http://search-hadoop.com/?q=zookeeper+download&fc_project=Zookeeper&fc_type=web+site

Yeah, I think once we dedupe, the results for Zookeeper will start looking better, because dupes seem to come from ZK website documents (because some documents have multiple URLs - one version with /current/ in the URL and another with a release number).

But please note that Google's search results also include seemingly duplicate docs.  e.g. http://www.google.com/search?sitesearch=hadoop.apache.org&q=zookeeper+download returns a number docs titled "ZooKeeper Administrator's Guide", but one points to Admin Guide for 3.0.0 another one for 3.1.1, and do on.  They don't index pages with /current/ in the URL - maybe that is how somebody configured Google's site search?



> Add alternative search-provider to ZK site
> ------------------------------------------
>
>                 Key: ZOOKEEPER-860
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-860
>             Project: Zookeeper
>          Issue Type: Improvement
>          Components: documentation
>            Reporter: Alex Baranau
>            Assignee: Alex Baranau
>            Priority: Minor
>             Fix For: 3.4.0
>
>         Attachments: ZOOKEEPER-860.patch
>
>
> Use search-hadoop.com service to make available search in ZK sources, MLs, wiki, etc.
> This was initially proposed on user mailing list (http://search-hadoop.com/m/sTZ4Y1BVKWg1). The search service was already added in site's skin (common for all Hadoop related projects) before (as a part of [AVRO-626|https://issues.apache.org/jira/browse/AVRO-626]) so this issue is about enabling it for ZK. The ultimate goal is to use it at all Hadoop's sub-projects' sites.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.