Best unofficial Apache Server developers community |
| |||||
| Jul 12, 2010 | |||||
|
Walexey |
|
||||
| Tags: | |||||
Similar Threads
Updated: (CXF-2627) Return Type List gets null on client if an empty list is returned
[
https://issues.apache.org/jira/browse...nels:all-tabpanel
]
Kaj Kandler updated CXF-2627:
Updated: (CXF-2627) Return Type List gets null on client if an empty list is returned
[
https://issues.apache.org/jira/browse...nels:all-tabpanel
]
Kaj Kandler updated CXF-2627:
Erlang Doc structure
I've been playing with Erlang views on and off in CouchDB, and find the information on the internal Erlang structure of Docs lacking. Is there somewhere I can read up on this? I had initially assumed that a Doc was a list of tuples, but I am starting to suspect that I am wrong. Mike
JMS-MAP-JSON Improper Data structure
I am getting an odd error in my data from my broker. Using perl I am
changing
a map message to json using jms-map-json. This returns an improperly
structured version of my data.
'map' => [
{
'entry' => [
{
'string' => [
As you can see it is creating an array where the hash should be.
I now have to access data like @{@{$json->{map}}[0]->{entry}}; Which
is very
unpleasant. We did not have this issue prior. I used to be able to simply
do
@{$json->{map}{entry}} to access my data
This is with amq 5.3.2
arbitrary structure for joins redux
Hi, I recently discovered the new feature added in couchdb 0.11 which lets to link related documents in the emit function by passing the _id value of a given doc like it's explained in http://blog.couch.io/post/446015664/w...11-part-two-views I find this feature quite useful, but I would like to know if its planned to let use an arbitrary structure as the value for the emit function which could contain several _id's references like emit(key, {title:"lorem ipsum", foo:{_id : "foo"}, bar : {_id : "bar"}}) so there could be linked more than one document with a single emit call. a possible solution could probably be to call the emit function several times but then include_docs parameter could not be used when a reduce function is defined. Thanks in advance Regards
Need advice about docs structure design.
Hy guy's. My model: Users has Bookmarks and Posts have idea keep Bookmarks and Posts in separate DB (for speed views). But in view i want fetch Bookmarks and Posts with user name, In what way i can do this? keep copy of users in each DB? or may be keep users in separate DB, fetch bookmarks or posts and then fetch users and then merge? Yes i know i can copy user name to doc, but have a trouble when user name is changed (it's force me use stale=ok in request view +background process to track changes and run rebuild index). I think it's will be cool crazy stuff if i can update docs(cached fields - not have effect to index) and say Couch you don't need rebuild index relax ;). Any advice?
RE: Delete document Tree Structure
hi ,
I am very new to couchdb, in my design , i just keep parent id
of each documents.
such as if i would like to delete B, i know that to delete C(have B id)
and then I have find and
to delete E(have c id).... etc.
my question is ....
1. is this possible ????
2. how do i pass the document id (such as B) to view that i would
like to search and delete document under its?
3. dose couchdb support delete document in view or i have to query
all of them than use http api to delete ?
thanks for every ideas
A.
-------- Original Message --------
Subject:
Re: Delete document Tree Structure
Date:
Thu, 27 May 2010 06:43:58 +0200
From:
J Chris Anderson <jch### @gmail.com>
Reply-To:
use### @couchdb.apache.org <us### @couchdb.apache.org>
To:
use### @couchdb.apache.org <us### @couchdb.apache.org>
On May 26, 2010, at 8:48 PM, Aun... ??????? wrote:
Hi,
I design document in couchdb to have relation something like
directory
|
A---------D
|
B---------C
|
|
E ------F
if i would like to http (DELETE B) will delete all down
documents what is the possible solution to use.
1. can i create view and find relation and delete
all of them ?
2. get relation by higher programming api (C#,PHP)
and then delete each one?
3. Do you have any solution to suggest on
this.....?
It is common to store the full path to each item, on the item, so you'd
have
B > C > E > F stored on F
then you can view easily across the tree.
however, reparenting a node, (say, moving B to become a child of D)
require asynchronous processing or a bulk docs request and is not
transactional.
Chris
Thanks,
A.
Delete document Tree Structure
Hi,
I design document in couchdb to have relation something like
directory
|
A---------D
|
B---------C
|
|
E ------F
if i would like to http (DELETE B) will delete all down documents
what is the possible solution to use.
1. can i create view and find relation and delete all
of them ?
2. get relation by higher programming api (C#,PHP) and
then delete each one?
3. Do you have any solution to suggest on this.....?
Thanks,
A.
adding request structure access to mod_header
We were dancing around trying to get RequestHeader (mod_header) to add
the authenticated user to a proxy request. The approaches we found
involved tricking other modules into calling ap_add_common_vars to
apr_table_addn(r->subprocess_env, "REMOTE_USER", r->user);
I decided to simplify by adding %{}r directives à la
RequestHeader set "x-webobjects-remote-user" "%{user}r"
which interrogate the request structure directly. I re-used
the request structure names 'cause, well, why not?
Please try to Cc: <er### @w3.org>. <eric### @gmail.com> is a
temporary
hack as ezmlm seems to subscribe the address in the Return-Path:
instead of the From:
adding request structure access to mod_header
We were dancing around trying to get RequestHeader (mod_header) to add
the authenticated user to a proxy request. The approaches we found
involved tricking other modules into calling ap_add_common_vars to
apr_table_addn(r->subprocess_env, "REMOTE_USER", r->user);
I decided to simplify by adding %{}r directives à la
RequestHeader set "x-webobjects-remote-user" "%{user}r"
which interrogate the request structure directly. I re-used
the request structure names 'cause, well, why not?
Please try to reply to <er### @w3.org>. <eri### @gmail.com> is a
temporary hack as ezmlm seems to subscribe the address in the
Return-Path: instead of the From: (grr!).
Assigned: (ARIES-353) SPI-Fly needs changes in project structure, so that itests and other subprojec
[
https://issues.apache.org/jira/browse...nels:all-tabpanel
]
David Bosschaert reassigned ARIES-353:
Resolved: (ARIES-353) SPI-Fly needs changes in project structure, so that itests and other subprojec
[
https://issues.apache.org/jira/browse...nels:all-tabpanel
]
David Bosschaert resolved ARIES-353.
Updated: (DIRSERVER-1081) Injecting more information in the opContext structure
[
https://issues.apache.org/jira/browse...nels:all-tabpanel
]
Emmanuel Lecharny updated DIRSERVER-1081:
Updated: (HIVE-91) Allow external tables with different partition directory structure
[
https://issues.apache.org/jira/browse...nels:all-tabpanel
]
Carl Steinbach updated HIVE-91:
Updated: (AVRO-230) Create a shared schema test directory structure
[
https://issues.apache.org/jira/browse...nels:all-tabpanel
]
Bruce Mitchener updated AVRO-230:
Updated: (HIVE-107) Case structure for bin hive
[
https://issues.apache.org/jira/browse...nels:all-tabpanel
]
Carl Steinbach updated HIVE-107:
Mailing list
I recently had an issue with my mail server. It appears as though this suspended email being sent to my email address. Since there appears to be no user interface for managing mailing list accounts, and the server is ignoring any subscribe/unsubscribe request, I'm sending this email as a last ditch effort to see if the mailing list manager will recognize that my email is working and quit blocking me. Wendall
new CI build list
As requested, here is the CI build list for Buildr builds: ci### @buildr.apache.org Daniel, Alex and I are moderators of this list. I will redirect builds to it in the coming days. Thanks! Antoine
Question to post to the list
Hi,
I am hoping that someone may be able to help me.
I want to write my tomcat logs to a different directory.
I thought i could change
log4j.appender.R.File=$\{catalina.home\}/logs/tomcat.log to something like
log4j.appender.ROLLINGFILE.File=$\{logs\}/stdout.log
in my C:\Program Files\Apache Software Foundation\Tomcat
6.0\webapps\Dekho\WEB-INF\classes\resources logging.properties file but had
no luck with this.
Does anyone have any ideas
Fiona Duncan
Level 1, 414 Kent St
Sydney NSW 2000
http://www.esriaustralia.com.au
Freecall 1800 447 111
Putting knowledge into place(tm)
This message is intended for the addressee named and may contain
confidential information. If you are not the intended recipient please
notify the sender by return email, do not use or disclose the contents and
delete the message and any attachments from your system. The contents of
this message does not necessarily represent the opinions of ESRI Australia.
ESRI Australia does not accept any responsibility for loss or damage that
may result from reliance on, or the use of, the information contained in
this e-mail and any attachments.
**Please consider the environment before printing this email**
Retrieve List of Documents by Ids
I have an application where I have a list of 20-40 document id's that I would like to retrieve from couch. There isn't a pattern to these ids that would translate to a view easily (to my knowledge). What is the best way to do this? It seems excessive to create 40 http requests on the server to render a single web page. Is there a better way? Thanks, Gordon
Loop Structure -Pesudo Code and Flow chart
Jun 21, 2010 List Manipulation Nov 9, 2009 Bizzare compiler warning dereferencing list<unsigned int>::const_iterator Jul 28, 2010 | |||||
(23 lines) Jul 12, 2010 11:18