This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pyquery import PyQuery | |
import requests | |
from random import choice | |
url = 'http://www.johnsmarketplace.com/Kegs/' | |
query = 'td table tr' | |
def main(): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Create an index with a single nested field "foo" | |
echo -n "Deleting... " | |
curl -XDELETE localhost:9200/testmissing | |
echo "" | |
echo -n "Creating... " | |
curl -XPOST localhost:9200/testmissing -d '{ | |
"settings": { | |
"number_of_shards": 1 |