2

We just upgraded from opengrok-0.11.1 to opengrok-1.0 to allow access to the history and annotations etc.

However many search strings now need quoted. We used to be able to search for a file path containing unquoted hosts.txt which now finds hundreds of matches vs a quoted search for "hosts.txt" which finds the expected two files. Is there some default we can tweek to change the analyzers being used for different fields. Is this a bug?

ferg
  • 196
  • 1
  • 11

1 Answers1

3

According to the OpenGrok help (OpenGrok > Help):

if you want just exact path, enclose it in "", e.g. "src/mypath", otherwise dividers will be removed and you get more hits

This change happened on 24-Oct-13 due to Lucene changes according to the issue 672 (where you can find more info about).

Eric
  • 6,563
  • 5
  • 42
  • 66
  • A step backwards in usefulness. I agree with the point in 672 where this was declared a stopper. It may well be for us. But thanks - anyhow. – ferg Aug 07 '17 at 15:26