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

Reason of :all index #6

Closed
soulfly opened this issue Jun 9, 2017 · 2 comments
Closed

Reason of :all index #6

soulfly opened this issue Jun 9, 2017 · 2 comments

Comments

@soulfly
Copy link

soulfly commented Jun 9, 2017

Can someone guide me what is the reason to have that :all index?

https://github.com/ileitch/modis/blob/master/lib/modis/persistence.rb#L201
https://github.com/ileitch/modis/blob/master/lib/modis/persistence.rb#L131

I did not find a place where it is used, but it consumes our server's RAM

@Tonkpils
Copy link
Collaborator

Tonkpils commented Jun 9, 2017

It's actually used for the all finder method. https://github.com/ileitch/modis/blob/master/lib/modis/finder.rb#L17

@Tonkpils
Copy link
Collaborator

If you have any other issues with this feel free to re-open

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

No branches or pull requests

2 participants