Search the http://elasticsearch.org website with elasticsearch itself

Karmi (Shay, Clinton...),

providing 910301’s gists · GitHub is still more or less valid and up
to date description of search setup, do you think it would be possible (wise
and safe) to allow also POST requests in the Varnish config? I would like to
experiment with fragments highlighting for individual search suggestions.

Regards,
Lukas

On Mon, Apr 11, 2011 at 11:17 AM, Lukáš Vlček lukas.vlcek@gmail.com wrote:

Karmi for president!
Dne 10.4.2011 15:59 "Karel Minarik" karel.minarik@gmail.com napsal(a):

Hi all,

just to inform you, that we are almost ready to migrate the search to
the main site. We have the ES server with index, infrastructure for
continuous index updating based on Github post-receive hooks, and the
UI is "good" for the time being.

You can try out the searches:

--> http://search.elasticsearch.org/_search?q=filter&fields=title

Note, that access is limited to GET requests to the _search endpoint.

The demo (still) available at http://elasticsearch.karmi.cz/ now
points to this server as well.

As soon as we sync the ES server with the main repo and the UI stuff
[Comparing rhec:master...karmi:search · rhec/elasticsearch.github.com · GitHub] is
merged, it's ready to go live.

Detailed notes about the setup are here: 910301’s gists · GitHub

We know about couple of mishaps like missing ulimit, we'll solve
those. If you'll see anything incorrect about this all, please send a
note.

Thanks!,

Karel

Hi,

I did some minor tuning to the site search:

  1. added encoding of search parameters, this is useful especially for the
    search term (supports correct encoding of full Lucene syntax, for example
    "field cache" and "field +cache" are different searches now)
  2. adding whitespaces before or after the search term does not fire a new
    XHR (should save some CPU and IO of the search server)
  3. abort running XHR if a new one is started

Regards,
Lukas

On Tue, Apr 12, 2011 at 10:21 AM, Lukáš Vlček lukas.vlcek@gmail.com wrote:

Karmi (Shay, Clinton...),

providing 910301’s gists · GitHub is still more or less valid and
up to date description of search setup, do you think it would be possible
(wise and safe) to allow also POST requests in the Varnish config? I would
like to experiment with fragments highlighting for individual search
suggestions.

Regards,
Lukas

On Mon, Apr 11, 2011 at 11:17 AM, Lukáš Vlček lukas.vlcek@gmail.comwrote:

Karmi for president!
Dne 10.4.2011 15:59 "Karel Minarik" karel.minarik@gmail.com napsal(a):

Hi all,

just to inform you, that we are almost ready to migrate the search to
the main site. We have the ES server with index, infrastructure for
continuous index updating based on Github post-receive hooks, and the
UI is "good" for the time being.

You can try out the searches:

--> http://search.elasticsearch.org/_search?q=filter&fields=title

Note, that access is limited to GET requests to the _search endpoint.

The demo (still) available at http://elasticsearch.karmi.cz/ now
points to this server as well.

As soon as we sync the ES server with the main repo and the UI stuff
[Comparing rhec:master...karmi:search · rhec/elasticsearch.github.com · GitHub] is
merged, it's ready to go live.

Detailed notes about the setup are here: 910301’s gists · GitHub

We know about couple of mishaps like missing ulimit, we'll solve
those. If you'll see anything incorrect about this all, please send a
note.

Thanks!,

Karel