Closed Bug 1164071 Opened 9 years ago Closed 3 years ago

Multi-tree searching

Categories

(Webtools Graveyard :: DXR, defect)

defect
Not set
normal

Tracking

(firefox41 affected)

RESOLVED WONTFIX
Tracking Status
firefox41 --- affected

People

(Reporter: erik, Unassigned)

Details

Be able to run a query across multiple trees at once and get a union of the results. Question to answer: how do we organize the results? Sort by tree? Sort by path? Something else?
MXR can't do this. (The motivation was probably to search all the different build:* trees, which, on MXR, are rolled into a single tree to allow all-at-once searching. This doesn't need to be a blocker, though.)
No longer blocks: 1097091
Technically MXR *does* do this, but only because it has glimpse running on the parent directory to all of the checkouts. Build is the most obvious one, because we've been told/asked about it, but there are others: projects-central, offhand, but probably everything that's *-central. Whether or not that's actually useful for any given group *besides* build/* is another matter.

I have a probable workaround in the pipeline to test, though, that does the same thing, so I agree that it need not be a blocker to have it within DXR itself.
confirming that I have a workaround that, uh, works.
gtk! What is this wonderment?
check out all of the subtrees and index normally, then have a special jenkins job that runs an index from the parent directory. the parent only gets run on a set schedule, rather than being tied to any of the child SCM polling, but that's the same as MXR. as a bonus, you can then decide to search either the parent (and all children) or just a specific child, which I don't think MXR let's you do atm. otoh, it's doubling the index size for a given tree. can't win 'em all. :-)
Holy moly. And, of course, that's going to give you only text-search capability, not structural. I'm inclined to hold off on that until somebody asks for it.

DXR is no longer available. Searchfox is now replacing it.
See meta bug 1669906 & https://groups.google.com/g/mozilla.dev.platform/c/jDRjrq3l-CY for more details.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WONTFIX
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.