--
You received this message because you are subscribed to the Google Groups "Blacklight Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blacklight-development+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
$ cd projects $ rails new search_app -m https://raw.github.com/projectblacklight/blacklight/master/template.demo.rb
cd search_app
Hi Layale,
Looks like you are running Solr using the bin ./start solr from an install already on the machine. This should be fine, but first needs to be configured with the expected schema.xml and solrconfig.xml from Blacklight. Were you able to configure Solr for that?
bundle exec solr_wrapper
will spin up and configure solr for you automatically. This works great for development, but shouldn’t be used in production scenarios.
Instead of bin ./start solr, try using the Solr command from solr_wrapper “bundle exec solr_wrapper” to see if that works for you.
Best,
Jack
--
You received this message because you are subscribed to the Google Groups "Blacklight Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blacklight-develo...@googlegroups.com.
Are you able to run the command as a different user than root?
If not, you could start solr using the bin solr start method and configure it manually.
bin/solr create –c blacklight-core -d {dir to blacklight} /solr/conf
Checkout this SO answer http://stackoverflow.com/a/32923885
Best,
Jack
From: <blacklight-...@googlegroups.com> on behalf of Layale Bassil <lay...@gmail.com>
Reply-To: "blacklight-...@googlegroups.com" <blacklight-...@googlegroups.com>
Date: Thursday, February 23, 2017 at 7:38 AM
To: Blacklight Development <blacklight-...@googlegroups.com>
--
You may have mistyped the address or the page may have moved.
The url is supposed to be correct as follows: [solr IP]/catalog/2001417245 where 2001417245 is the id.
What can I do now?
Thanks again!
It may be worth looking into the Rails logs here to diagnose what is going on. What query to solr is the Rails app making? What happens when you make a similar query to Solr directly?
Ø When I deleted the blacklight-core does it get cashed? Does it take the same schema if I recreate it?
I think this all depends on how you create/delete the core. Can you navigate successfully to the Solr admin UI? Usually localhost:8983/solr .
It sounds like you may still have Solr configuration/data issues.
-Jack
From: <blacklight-...@googlegroups.com> on behalf of Layale Bassil <lay...@gmail.com>
Reply-To: "blacklight-...@googlegroups.com" <blacklight-...@googlegroups.com>
Date: Thursday, February 23, 2017 at 8:28 AM
To: Blacklight Development <blacklight-...@googlegroups.com>
--