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

Circuit Browser autocomplete issues #1180

Closed
Robbie1977 opened this issue Sep 7, 2021 · 1 comment · Fixed by #1182
Closed

Circuit Browser autocomplete issues #1180

Robbie1977 opened this issue Sep 7, 2021 · 1 comment · Fixed by #1182
Assignees
Labels
bug MetaCell Jobs for metacell

Comments

@Robbie1977
Copy link
Contributor

The typeahead on the Circuit Bowser (CB) is not matching the correct behaviour seen in the search tool.

The example search term is 'FLYEM LC17'

image

image

The SOLR query is returning the correct results so the issue is in the typeahead (or whichever library was used for CB version) setup.

https://solr-dev.virtualflybrain.org/solr/ontology/select?json=%7B%22params%22:%7B%22q%22:%22FLYEM+LC17+OR+FLYEM+LC17*+OR+*FLYEM+LC17*%22,%22defType%22:%22edismax%22,%22qf%22:%22label%5E100+synonym%5E100+label_autosuggest_ws+label_autosuggest_e+label_autosuggest+synonym_autosuggest_ws+synonym_autosuggest+shortform_autosuggest%22,%22indent%22:%22true%22,%22fl%22:%22short_form,label,synonym,id,facets_annotation%22,%22start%22:%220%22,%22pf%22:%22true%22,%22fq%22:[%22facets_annotation:has_neuron_connectivity%22,%22shortform_autosuggest:VFB*+OR+shortform_autosuggest:FB*%22],%22rows%22:%22100%22,%22wt%22:%22json%22,%22bq%22:%22shortform_autosuggest:VFB*%5E110.0+shortform_autosuggest:FBbt*%5E100.0+label_s:%5C%22%5C%22%5E2+synonym_s:%5C%22%5C%22+short_form:FBbt_00003982%5E2+facets_annotation:Deprecated%5E0.001%22%7D%7D

{
  "responseHeader":{
    "status":0,
    "QTime":4,
    "params":{
      "json":"{\"params\":{\"q\":\"FLYEM LC17 OR FLYEM LC17* OR *FLYEM LC17*\",\"defType\":\"edismax\",\"qf\":\"label^100 synonym^100 label_autosuggest_ws label_autosuggest_e label_autosuggest synonym_autosuggest_ws synonym_autosuggest shortform_autosuggest\",\"indent\":\"true\",\"fl\":\"short_form,label,synonym,id,facets_annotation\",\"start\":\"0\",\"pf\":\"true\",\"fq\":[\"facets_annotation:has_neuron_connectivity\",\"shortform_autosuggest:VFB* OR shortform_autosuggest:FB*\"],\"rows\":\"100\",\"wt\":\"json\",\"bq\":\"shortform_autosuggest:VFB*^110.0 shortform_autosuggest:FBbt*^100.0 label_s:\\\"\\\"^2 synonym_s:\\\"\\\" short_form:FBbt_00003982^2 facets_annotation:Deprecated^0.001\"}}"}},
  "response":{"numFound":22591,"start":0,"docs":[
      {
        "facets_annotation":["Entity",
          "Adult",
          "Anatomy",
          "has_image",
          "Cell",
          "Individual",
          "has_neuron_connectivity",
          "has_region_connectivity",
          "Nervous_system",
          "Neuron"],
        "id":"http://virtualflybrain.org/reports/VFB_jrchjxsk",
        "label":"LC17 (FlyEM-HB:1875124235)",
        "short_form":"VFB_jrchjxsk",
        "synonym":["LC17 (FlyEM-HB:1875124235)"]},
      {
        "facets_annotation":["Entity",
          "Adult",
          "Anatomy",
          "has_image",
          "Cell",
          "Individual",
          "has_neuron_connectivity",
          "has_region_connectivity",
          "Nervous_system",
          "Neuron"],
        "id":"http://virtualflybrain.org/reports/VFB_jrchjxsl",
        "label":"LC17 (FlyEM-HB:1939904964)",
        "short_form":"VFB_jrchjxsl",
        "synonym":["LC17 (FlyEM-HB:1939904964)"]},
      {
        "facets_annotation":["Entity",
          "Adult",
          "Anatomy",
          "has_image",
          "Cell",
          "Individual",
          "has_neuron_connectivity",
          "has_region_connectivity",
          "Nervous_system",
          "Neuron"],
        "id":"http://virtualflybrain.org/reports/VFB_jrchjxsi",
        "label":"LC17 (FlyEM-HB:1848156241)",
        "short_form":"VFB_jrchjxsi",
        "synonym":["LC17 (FlyEM-HB:1848156241)"]},
      {
        "facets_annotation":["Entity",
          "Adult",
          "Anatomy",
          "has_image",
          "Cell",
          "Individual",
          "has_neuron_connectivity",
          "has_region_connectivity",
          "Nervous_system",
          "Neuron"],
        "id":"http://virtualflybrain.org/reports/VFB_jrchjxsj",
        "label":"LC17 (FlyEM-HB:1849503142)",
        "short_form":"VFB_jrchjxsj",
        "synonym":["LC17 (FlyEM-HB:1849503142)"]},
....
@Robbie1977 Robbie1977 added bug MetaCell Jobs for metacell labels Sep 7, 2021
jrmartin added a commit that referenced this issue Sep 15, 2021
autocomplete results for circuit browser
jrmartin added a commit that referenced this issue Sep 24, 2021
@jrmartin jrmartin linked a pull request Sep 24, 2021 that will close this issue
@Robbie1977
Copy link
Contributor Author

tested working

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

Successfully merging a pull request may close this issue.

2 participants