Task #10408 (new)
Opened 6 years ago
Last modified 4 years ago
Bug: search for Experimenter using byFullText("root") does not return any results
| Reported by: | jcorrington-x | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | Unscheduled |
| Component: | Search | Version: | 5.0.5 |
| Keywords: | n.a. | Cc: | |
| Resources: | n.a. | Referenced By: | n.a. |
| References: | n.a. | Remaining Time: | n.a. |
| Sprint: | n.a. |
Description
Searching for Experimenter using byFullText("root") does not return any results. This happens when filtering by type string or owner details. The following C++ test case in OmeroCpp/test/integration/search.cpp will reproduce the issue.
TEST(SearchTest, testLookingForExperimenterWithOwner ) {
SearchFixture f;
SearchPrx search = f.search();
search->onlyType("Experimenter");
// Just root should work
search->byFullText("root");
assertAtLeastResults(1, search);
// And filtered on "owner" (experimenter has none) should work, too.
DetailsIPtr d = new DetailsI();
d->setOwner(new ExperimenterI(0L, false));
search->onlyOwnedBy(d);
search->byFullText("root");
assertAtLeastResults(1, search);
}
Change History (2)
comment:1 Changed 5 years ago by jburel
- Owner set to rleigh
- Version set to 5.0.5
comment:2 Changed 4 years ago by rleigh
- Owner rleigh deleted
Taking myself off the ticket--I know nothing about OMERO search to be able to look at this.
Roger did you look at that test?