I am working on elasticsearch version 1.7.1 using NEST, I have the following configuration:
- core i7
- 16 GB RAMS
- heap size 4GB ( I set the ES_HEAP_SIZE environment variable, but didn't check if the service is really considering it, as I found no way to check).
- 1 cluster with 2 nodes, 1 replica and 1 master, and 5 shards.
- Green Health status of the index.
- 951 indexed files
My problem is that when I search using c# and NEST for a word in the content, and specifying the size to be 951 the search is taking 1.5 secs to return about 328 records.
Is this a good performance of elastic? or there are somethings that I can do to enhance the performance.
My other question is : How can I add filter to elastic search using NEST so I search for one field,based on another fields such as SQL query :
select * from table where field=value and field2 in (value1,value2)
Thanks,