Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create index on es server if it doesn't exist #109

Open
parisholley opened this issue Dec 5, 2014 · 2 comments
Open

Create index on es server if it doesn't exist #109

parisholley opened this issue Dec 5, 2014 · 2 comments

Comments

@parisholley
Copy link
Owner

Seems some people tend to miss the obvious step of creating it first :)

@pmadar
Copy link

pmadar commented Sep 22, 2015

I created index first and index it after that, but ES doesnt work. WP still searching by default not with ES. Any solutions?

@zodman
Copy link

zodman commented Mar 8, 2017

same here!

curl 'localhost:9200/_cat/indices?v'
health status index pri rep docs.count docs.deleted store.size pri.store.size
green open nekoanimedd 5 0 929 0 4mb 4mb

my index is nekoanimedd

My elastic search debug show results:

curl 'http://localhost:9200/nekoanimedd/_search?pretty=true&q=:'

show results!

But the search page looks empty!

curl 'http://localhost:9200/nekoanimedd/_search?pretty=true&q=post:Rosario'
{
"took" : 4,
"timed_out" : false,
"_shards" : {
"total" : 5,
"successful" : 5,
"failed" : 0
},
"hits" : {
"total" : 0,
"max_score" : null,
"hits" : [ ]
}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants