Hey

ignore it for now and please file a bug on http://defect.opensolaris.org/bz/ , since this is a bug of summarize/highlighter in {OpenGrok
I've seen this before, so it needs fixing, but it's low priority (you can just ignore false positive from search)
- it will happen also for refs search, simply summarizer/highlighter is set up mainly for full search, doesn't sometimes filter the tokens which aren't defs or refs

We'll try to tackle it in 0.1? (0.12 hopefully) where also lucene should be replaced and it provides better means of highlighting results

thank you for the report
L

On 9.12.2011 13:53, Gandhi, Shailey wrote:

Can someone please help me with this?

 

Thanks

=======

For me it is returning two files , one where “main” is defined and the other where the string main is a part of a comment, starts with :

/// main control

I am assuming /// means it’s a comment.

 

   

 

From: Trond Norbye [mailto:trond.nor...@gmail.com]
Sent: Friday, December 09, 2011 2:25 PM
To: Gandhi, Shailey (GWMG Technology)
Cc: opengrok-discuss@opensolaris.org
Subject: Re: [opengrok] Definition Search returns the string used in a comment

 


It will show all the occurrences of the word you searched for in each file it finds a definition. That way you'll easily see the other place it's "used" within the file it's defined.

Trond

On Fri, Dec 9, 2011 at 9:16 AM, Gandhi, Shailey <shailey.gan...@morganstanley.com> wrote:

Can someone please explain to me the following:

I did a definition search for “main” in a project.

Why does it return ///main in the output. Isnt it supposed to return just the file where main has been defined??

 


NOTICE: Morgan Stanley is not acting as a municipal advisor and the opinions or views contained herein are not intended to be, and do not constitute, advice within the meaning of Section 975 of the Dodd-Frank Wall Street Reform and Consumer Protection Act. If you have received this communication in error, please destroy all electronic and paper copies and notify the sender immediately. Mistransmission is not intended to waive confidentiality or privilege. Morgan Stanley reserves the right, to the extent permitted under applicable law, to monitor electronic communications. This message is subject to terms available at the following link: http://www.morganstanley.com/disclaimers. If you cannot access these links, please notify us by reply message and we will send the contents to you. By messaging with Morgan Stanley you consent to the foregoing.


NOTICE: Morgan Stanley is not acting as a municipal advisor and the opinions or views contained herein are not intended to be, and do not constitute, advice within the meaning of Section 975 of the Dodd-Frank Wall Street Reform and Consumer Protection Act. If you have received this communication in error, please destroy all electronic and paper copies and notify the sender immediately. Mistransmission is not intended to waive confidentiality or privilege. Morgan Stanley reserves the right, to the extent permitted under applicable law, to monitor electronic communications. This message is subject to terms available at the following link: http://www.morganstanley.com/disclaimers. If you cannot access these links, please notify us by reply message and we will send the contents to you. By messaging with Morgan Stanley you consent to the foregoing.


_______________________________________________
opengrok-discuss mailing list
opengrok-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opengrok-discuss


_______________________________________________
opengrok-discuss mailing list
opengrok-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opengrok-discuss

Reply via email to