Hi there,
I am now trying to rewrite URLs...
With a nightly build of CouchDB (to fix COUCHDB-677 issue), I successfully used
this rewrite rule:
[
{
from: /item/:corpus,
to: _list/mapping/kwic,
query: {
startkey: [:corpus],
endkey: [:corpus,{}]
}
}
]
However in order to
On Sat, Jun 5, 2010 at 9:16 AM, Aurélien Bénel aurelien.be...@utt.fr wrote:
Hi there,
I am now trying to rewrite URLs...
With a nightly build of CouchDB (to fix COUCHDB-677 issue), I successfully
used this rewrite rule:
[
{
from: /item/:corpus,
to: _list/mapping/kwic,
query: {
could you paste the headers received by couchdb ?
Sure. Here they are:
Headers:
[{'Accept',text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8},
{'Accept-Charset',ISO-8859-1,utf-8;q=0.7,*;q=0.7},
{'Accept-Encoding',gzip,deflate},
On Sat, Jun 5, 2010 at 9:16 AM, Aurélien Bénel aurelien.be...@utt.fr wrote:
Hi there,
I am now trying to rewrite URLs...
With a nightly build of CouchDB (to fix COUCHDB-677 issue), I successfully
used this rewrite rule:
[
{
from: /item/:corpus,
to: _list/mapping/kwic,
query: {
Oh what you would like is :
[
{
from: /item,
to: _list/mapping/kwic,
query: {
startkey: [:corpus],
endkey: [:corpus,{}]
}
}
]
and just pass corpus=corpus as argument in your client url : /item?corpus= ...
Thank you for your advice. However i got:
1 [debug] [0.21204.0]
On Sat, Jun 5, 2010 at 1:53 PM, Aurélien Bénel aurelien.be...@utt.fr wrote:
Oh what you would like is :
[
{
from: /item,
to: _list/mapping/kwic,
query: {
startkey: [:corpus],
endkey: [:corpus,{}]
}
}
]
and just pass corpus=corpus as argument in your client url : /item?corpus=
remove the :corpus in rule and just use :corpus.
Sorry not being explicit enough, but that was I tried in the last post.
Think it would work. If in the same ytime you could open a ticket ? I will
try to fix
it during the week-end .
OK, I will.
Regards,
Aurélien
If in the same time you could open a ticket ? I will try to fix it during the
week-end .
https://issues.apache.org/jira/browse/COUCHDB-787
Thanks for your time.
Regards,
Aurélien
On Sat, Jun 5, 2010 at 3:23 PM, Aurélien Bénel aurelien.be...@utt.fr wrote:
remove the :corpus in rule and just use :corpus.
Sorry not being explicit enough, but that was I tried in the last post.
Think it would work. If in the same ytime you could open a ticket ? I will
try to fix
it
Robert Newson robert.new...@... writes:
Everything I have testwise is at http://github.com/rnewson/couchdb-lucene
I understand the reluctance to pull in the Java Virtual Machine just
to use Lucene but, in my experience, there's no other comparable
library for features or performance,
On Sat, Jun 5, 2010 at 8:15 PM, Aurélien Bénel aurelien.be...@utt.fr wrote:
I mean without using ?parameter=... in the rule
Yes, I understood that... and tested it.
Using :corpus and passing corpus=blah in url should work. At least unitests
pass :/
All parameters are passed after that or at least was.
It is indeed the problem. They are passed *unchanged*. Therefore it is
impossible to rewrite them. Moreover, variables don't seem to be bound to
parameters with the same name.
As a matter of fact, after your first advice, I changed my rule
Nils,
I cut 0.5.2 today which includes the concurrency fix for direct querying.
B.
On Sat, Jun 5, 2010 at 10:09 PM, Nils Breunese n.breun...@vpro.nl wrote:
We had some serious performance problems with couchdb-lucene on a busy site
recently. It turned out the problem wasn't couchdb-lucene
Cool, we'll see if we go that route and do hopefully do some testing on that
soon. Thanks a lot for your work on couchdb-lucene!
Nils.
Van: Robert Newson [robert.new...@gmail.com]
Verzonden: zaterdag 5 juni 2010 23:34
Aan: user@couchdb.apache.org
On Fri, Jun 4, 2010 at 5:49 PM, Robert Newson robert.new...@gmail.comwrote:
Everything I have testwise is at http://github.com/rnewson/couchdb-lucene
I understand the reluctance to pull in the Java Virtual Machine just
to use Lucene but, in my experience, there's no other comparable
library
On Sat, Jun 5, 2010 at 9:08 PM, Aurélien Bénel aurelien.be...@utt.fr wrote:
All parameters are passed after that or at least was.
It is indeed the problem. They are passed *unchanged*. Therefore it is
impossible to rewrite them. Moreover, variables don't seem to be bound to
parameters with
Itamar,
I posted on clucene, one of the main problems is that Java Lucene
allows storing UserData which CLucene doesn't, this allows the couchdb
seq_num to be stored in the Lucene index keeping it in synch.
Robert, can you expand on the concurrency fix, surely stdin / stdout
is still the bottle
17 matches
Mail list logo