Hi,
I am using lxr 0.9.5 and swish-e 2.4.5 for searching. It works well for most part but for one detail; when I do a search, I get the correct results but they all point to the file and do not drill down to the line numbers.
For example,
http://lxr.atlas-canada.ca/lxr-14/search?filestring=&string=UserAnalysis
and the results are returned as:
http://lxr.atlas-canada.ca/lxr-14/source/offline/PhysicsAnalysis/AnalysisCommon/UserAnalysis/ChangeLog ...
instead of
http://lxr.atlas-canada.ca/lxr-14/source/offline/PhysicsAnalysis/AnalysisCommon/UserAnalysis/ChangeLog#004
Is there some setting that changes this so that the links reflect the appropriate line numbers ?
Thanks, in advance, for your help !
regards, Asoka
This is a "feature" of using swish-e. Swish-e doesn't provide line numbers for the match, so LXR can't display/provide them.
The numbers before the result in a swish-e search is the relevance score, not the line number.
If you want/need line numbers then your best bet is to use glimpse.
Cheers,
Malcolm
Log in to post a comment.
Hi,
I am using lxr 0.9.5 and swish-e 2.4.5 for searching. It works well for most part but for one detail; when I do a search, I get the correct results but they all point to the file and do not drill down to the line numbers.
For example,
http://lxr.atlas-canada.ca/lxr-14/search?filestring=&string=UserAnalysis
and the results are returned as:
http://lxr.atlas-canada.ca/lxr-14/source/offline/PhysicsAnalysis/AnalysisCommon/UserAnalysis/ChangeLog
...
instead of
http://lxr.atlas-canada.ca/lxr-14/source/offline/PhysicsAnalysis/AnalysisCommon/UserAnalysis/ChangeLog#004
Is there some setting that changes this so that the links reflect the appropriate line numbers ?
Thanks, in advance, for your help !
regards,
Asoka
Hi,
This is a "feature" of using swish-e. Swish-e doesn't provide line numbers for the match, so LXR can't display/provide them.
The numbers before the result in a swish-e search is the relevance score, not the line number.
If you want/need line numbers then your best bet is to use glimpse.
Cheers,
Malcolm