Best unofficial Apache Server developers community
Username
Forgot password?
Sign in with Twitter account
Sign in with Facebook account
List archives

finding documents with wildcard key

how to configure master and slave replication configuration
(42 lines)
Feb 7, 2012
John
John
Hello All,

I'd like to be able to find documents where the specified value is
found in any key - sort of like a wildcard for the query key and a
literal for the query value.  Is this possible?

Thanks!

--john





Reply
Tags: query keythanks johnwildcard
Messages in this thread
finding documents with wildcard key
reply Re: finding documents with wildcard key
(27 lines) Feb 7, 2012 23:24
reply Re: finding documents with wildcard key
(31 lines) Feb 8, 2012 03:15
reply Re: Re: finding documents with wildcard key
(38 lines) Feb 8, 2012 03:27
reply Re: finding documents with wildcard key
(48 lines) Feb 8, 2012 22:47
Trouble finding new documents?
July 23, 2011 06:23:22 PM
I have a sharded collection of click stream data that gets 10-20 documents created every 10 seconds. I am trying to execute this query to retrieve the count of hits over the last 20 seconds: db.trackInfo.find({date: {$gte: new Date(new Date()-…
Relevation on wildcard results and wildcard speed
May 24, 2011 01:33:11 PM
Hi guys! I want to do something like this. When I search for example on field first_name by wildcard "*A*" I want to see my result sortable like this Andrew Frank Michael Brenda Can I do this by the naitive tools of elastic search? And second…
Retrieving documents with their embedded documents but only embedded documents matched
February 15, 2011 10:05:15 PM
I would like to retrieve only the embedded documents with their parents that was found during the query. I'm not completely certain, but I believe at present it is not possible. Can you confirm? So an example is probably best to illustrate what…
Array of documents or a document with embedded documents?
August 7, 2011 05:32:42 PM
So I will have a collection of documents for dates. Each of these documents is basically a bunch of analytic for the month. Some months won't have any documents though. I will be pulling data by: - Getting all the months and doing client-side…
creating documents inside documents
February 2, 2011 03:36:28 AM
Hi I have a tsv file with the following headers -: Vendor country name content example - : Vendor country name content 23343 US arian music I have over 100 rows only for vendor - 23343. I need to put all…
Performance of many documents vs large documents
January 10, 2012 04:44:32 PM
Hi all, I'm currently scoping a project which will measure a variety of indicators over a long period, and I'm trying to work out where to strike the balance of document number vs document size. I could have one document per metric, leading to a…
Re: One big CouchDB with a lot of documents vs. a lot of CouchDB databases with fewer documents
March 31, 2011 05:53:18 PM
On Wed, Mar 30, 2011 at 05:59, Tong Li <lito### @us.ibm.com> wrote: > > > We recently work on a project and considering using CouchDB, but we would > like to know if we should place all user documents in one big database or >…
No wildcard support
January 20, 2011 09:09:48 AM
I posted part of this on SERVER-267, but was wondering, should I have modeled the notes as arrays instead since there is no wildcard support for keys? As a beginner MongoDB user, I had no idea that there was no support for this. Consequently, I…
Wildcard for bayes_ignore_header
November 2, 2011 06:03:25 AM
Hi, all, running: SpamAssassin version 3.3.1 running on Perl version 5.8.8 Can the bayes_ignore_header value contain wildcards? Like: bayes_ignore_header X-Something-* According to Google, this question has been asked before, but I couldn't…
wildcard import
July 22, 2010 08:44:28 AM
Hi, is there a way to include everything from a certain directory or a glob in an import: section? i.e. instead of listing individually import: linux:: linux.something.conf linux.other.conf can I have import: linux:: …
MongoDB to use wildcard
January 18, 2012 03:14:42 AM
SELECT * FROM people WHERE user_name LIKE '%' SELECT * FROM people WHERE user_name LIKE '%em%' SELECT * FROM people WHERE user_name LIKE '%em?' SELECT * FROM people WHERE user_name LIKE '?em%' db.people.find({"user_name" : /*/}) --> error …
Wildcard regex
October 8, 2010 09:07:20 AM
I don't think comons lang has a routine for converting a standard wildcard string (with * and ?) to a regex. Here is a first suggestion, although I'm sure it can be improved. public Pattern createPattern(String text) { StringTokenizer tkn =…
Something like Wildcard Filter?
March 2, 2011 09:07:18 AM
Is there any way to filter a non-analyzed by "starts with?" Prefix filter does work because it looks at each term whereas I need to look at the whole value of the field. What I need is like the wildcard query, except a filter. Is there any way…
Wildcard aliases
September 9, 2011 02:14:16 AM
I am trying to figure out a way to process all email addresses that match a specific pattern with an external script. In essence, I need to set up a pipe alias for all emails of the form rt-*@my.domain.com: "|/my/local/script" Is there a simple…
New: wildcard in unwhitelist_from example is incorrect
January 26, 2011 03:16:31 AM
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6540 Summary: wildcard in unwhitelist_from example is incorrect Product: Spamassassin Version: 3.3.1 Platform: All OS/Version: All …
Re: Re: Re: wildcard domains do not [MORE] work
April 3, 2011 03:05:09 PM
> The server has clearly send "Content-Type: application/x-httpd-php" and > I do not know WHY, because the rewritten DOCROOT are the only one, where > it happen. All other VHosts do it right and "Content-Type: text/html" > is send. …
Is it possible to search a wildcard sub-document key?
August 23, 2011 10:39:25 AM
{ "_id" : ObjectId("4e53c49385708082b5020000"), "en" : { "name" : "Richard", "profile" : "Dreaded Rasta"} } Say I have the above sample record, (I am wanting to be able to add different languages to each record). It is easy enough if I know which…
Re: Re: wildcard domains do not work
January 3, 2011 06:38:29 PM
----- "Michelle Konzack" <linux4m### @tamay-dogan.net> wrote: > Hello Joost de Heer, > > Am 2011-01-03 08:58:06, hacktest Du folgendes herunter: > > > RewriteCond /home/$1 -d > > > RewriteRule …
wildcard domains do not work
January 2, 2011 08:43:51 PM
Hello, while following script which remove the TILDE is working ----[ '/srv/APACHE_enabled/samba3.private.tamay-dogan.net' ]
Wildcard domains as vhost
May 24, 2011 09:01:47 AM
I tried to google this but could not hit the right keywords (been a long week)... We have DNS set up so that all requests ending in .project.example.com (i.e. bob.project.example.com) go to the same machine. How can I set up sites-enabled so that…
MongoDB :: Why Embedded Documents Indices Don't return documents in reverse order?
June 14, 2011
This is from MongoDB docs : db.factories.insert( { name: "xyz", metro: { city: "New York", state: "NY" } } ); db.factories.ensureIndex( { metro : 1…
If views over large documents in CouchDB are problematic, is there a nice(r) way to build a view over huge documents than this?
March 10, 2011
I have a document that looks somthing like: { _id : "foo", _rev : "bar", type : "User", settings : {"foo" : "bar", "far" : "boo"}, email :…
Mongoid: check for existing documents/embedded documents
April 4, 2011
is there a preferred way to check for existing documents via mongoid? if i do Model.find('id')' , and the id is nil or the document doesn't exist,…
Documents repository (PHP)
June 14, 2011
This post is more to get advises and ideas rather than solving a problem. It's a bit difficult to explain, but I will try my best. I have a document…
Is wildcard ssl insecure?
April 26, 2011
Is there anything inherently more insecure about using a wildcard SSL certificate over a regular SSL certificate? We are looking to implement a…
Wildcard DNS, two solutions, which one?
March 21, 2011
Hy, I got a domain (say example.com) and a server (say IP 1.2.3.4). I want to relay every traffic which is requested from the domain to my server.…
Dynamic DNS wildcard
March 13, 2011
You can set the DNS record like mod_rewrite in Apache? Where? Redirect permanent ^([a-z]+).*/([0-9]+)$ domain.com?username=$1&trip=$2…
Is it possible to get a wildcard cert and use SNI?
January 25, 2011
I'd like to make setting up new subdomains easy (at least for the development side) and getting one wildcard cert, setting up a wildcard dns (which…
Regex: Wildcard
January 27, 2011
I have a bunch of HTML code where I want to remove all the HTML markup. I think this is possible with Regex (Regular expression). With search and…
Does SSL protect documents sent over it?
January 18, 2011
If I understand correctly, SSL will protect (encrypt) HTTP transfer sent over it. But does this apply only to HTTP commands and responses? If I GET…
Wildcard Domain
February 7, 2011
Is it possible to use mod_rewrite, as well as .htaccess to use wildcard domains? I know it's possible to do wildcard subdomains, but is it possible…
Use URL WildCard in web.sitemap?
April 27, 2011
I have a rewritten URL on my site for search purposes such as: /Search-Results/Keywords-Here.aspx /Search-Results/abc.aspx…
Sed wildcard substitution
June 6, 2011
I want to do a substitution based on a wildcard. For example, change all "tenure" to "disposition" only if the word "tenure" comes after an '='…
When to embed documents in Mongo DB
February 21, 2011
I'm trying to figure out how to best design Mongo DB schemas. The Mongo DB documentation recommends relying heavily on embedded documents for…
Android: SQL raw query with wildcard (%)
May 9, 2011
Hi, I'm having a raqQuery with following sql string similar to this: selectionArgs = new String[] { searchString }; Cursor c = db.rawQuery("SELECT…
Tagcloud need to retrive from more documents
February 25, 2011
Hi, I'm developing meta data graphical search engine for my web deveoplpment.Here i have completed that graphical search, and ore over i would like…
Wildcard question for HTML
March 15, 2011
If i wanted to do a split on some text between "/div>" plus (either a new line or a space) plus "<div id=" how would i do this in regrex…
Documents disappearing from MongoDB
May 11, 2011
I'm currently evaluating migration from SQL Server to MongoDB for my site and the first piece I migrated is site authentication back end. But one…
Relationships between documents in MongoDB
January 18, 2011
Hi, how can i define one-to-one or many-to-many relationships between documents (in Node JS)? this came to my mind first, but i guess there is an…
Wildcard apache mod_rewrite
April 22, 2011
Hey again, I'm trying to write a mod_rewrite to work like this domain.com => index.php anything.anotherdomain.com => index.php/anything…