Java files are either not indexed or not available via search
Added by Surya Suravarapu 1199 days ago
I'm using version 0.5. I'm not seeing results from Java files, either the filename search or the method name search. From the wiki docs I see Java files are supported. Can the dev(s) please clarify?
Replies
RE: Java files are either not indexed or not available via search - Added by Karl Heinz Marbaise 1199 days ago
Hi, first of all thanks for testing...
May be you can give a little more details of what you've tried (the command line incl. the query --query ?) and of course which release you exactly downloaded...?
Kind regards
Karl Heinz Marbaise
RE: Java files are either not indexed or not available via search - Added by Surya Suravarapu 1199 days ago
Downloaded 0.5.0 ceres from here: http://supose.soebes.de/projects/list_files/supose
My command line search worked for other types of files (xml, jsp, etc.) but not for Java files. Query looked something like this:
supose search --index <path_to_index_folder> --query <Java_Class_Name>
RE: Java files are either not indexed or not available via search - Added by Redmine Admin 1199 days ago
Hi Surya,
Downloaded 0.5.0 ceres from here: http://supose.soebes.de/projects/list_files/supose
Ah thanks for the information....
Did you use one of the following ?My command line search worked for other types of files (xml, jsp, etc.) but not for Java files. Query looked something like this: supose search --index <path_to_index_folder> --query <Java_Class_Name>
- --query "JavaClassName.java"
- --query "JavaClassName" ?
- --query "+filename:/*JavaClassName.java"
And which field did you use? Or didn't you specify a field ?
Currently for Java files the method names are indexed and can be searched (field: methods) and the comments in a Java Source files are indexed.
So may be i can change to make the Java Classname searchable in a separate field if you thinks is worth (might make sense with local classes) ?
RE: Java files are either not indexed or not available via search - Added by Surya Suravarapu 1199 days ago
Query providing fieldname worked! Something like this: --query "+filename:/*JavaClassName.java".
Thanks! I like SupoSE so far, let me know if there is something I can help you in the development efforts (you have my email address).
RE: Java files are either not indexed or not available via search - Added by Karl Heinz Marbaise 1199 days ago
Surya Suravarapu wrote:
Query providing fieldname worked! Something like this: --query "+filename:/*JavaClassName.java".
Thanks! I like SupoSE so far, let me know if there is something I can help you in the development efforts (you have my email address).
Wow...good to hear that's working...
If you like to you can take a look at the roadmap ...there are many bugs...;-)
Thanks for testing SupoSE...
Kind regards
Karl Heinz Marbaise