Skip to content

Commit

Permalink
[Code] make qname search case sensitive (#30914)
Browse files Browse the repository at this point in the history
  • Loading branch information
mw-ding authored Feb 13, 2019
1 parent 90d9485 commit 3ee3deb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ export class CodeQueryBar extends Component<Props, State> {

const res = await Promise.all(
this.props.suggestionProviders.map((provider: SuggestionsProvider) => {
return provider.getSuggestions(query.toLowerCase(), this.props.searchScope);
return provider.getSuggestions(query, this.props.searchScope);
})
);

Expand Down
1 change: 0 additions & 1 deletion x-pack/plugins/code/server/indexer/schema/symbol.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ export const SymbolAnalysisSettings = {
qname_path_hierarchy_analyzer: {
type: 'custom',
tokenizer: 'qname_path_hierarchy_tokenizer',
filter: ['lowercase'],
},
},
tokenizer: {
Expand Down

0 comments on commit 3ee3deb

Please sign in to comment.