-
Notifications
You must be signed in to change notification settings - Fork 15
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
Work with pages
?
#25
Comments
It's possible that Searchyll isn't (yet) compatible with Elasticsearch 5.x. I would be interested to see a traffic capture between Jekyll and Elasticsearch. You could use
In this case, |
I'll give this a try! Thanks for providing clear step-by-step instructions
and an explanation.
Soon,
* ba
…On Mon, Sep 18, 2017 at 5:46 PM, Rob ***@***.***> wrote:
It's possible that Searchyll isn't (yet) compatible with Elasticsearch
5.x. I would be interested to see a traffic capture between Jekyll and
Elasticsearch. You could use socat for that:
1. brew install socat
2. Set url: http://localhost:9400 in _config.yml
3. Run sudo socat -v TCP-LISTEN:9400,fork TCP:localhost:9200 &>
data.log
4. In another terminal window, re-run jekyll build
5. Inspect the data.log file: cat data.log
In this case, socat will bind to port 9400 and it will take whatever
traffic is sent to this port and pass it along to localhost:9200, then
relay the response. As far as Jekyll knows, it's talking directly to
Elasticsearch, but socat is a middleman logging everything that passes
through it to data.log. There may be some interesting information in
there that explains what's happening.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#25 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AL-Mbp8w1MzMG9xEmKnWDypBIBFC4E3Yks5sjvLGgaJpZM4PbmRi>
.
|
I am attaching two (2) files here. File File
|
@BA88 can you paste those .txt files in a Github gist and share a link? Thanks! |
data.txt: https://gist.github.com/BA88/d7bd52688328c99c9c81f19089a547b4 I've never created gists before. Please let me know if these links don't work. Or if you need something else. Thanks! |
Hi all. Do you think I should downgrade Elasticsearch 5.x if that is the issue with searchyll? If so, is there a version of Elasticsearch that you recommend? I've looked around the searchyll code a bit. I don't know enough to determine where the problem is. I have a professional goal of adding search ability to our GitHub Pages wiki. If there is something I can / should do, I'll do it! I hope to help however I can. Thank you! |
Hey there, We just pushed a change to authentication settings. Not sure if that's the root cause, but I do see auth exceptions in the logs. Want to pull the latest changes and test again? |
I incorporated the changes you made. I worked around a few errors until I got stuck again. I think I'm running different versions of things such that I encounter problems. Problem 1 + Resolution:
Problem 2 + Resolution: Error:
Problem 3 -- no resolution: NB: I added debug
While the above is running, my What additional information can I provide? |
I am trying to use
searchyll
to add ElasticSearch (ES) capabilities to my Git-Page website. My Git-Pages site is made up of "pages" not "posts". So I wonder if that's the root of the issue? (Also, I usecollections
in my_config.yml
file.)I've gotten as far as trying to add documents to my ES database via
jekyll build
. I don't see that my pages are added.Below I have included details of what I've done, but an overview is:
Updated my
_config.yml
:a. Added
searchyll
gem.b. Added
elasticsearch
Updated my `_layouts/page.html' to include
Run
elasticsearch
locally (for now)Run
jekyll build
a. I can see the
indexing document
puts
output.b. I added some additional
puts
tosearchyll.rb
just in case. All seems okay.In my
elasticsearch
, I do not see any new messagesa. I expected a message as each document is indexed into the ES database but nope
GET _search
returns nothinga. Not surprising
To test my ES:
a. I manually
PUT
b. I saw a message in my
elasticsearch
outputc. I manually
GET
My environment:
Details:
The text was updated successfully, but these errors were encountered: