Couchdb wiki page


(Mahendra M) #1

Hi,

I have just updated information about Elasticsearch Couchdb River
plugin in the CouchDB page.
Just a basic entry. Please do edit :slight_smile:

http://wiki.apache.org/couchdb/Full_text_search

Regards,
Mahendra

http://twitter.com/mahendra


(Shay Banon) #2

Hey,

Looks good!. I think it would be great to have 5 minute tutorial (in
elasticsearch github wiki to start with) to show how to integrate the two,
and then link to it there as well. Something that starts from the download
of elasticsearch to creating the couchdb river, to executing a simple search
request. What do you think? Up for it?

-shay.banon

On Sun, Oct 3, 2010 at 10:45 AM, Mahendra M mahendra.m@gmail.com wrote:

Hi,

I have just updated information about Elasticsearch Couchdb River
plugin in the CouchDB page.
Just a basic entry. Please do edit :slight_smile:

http://wiki.apache.org/couchdb/Full_text_search

Regards,
Mahendra

http://twitter.com/mahendra


(Mahendra M) #3

Yep. Sounds good. Will write a tutorial on it. Will finish it by today
evening (IST).

Regards,
Mahendra

On Sun, Oct 3, 2010 at 2:44 PM, Shay Banon shay.banon@elasticsearch.com wrote:

Hey,
Looks good!. I think it would be great to have 5 minute tutorial (in
elasticsearch github wiki to start with) to show how to integrate the two,
and then link to it there as well. Something that starts from the download
of elasticsearch to creating the couchdb river, to executing a simple search
request. What do you think? Up for it?
-shay.banon

On Sun, Oct 3, 2010 at 10:45 AM, Mahendra M mahendra.m@gmail.com wrote:

Hi,

I have just updated information about Elasticsearch Couchdb River
plugin in the CouchDB page.
Just a basic entry. Please do edit :slight_smile:

http://wiki.apache.org/couchdb/Full_text_search

Regards,
Mahendra

http://twitter.com/mahendra

--
Mahendra

http://twitter.com/mahendra


(Shay Banon) #4

Thanks!

On Mon, Oct 4, 2010 at 6:35 AM, Mahendra M mahendra.m@gmail.com wrote:

Yep. Sounds good. Will write a tutorial on it. Will finish it by today
evening (IST).

Regards,
Mahendra

On Sun, Oct 3, 2010 at 2:44 PM, Shay Banon shay.banon@elasticsearch.com
wrote:

Hey,
Looks good!. I think it would be great to have 5 minute tutorial (in
elasticsearch github wiki to start with) to show how to integrate the
two,
and then link to it there as well. Something that starts from the
download
of elasticsearch to creating the couchdb river, to executing a simple
search
request. What do you think? Up for it?
-shay.banon

On Sun, Oct 3, 2010 at 10:45 AM, Mahendra M mahendra.m@gmail.com
wrote:

Hi,

I have just updated information about Elasticsearch Couchdb River
plugin in the CouchDB page.
Just a basic entry. Please do edit :slight_smile:

http://wiki.apache.org/couchdb/Full_text_search

Regards,
Mahendra

http://twitter.com/mahendra

--
Mahendra

http://twitter.com/mahendra


(Mahendra M) #5

Hi,

I have created the page at :

Please have a look and correct any mistakes.

Two F.A.Qs still need answering. Shay, can you help ?

Regards,
Mahendra

On Mon, Oct 4, 2010 at 10:05 AM, Mahendra M mahendra.m@gmail.com wrote:

Yep. Sounds good. Will write a tutorial on it. Will finish it by today
evening (IST).

Regards,
Mahendra

On Sun, Oct 3, 2010 at 2:44 PM, Shay Banon shay.banon@elasticsearch.com wrote:

Hey,
Looks good!. I think it would be great to have 5 minute tutorial (in
elasticsearch github wiki to start with) to show how to integrate the two,
and then link to it there as well. Something that starts from the download
of elasticsearch to creating the couchdb river, to executing a simple search
request. What do you think? Up for it?
-shay.banon

On Sun, Oct 3, 2010 at 10:45 AM, Mahendra M mahendra.m@gmail.com wrote:

Hi,

I have just updated information about Elasticsearch Couchdb River
plugin in the CouchDB page.
Just a basic entry. Please do edit :slight_smile:

http://wiki.apache.org/couchdb/Full_text_search

Regards,
Mahendra

http://twitter.com/mahendra

--
Mahendra

http://twitter.com/mahendra

--
Mahendra

http://twitter.com/mahendra


(Shay Banon) #6

Hey,

Regarding the FAQ:

What happens when couchdb restarts?

The river will start throttling (set to 5 seconds) and will try and
reconnect.

What happens if the update fails?

If the index / delete fails, it is logged. Couldn't think of a nicer
solution, maybe it can be put back to a special couchdb "exception"
database?

Regarding the design docs: Is there a way to identify them so the river will
not index it?

-shay.banon

On Mon, Oct 4, 2010 at 3:38 PM, Mahendra M mahendra.m@gmail.com wrote:

Hi,

I have created the page at :
http://github.com/elasticsearch/elasticsearch/wiki/Couchdb-integration

Please have a look and correct any mistakes.

Two F.A.Qs still need answering. Shay, can you help ?

Regards,
Mahendra

On Mon, Oct 4, 2010 at 10:05 AM, Mahendra M mahendra.m@gmail.com wrote:

Yep. Sounds good. Will write a tutorial on it. Will finish it by today
evening (IST).

Regards,
Mahendra

On Sun, Oct 3, 2010 at 2:44 PM, Shay Banon shay.banon@elasticsearch.com
wrote:

Hey,
Looks good!. I think it would be great to have 5 minute tutorial (in
elasticsearch github wiki to start with) to show how to integrate the
two,

and then link to it there as well. Something that starts from the
download

of elasticsearch to creating the couchdb river, to executing a simple
search

request. What do you think? Up for it?
-shay.banon

On Sun, Oct 3, 2010 at 10:45 AM, Mahendra M mahendra.m@gmail.com
wrote:

Hi,

I have just updated information about Elasticsearch Couchdb River
plugin in the CouchDB page.
Just a basic entry. Please do edit :slight_smile:

http://wiki.apache.org/couchdb/Full_text_search

Regards,
Mahendra

http://twitter.com/mahendra

--
Mahendra

http://twitter.com/mahendra

--
Mahendra

http://twitter.com/mahendra


(Mahendra M) #7

Hi,

On Mon, Oct 4, 2010 at 7:33 PM, Shay Banon wrote:

What happens when couchdb restarts?
The river will start throttling (set to 5 seconds) and will try and
reconnect.

OK. I will update the FAQ with this information.

What happens if the update fails?
If the index / delete fails, it is logged. Couldn't think of a nicer
solution, maybe it can be put back to a special couchdb "exception"
database?

Yes, that looks like a good option. It would be good to provide a
configuration for sending 'river' exceptions. It could be an AMQP
queue or a CouchDB.

Or a simple HTTP callback would work.

Using rabbitmq-webhooks or couchdb document update handlers, the
message can be queued to AMQP or CouchDB.

Regarding the design docs: Is there a way to identify them so the river will
not index it?

Any document which begins with '_design/' can be assumed to be a
design document. CouchDB internally (futon, client libraries etc.) use
this logic. So, it s a good assumption to filter out docs starting
with '_design/'

Regards,
Mahendra

On Mon, Oct 4, 2010 at 3:38 PM, Mahendra M mahendra.m@gmail.com wrote:

Hi,

I have created the page at :
http://github.com/elasticsearch/elasticsearch/wiki/Couchdb-integration

Please have a look and correct any mistakes.

Two F.A.Qs still need answering. Shay, can you help ?

Regards,
Mahendra

On Mon, Oct 4, 2010 at 10:05 AM, Mahendra M mahendra.m@gmail.com wrote:

Yep. Sounds good. Will write a tutorial on it. Will finish it by today
evening (IST).

Regards,
Mahendra

On Sun, Oct 3, 2010 at 2:44 PM, Shay Banon
shay.banon@elasticsearch.com wrote:

Hey,
Looks good!. I think it would be great to have 5 minute tutorial
(in
elasticsearch github wiki to start with) to show how to integrate the
two,
and then link to it there as well. Something that starts from the
download
of elasticsearch to creating the couchdb river, to executing a simple
search
request. What do you think? Up for it?
-shay.banon

On Sun, Oct 3, 2010 at 10:45 AM, Mahendra M mahendra.m@gmail.com
wrote:

Hi,

I have just updated information about Elasticsearch Couchdb River
plugin in the CouchDB page.
Just a basic entry. Please do edit :slight_smile:

http://wiki.apache.org/couchdb/Full_text_search

Regards,
Mahendra

http://twitter.com/mahendra

--
Mahendra

http://twitter.com/mahendra

--
Mahendra

http://twitter.com/mahendra

--
Mahendra

http://twitter.com/mahendra


(Shay Banon) #8

Is that the id of the doc, that starts with _design? Can you open an issue
to filter them out?

On Mon, Oct 4, 2010 at 6:16 PM, Mahendra M mahendra.m@gmail.com wrote:

Hi,

On Mon, Oct 4, 2010 at 7:33 PM, Shay Banon wrote:

What happens when couchdb restarts?
The river will start throttling (set to 5 seconds) and will try and
reconnect.

OK. I will update the FAQ with this information.

What happens if the update fails?
If the index / delete fails, it is logged. Couldn't think of a nicer
solution, maybe it can be put back to a special couchdb "exception"
database?

Yes, that looks like a good option. It would be good to provide a
configuration for sending 'river' exceptions. It could be an AMQP
queue or a CouchDB.

Or a simple HTTP callback would work.

Using rabbitmq-webhooks or couchdb document update handlers, the
message can be queued to AMQP or CouchDB.

Regarding the design docs: Is there a way to identify them so the river
will
not index it?

Any document which begins with '_design/' can be assumed to be a
design document. CouchDB internally (futon, client libraries etc.) use
this logic. So, it s a good assumption to filter out docs starting
with '_design/'

Regards,
Mahendra

On Mon, Oct 4, 2010 at 3:38 PM, Mahendra M mahendra.m@gmail.com wrote:

Hi,

I have created the page at :
http://github.com/elasticsearch/elasticsearch/wiki/Couchdb-integration

Please have a look and correct any mistakes.

Two F.A.Qs still need answering. Shay, can you help ?

Regards,
Mahendra

On Mon, Oct 4, 2010 at 10:05 AM, Mahendra M mahendra.m@gmail.com
wrote:

Yep. Sounds good. Will write a tutorial on it. Will finish it by today
evening (IST).

Regards,
Mahendra

On Sun, Oct 3, 2010 at 2:44 PM, Shay Banon
shay.banon@elasticsearch.com wrote:

Hey,
Looks good!. I think it would be great to have 5 minute tutorial
(in
elasticsearch github wiki to start with) to show how to integrate the
two,
and then link to it there as well. Something that starts from the
download
of elasticsearch to creating the couchdb river, to executing a simple
search
request. What do you think? Up for it?
-shay.banon

On Sun, Oct 3, 2010 at 10:45 AM, Mahendra M mahendra.m@gmail.com
wrote:

Hi,

I have just updated information about Elasticsearch Couchdb River
plugin in the CouchDB page.
Just a basic entry. Please do edit :slight_smile:

http://wiki.apache.org/couchdb/Full_text_search

Regards,
Mahendra

http://twitter.com/mahendra

--
Mahendra

http://twitter.com/mahendra

--
Mahendra

http://twitter.com/mahendra

--
Mahendra

http://twitter.com/mahendra


(Mahendra M) #9

On Tue, Oct 5, 2010 at 1:23 AM, Shay Banon wrote:

Is that the id of the doc, that starts with _design?

Yes, the doc ids starting with '_design/'

Can you open an issue to filter them out?

I have submitted a patch for this (tested it also). The patch is
available in Issue #406

Regards,
Mahendra

On Mon, Oct 4, 2010 at 6:16 PM, Mahendra M mahendra.m@gmail.com wrote:

Hi,

On Mon, Oct 4, 2010 at 7:33 PM, Shay Banon wrote:

What happens when couchdb restarts?
The river will start throttling (set to 5 seconds) and will try and
reconnect.

OK. I will update the FAQ with this information.

What happens if the update fails?
If the index / delete fails, it is logged. Couldn't think of a nicer
solution, maybe it can be put back to a special couchdb "exception"
database?

Yes, that looks like a good option. It would be good to provide a
configuration for sending 'river' exceptions. It could be an AMQP
queue or a CouchDB.

Or a simple HTTP callback would work.

Using rabbitmq-webhooks or couchdb document update handlers, the
message can be queued to AMQP or CouchDB.

Regarding the design docs: Is there a way to identify them so the river
will
not index it?

Any document which begins with '_design/' can be assumed to be a
design document. CouchDB internally (futon, client libraries etc.) use
this logic. So, it s a good assumption to filter out docs starting
with '_design/'

Regards,
Mahendra

On Mon, Oct 4, 2010 at 3:38 PM, Mahendra M mahendra.m@gmail.com wrote:

Hi,

I have created the page at :
http://github.com/elasticsearch/elasticsearch/wiki/Couchdb-integration

Please have a look and correct any mistakes.

Two F.A.Qs still need answering. Shay, can you help ?

Regards,
Mahendra

On Mon, Oct 4, 2010 at 10:05 AM, Mahendra M mahendra.m@gmail.com
wrote:

Yep. Sounds good. Will write a tutorial on it. Will finish it by
today
evening (IST).

Regards,
Mahendra

On Sun, Oct 3, 2010 at 2:44 PM, Shay Banon
shay.banon@elasticsearch.com wrote:

Hey,
Looks good!. I think it would be great to have 5 minute tutorial
(in
elasticsearch github wiki to start with) to show how to integrate
the
two,
and then link to it there as well. Something that starts from the
download
of elasticsearch to creating the couchdb river, to executing a
simple
search
request. What do you think? Up for it?
-shay.banon

On Sun, Oct 3, 2010 at 10:45 AM, Mahendra M mahendra.m@gmail.com
wrote:

Hi,

I have just updated information about Elasticsearch Couchdb River
plugin in the CouchDB page.
Just a basic entry. Please do edit :slight_smile:

http://wiki.apache.org/couchdb/Full_text_search

Regards,
Mahendra

http://twitter.com/mahendra

--
Mahendra

http://twitter.com/mahendra

--
Mahendra

http://twitter.com/mahendra

--
Mahendra

http://twitter.com/mahendra

--
Mahendra

http://twitter.com/mahendra


(Mahendra M) #10

Hey,

I have updated the CouchDB Wiki page with this doc and also posted it
on the CouchDB users mailing list.

http://wiki.apache.org/couchdb/Full_text_search

Thought it will be better to get more users to try it out.

Regards,
Mahendra

On Mon, Oct 4, 2010 at 7:08 PM, Mahendra M mahendra.m@gmail.com wrote:

Hi,

I have created the page at :
http://github.com/elasticsearch/elasticsearch/wiki/Couchdb-integration

Please have a look and correct any mistakes.

Two F.A.Qs still need answering. Shay, can you help ?

Regards,
Mahendra

On Mon, Oct 4, 2010 at 10:05 AM, Mahendra M mahendra.m@gmail.com wrote:

Yep. Sounds good. Will write a tutorial on it. Will finish it by today
evening (IST).

Regards,
Mahendra

On Sun, Oct 3, 2010 at 2:44 PM, Shay Banon shay.banon@elasticsearch.com wrote:

Hey,
Looks good!. I think it would be great to have 5 minute tutorial (in
elasticsearch github wiki to start with) to show how to integrate the two,
and then link to it there as well. Something that starts from the download
of elasticsearch to creating the couchdb river, to executing a simple search
request. What do you think? Up for it?
-shay.banon

On Sun, Oct 3, 2010 at 10:45 AM, Mahendra M mahendra.m@gmail.com wrote:

Hi,

I have just updated information about Elasticsearch Couchdb River
plugin in the CouchDB page.
Just a basic entry. Please do edit :slight_smile:

http://wiki.apache.org/couchdb/Full_text_search

Regards,
Mahendra

http://twitter.com/mahendra

--
Mahendra

http://twitter.com/mahendra

--
Mahendra

http://twitter.com/mahendra

--
Mahendra

http://twitter.com/mahendra


(Shay Banon) #11

Hey, nice!. Have you seen this feature that I added to master:
http://github.com/elasticsearch/elasticsearch/issues/closed#issue/431?

On Fri, Oct 15, 2010 at 12:44 PM, Mahendra M mahendra.m@gmail.com wrote:

Hey,

I have updated the CouchDB Wiki page with this doc and also posted it
on the CouchDB users mailing list.

http://wiki.apache.org/couchdb/Full_text_search

Thought it will be better to get more users to try it out.

Regards,
Mahendra

On Mon, Oct 4, 2010 at 7:08 PM, Mahendra M mahendra.m@gmail.com wrote:

Hi,

I have created the page at :
http://github.com/elasticsearch/elasticsearch/wiki/Couchdb-integration

Please have a look and correct any mistakes.

Two F.A.Qs still need answering. Shay, can you help ?

Regards,
Mahendra

On Mon, Oct 4, 2010 at 10:05 AM, Mahendra M mahendra.m@gmail.com
wrote:

Yep. Sounds good. Will write a tutorial on it. Will finish it by today
evening (IST).

Regards,
Mahendra

On Sun, Oct 3, 2010 at 2:44 PM, Shay Banon <
shay.banon@elasticsearch.com> wrote:

Hey,
Looks good!. I think it would be great to have 5 minute tutorial
(in

elasticsearch github wiki to start with) to show how to integrate the
two,

and then link to it there as well. Something that starts from the
download

of elasticsearch to creating the couchdb river, to executing a simple
search

request. What do you think? Up for it?
-shay.banon

On Sun, Oct 3, 2010 at 10:45 AM, Mahendra M mahendra.m@gmail.com
wrote:

Hi,

I have just updated information about Elasticsearch Couchdb River
plugin in the CouchDB page.
Just a basic entry. Please do edit :slight_smile:

http://wiki.apache.org/couchdb/Full_text_search

Regards,
Mahendra

http://twitter.com/mahendra

--
Mahendra

http://twitter.com/mahendra

--
Mahendra

http://twitter.com/mahendra

--
Mahendra

http://twitter.com/mahendra


(Mahendra M) #12

Nice feature. Will explore this and update the wiki page.

Regards,
Mahendra

On Fri, Oct 15, 2010 at 9:26 PM, Shay Banon wrote:

Hey, nice!. Have you seen this feature that I added to
master: http://github.com/elasticsearch/elasticsearch/issues/closed#issue/431?

On Fri, Oct 15, 2010 at 12:44 PM, Mahendra M mahendra.m@gmail.com wrote:

Hey,

I have updated the CouchDB Wiki page with this doc and also posted it
on the CouchDB users mailing list.

http://wiki.apache.org/couchdb/Full_text_search

Thought it will be better to get more users to try it out.

Regards,
Mahendra

On Mon, Oct 4, 2010 at 7:08 PM, Mahendra M mahendra.m@gmail.com wrote:

Hi,

I have created the page at :
http://github.com/elasticsearch/elasticsearch/wiki/Couchdb-integration

Please have a look and correct any mistakes.

Two F.A.Qs still need answering. Shay, can you help ?

Regards,
Mahendra

On Mon, Oct 4, 2010 at 10:05 AM, Mahendra M mahendra.m@gmail.com
wrote:

Yep. Sounds good. Will write a tutorial on it. Will finish it by today
evening (IST).

Regards,
Mahendra

On Sun, Oct 3, 2010 at 2:44 PM, Shay Banon
shay.banon@elasticsearch.com wrote:

Hey,
Looks good!. I think it would be great to have 5 minute tutorial
(in
elasticsearch github wiki to start with) to show how to integrate the
two,
and then link to it there as well. Something that starts from the
download
of elasticsearch to creating the couchdb river, to executing a simple
search
request. What do you think? Up for it?
-shay.banon

On Sun, Oct 3, 2010 at 10:45 AM, Mahendra M mahendra.m@gmail.com
wrote:

Hi,

I have just updated information about Elasticsearch Couchdb River
plugin in the CouchDB page.
Just a basic entry. Please do edit :slight_smile:

http://wiki.apache.org/couchdb/Full_text_search

Regards,
Mahendra

http://twitter.com/mahendra

--
Mahendra

http://twitter.com/mahendra

--
Mahendra

http://twitter.com/mahendra

--
Mahendra

http://twitter.com/mahendra

--
Mahendra

http://twitter.com/mahendra


(system) #13