-
Notifications
You must be signed in to change notification settings - Fork 204
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
Fix curl "missing url" and discrepancies in README #6
base: main
Are you sure you want to change the base?
Conversation
Hi, I have a question for you since I don't see a place to get help with this on here....How exactly do I get the search results to work? I am on Windows 10. I installed Docker, have the instance running, but I am stuck at the "Importing Data" part here. I download a copy of the binary release of Solr and extracted the .zip to my Desktop. I am basically trying to have the "sample.jsonl" results show up when I search info on this project. The author uses |
During my initial testing, I encountered a similar issue. As far as I know, the Did you run the In my experimentation, I also prepared a valid sample of CSV data that can be successfully posted under the basic configuration. None of the information below was procured through compromised data. It was all fabricated/randomly generated.
If this posts successfully, then we can conclude that the error you are facing lies within attempting to post data that requires further sanitation. |
Hey! So, yeah, that was the other thing I forgot to mention: For the run.sh file, when it says to enter the IP & port, do I just use the defaults it has in brackets (127.0.0.1 & 8983)? & the shard thing it asks, I have no idea what to put there, so I've tried "1" and "2." Because no matter what I put for those, the terminal just spams: "
Yeah, I'm also trying to figure out how to do this |
I see, I am happy to help in debugging your issue but would like to avoid cluttering this PR. Feel free to message me on Discord, my username is [] If you have a alternative method of communication that you would like to use, please let me know! |
Sure thing! Do you use Signal Messenger (they have username now, so phone number isn't exposed)? If not, I can make a Discord account. |
Signal works! Feel free to email me the information, my email address is displayed on my profile. |
Actually, just sent friend request on Discord, haha! Sorry |
@ax-i-om could I please get your discord username as well? I am having alternative problems with the docker build being obsolete and will likely have the same problems as you guys in future. |
I was in the process of configuring search.0t.rocks on a local machine and ran into an issue when running on step 3, where we execute
run.sh
.I noticed in the commit: 4c71edd (Update run.sh), the curl commands switched from using a hard-coded host address and port number like so:
curl 'http://localhost:8983/solr/BigData/schema?wt=json'
to using variables specified by the user:
curl 'http://$ip:$port/solr/BigData/schema?wt=json'
This layout prevented the variables from expanding, meaning curl was using $ip:$port as the URL, literally. This lead to the error:
curl: (3) URL using bad/illegal format or missing URL
for each curl statement. In this pull-request, all I've done is switch the single quotes (') to double quotes (") so that the variables could successfully expand. I also updated the README accordingly.Thank you for open-sourcing such a wonderful tool!