Comments (8)
I'm also having this issue with rc4
from sunspot.
Partially solved by installing the sunspot_solr gem, however rake tasks doesn't work anymore. Had to use sunspot-solr start
command.
With that I'm able to index and search for models, however can't run the reindex task because of this error:
> rake sunspot:reindex
Skipping progress bar - no such file to load -- progress_bar
I've used Model.find_each { |m| m.index }
, but I think this not efficient while still useful for a quick try.
from sunspot.
Thanks for the report. I'll look into this soon. Let me know if you come across any more details.
from sunspot.
Believe I've fixed this, but can you folks test it?
Change your Gemfile for sunspot_rails
to this:
gem 'sunspot_rails', :git => 'git://github.com/alindeman/sunspot.git', :branch => 'solr_rake_tasks'
Run bundle update sunspot_rails
and let me know if the tasks work? If so, I'll merge!
from sunspot.
@fabn, can you file a separate issue about sunspot:reindex
?
from sunspot.
Going to merge this in and close. Please reopen if it continues being an issue.
from sunspot.
Sorry for being late. Your commit has solved the issue in my case, thanks.
Just a notice, now when using rake sunspot:solr:start
the pid file sunspot-solr.pid
is created in the root directory of my rails project. Shouldn't it be in tmp/pids
?
Furthermore I've noticed that the progress_bar issue was solved in this commit so it's not an issue anymore, even if the message is not so clear. Maybe something like this would be better:
You don't have the progress_bar gem in your bundle, add it with "gem 'progress_bar'" in your Gemfile, to show progress in realtime
Indexing in progress...
from sunspot.
I haven't fully reviewed the code to move sunspot_solr to a gem. I'll look into the *.pid issue.
Totally agree on the progress_bar
message: fixed in bbb0d7b.
from sunspot.
Related Issues (20)
- sunspot:solr:reindex not work after updating rails 6 HOT 1
- Fulltext and Scalar field search is not working with any_of
- sunspot_rails gem bump? HOT 6
- Can't make it work with Solr 8 with docker HOT 1
- Index-time Boosts not supported by Lucene 7 and Solr 8 anymore
- Sunspot RSolr Reindex Error ConnectionRefused After reindexing 99.57% of the model how to continue from where it failed
- Score boost does not work with join fields
- Retry5xxSessionProxy#rescued_exception unused
- DEPRECATION: Rsolr.new/connect option 'read_timeout' is deprecated and will be removed in Rsolr 3.
- Not able to reindexing restored couchdb HOT 1
- Search by exact match on text field is not working as expected HOT 1
- Can Opendistro Elasticsearch be used in place of Solr? HOT 1
- Psych::BadAlias in Ruby 3.1 configuration
- NoMethodError on Ruby 3.2 for `File.exists?` HOT 8
- sort param could not be parsed as a query, and is not a field that exists in the index: geodist(location_ll,32.8563846,-117.2029363)
- How to stub results?
- Is this available with Solr 9? HOT 2
- Rails 7.1 deprecation warning HOT 1
- Discussion: Is this project dead? (aka: is this now a joke?) HOT 3
- `solr_search` search modular models is not accurate HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sunspot.