db.operationsCollection.distinct("username").length;
db.operationsCollection.distinct("username").length;
| Subscription | # Read | ||
|---|---|---|---|
| Hacker News | 1,761 | ||
| TechCrunch | 571 | ||
| Mashable! | 371 | ||
| NYT > Science | 296 | ||
| The Next Web | 293 | ||
| NYT > Movies | 255 | ||
| 9to5Google | 216 | ||
| Sosyal Medya | 190 | ||
| myNoSQL | 140 | ||
| Webrazzi | 133 |
Most efficient way to generate a list of Unigrams from a text field in MongoDB - Stack Overflow http://bit.ly/vNcEvU
node_keys_indexable=name,phone relationship_keys_indexable=since node_auto_indexing=true relationship_auto_indexing=true
Ardından node_auto_index üzerinden search atılarbilir ama exact match olmalı. Ben bunu "select by property" amacıyla kullanıyorum.
[
{
"hash":"b41ae64e2e80ba1806245c61179ad903",
"title":"Webrazzi",
"url":"http:\/\/www.webrazzi.com\/",
"total_posts":209,
"top_tags":
{"blog":77,"web2.0":54,"internet":36,"web":33,"technology":29,"webrazzi":23,"news":19,"haber":17,"blogs":14,"webdesign":13}
}
]
{"response": "false"}{"response": "true"}
As Wade notes, a simple snippet of PHP code can be used with apps via a JSON call to query whether or not Google thinks any given text contains rude words.meseleyi irdeleyin http://labs.phurix.net/posts/googles-official-profanity-api{ "filtered" : { "query" : { "match_all" : {} }, "filter" : { "geo_polygon" : { "place.location" : { "points" : [ {"lat" : 40, "lon" : -70}, {"lat" : 30, "lon" : -80}, {"lat" : 20, "lon" : -90} ] } } } } }
{
"fuzzy_like_this" : {
"fields" : ["blog.title", "blog.tags"],
"like_text" : "futbol ve sinema hakkında", "max_query_terms" : 20, "min_similarity" : 0.5
}
}
sudo apt-get install python-devsudo /etc/init.d/tor restartsudo vi /etc/tor/torrc#ControlPort 9051
telnet 127.0.0.1 9051
AUTHENTICATE
signal NEWNYM
quit
#!/usr/bin/expect -f
# telnet into tor and get clean path using expect
spawn telnet 127.0.0.1 9051
expect "Escape character is '^]'."
send "AUTHENTICATE\r"
expect "250 OK"
send "signal NEWNYM\r"
expect "250 OK"
send "quit\r"