oracle / opengrok

OpenGrok is a fast and usable source code search and cross reference engine, written in Java
http://oracle.github.io/opengrok/
Other
4.34k stars 745 forks source link

Files from same directory are scattered on different search result page. #1900

Open trivia21 opened 6 years ago

trivia21 commented 6 years ago

When the results for an OpenGrok search are listed, they are grouped by directory, with the files contained in that directory listed immediately below.

However, the SAME directory can appear MULTIPLE times (on different pages) with DIFFERING sets of files. This is problematic, because the user must tediously search through every page to ensure that they have not overlooked some scattered result. This is exactly what OpenGrok is supposed to prevent!.

Opengrok Version: 11.1 Java Version : 6

vladak commented 6 years ago

What is the OpenGrok version exactly ?

vladak commented 6 years ago

Actually, I can reproduce this with 1.1-rc17.

idodeclare commented 6 years ago

OpenGrok does report that the results are "sorted by [Lucene] relevance". I did not think this meant that all relevant files for each directory would be shown together.

If a particular directory is of interest, shouldn't a "File Path" criterion be used as well?

tarzanek commented 6 years ago

also 11.1 is really ancient