Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 457784 - [feature_request][index2] Allow search by "parent" field.
Summary: [feature_request][index2] Allow search by "parent" field.
Status: RESOLVED FIXED
Alias: None
Product: DLTK
Classification: Technology
Component: Common (show other bugs)
Version: 5.1   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 5.1.1   Edit
Assignee: dltk.common-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 457621
  Show dependency tree
 
Reported: 2015-01-17 15:24 EST by Dawid Pakula CLA
Modified: 2015-01-29 16:11 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dawid Pakula CLA 2015-01-17 15:24:17 EST
DLTK index2, and it's official implementation, register "parent" field to be able to recover the target model structure.

Unfortunately it's not possible to search by this field using only public search api (ISearchEngine), for example to search for global functions instead of class members. 

This is possible only by H2ElementDao#method.
Comment 1 Dawid Pakula CLA 2015-01-17 19:08:15 EST
Simple patch: https://git.eclipse.org/r/#/c/39813/