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

Solr Sends back Facets with 0 Counts #811

Closed
jkmarx opened this issue Dec 8, 2015 · 7 comments
Closed

Solr Sends back Facets with 0 Counts #811

jkmarx opened this issue Dec 8, 2015 · 7 comments
Assignees
Milestone

Comments

@jkmarx
Copy link
Member

jkmarx commented Dec 8, 2015

Reproduce

  1. Locally import or open Data Set 16554: Transcription factor ChIP-seq in expanded human hematopoietic stem and progenitor cells
  2. Click on Dataset Browser

Observed

Under the attribute filter, there are empty facets.
screen shot 2015-12-07 at 11 38 29 am

Expected

Only facets with nodes.

@jkmarx
Copy link
Member Author

jkmarx commented Dec 8, 2015

@flekschas
Copy link
Member

After a fresh import I wasn't able to reproduce this error. How about others?

@jkmarx
Copy link
Member Author

jkmarx commented Dec 8, 2015

I'm installing a new instance and will check.

@jkmarx
Copy link
Member Author

jkmarx commented Dec 9, 2015

After starting a new instance, deleting file store, and deleting/reindexing solr the organism part and cell type were cleaned up alone with linger analyses ref #802
The issue was partly created when I ran vagrant destroy last week through the command line. The command did not completely destroy vagrant (Scott checked through the virtual box gui.) So, we destroyed it through the gui, which worked. Solr needs to be reindexed after running vagrant destroy, which I also did not do last week.

@scottx611x
Copy link
Member

Tested with RFC dataset exhibiting this faulty behavior

Steps:

  • Delete the dataset via admin interface
  • Rebuild solrs index w/ ./manage.py rebuild_index --using=data_set_manager --batch-size=25
  • Reimport the DataSet

Before:
dec 09 2015 09 55

After:
dec 09 2015 10 18 2

0s seen in the Type and Name filters are now gone.
The Steps mentioned above have successfully addressed this issue.

@flekschas
Copy link
Member

This is probably caused by the fact that Solr's index is not destroyed when running vagrant destroy. To avoid it: either delete the vm completely or rebuild / drop Solr's index.

@jkmarx
Copy link
Member Author

jkmarx commented Dec 9, 2015

@flekschas I agree, should we include it in the wiki somewhere?

@jkmarx jkmarx closed this as completed Dec 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants