I am new to elasticsearch. I have an Elasticsearch index of about 300,000 items. For each of the 60 million records in another table, I need to make a complex query to this
you're going to want to watch this video:
http://www.elasticsearch.org/webinars/elasticsearch-pre-flight-checklist/
The defaults for ES are great for development but not production. The one thing that you really need to do is give the JVM 50% of the available memory on the server. That video has lots of other great tips.