phenoscape / phenoscape-kb-ui

Phenoscape KB web user interface.
MIT License
1 stars 1 forks source link

Search not working for 'skeletal element of eye region' #67

Closed wdahdul closed 8 years ago

wdahdul commented 8 years ago

Can't seem to search directly for this term: 'skeletal element of eye region'. Other similar terms give list of results (e.g., 'skeletal element', 'eye region') but not when searching by the complete term name.

balhoff commented 8 years ago

That's really strange. I will investigate.

wdahdul commented 8 years ago

same issue with 'neck of rib' and 'neck of radius'. I'm thinking the search is tripping on 'of' in these labels.

balhoff commented 8 years ago

Yes, I think it is an issue with "stopwords" used by the text analyzer in Blazegraph. I am trying to figure out how to treat stop words as normal words.

balhoff commented 8 years ago

Disabling stopwords in Blazegraph requires setting these properties in the config file:

com.bigdata.search.FullTextIndex.analyzerFactoryClass=com.bigdata.search.ConfigurableAnalyzerFactory
com.bigdata.search.ConfigurableAnalyzerFactory.analyzer.eng.analyzerClass=org.apache.lucene.analysis.standard.StandardAnalyzer
com.bigdata.search.ConfigurableAnalyzerFactory.analyzer.eng.stopwords=none
com.bigdata.search.ConfigurableAnalyzerFactory.analyzer._.like=eng
balhoff commented 8 years ago

The new Blazegraph configuration is deployed now, and this is working.