[Bug 826037] Review Request: prefuse - Visualization Toolkit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=826037



--- Comment #9 from gil cattaneo <puntogil@xxxxxxxxx> ---
(In reply to Cleber Rodrigues from comment #5)
> Does the following mean that the users of this package won't find the
> features that are upstream?
> 
> # deprecated
> rm ./src/prefuse/data/search/LuceneSearcher.java
> 
> Or it compensated by the system wide lucene? What about
> KeywordSearchTupleSet.java? Does it impact the API users will see and get?
>

this package use lucene 1.4.3, and for what i need, removing these sources, it
more than good. if some user will need to support new releases of lucene will
have to provide a patch

compile-prefuse:
     [copy] Copying 35 files to ~/BUILD/prefuse-beta/build/prefuse/classes
    [javac] Compiling 355 source files to
~/BUILD/prefuse-beta/build/prefuse/classes
    [javac]
~/BUILD/prefuse-beta/build/prefuse/src/prefuse/data/search/KeywordSearchTupleSet.java:9:
error: cannot find symbol
    [javac] import org.apache.lucene.search.Hits;
    [javac]                                ^
    [javac]   symbol:   class Hits
    [javac]   location: package org.apache.lucene.search
    [javac]
~/BUILD/prefuse-beta/build/prefuse/src/prefuse/data/search/LuceneSearcher.java:14:
error: cannot find symbol
    [javac] import org.apache.lucene.search.Hits;
    [javac]                                ^
    [javac]   symbol:   class Hits
    [javac]   location: package org.apache.lucene.search
    [javac]
~/BUILD/prefuse-beta/build/prefuse/src/prefuse/data/search/LuceneSearcher.java:168:
error: cannot find symbol
    [javac]     public Hits search(String query) throws ParseException,
IOException {
    [javac]            ^
    [javac]   symbol:   class Hits
    [javac]   location: class LuceneSearcher
    [javac]
~/BUILD/prefuse-beta/build/prefuse/src/prefuse/data/search/KeywordSearchTupleSet.java:20:
warning: [deprecation] Searcher in org.apache.lucene.search has been deprecated
    [javac]  * engine supporting full text indexing and keyword search. Please
refer to
    [javac]                                                        ^
    [javac]
~/BUILD/prefuse-beta/build/prefuse/src/prefuse/data/search/KeywordSearchTupleSet.java:90:
error: cannot find symbol
    [javac]             Hits hits = m_lucene.search(query);
    [javac]             ^
    [javac]   symbol:   class Hits
    [javac]   location: class KeywordSearchTupleSet
    [javac]
~/BUILD/prefuse-beta/build/prefuse/src/prefuse/data/search/KeywordSearchTupleSet.java:155:
error: cannot find symbol
    [javac]         d.add(Field.Text(LuceneSearcher.FIELD, text,
m_storeTermVectors));
    [javac]                    ^
    [javac]   symbol:   method Text(String,String,boolean)
    [javac]   location: class Field
    [javac]
~/BUILD/prefuse-beta/build/prefuse/src/prefuse/data/search/KeywordSearchTupleSet.java:156:
error: cannot find symbol
    [javac]         d.add(Field.Keyword(LuceneSearcher.ID,
String.valueOf(id)));
    [javac]                    ^
    [javac]   symbol:   method Keyword(String,String)
    [javac]   location: class Field
    [javac]
~/BUILD/prefuse-beta/build/prefuse/src/prefuse/data/search/LuceneSearcher.java:42:
warning: [deprecation] Searcher in org.apache.lucene.search has been deprecated
    [javac]     private Searcher searcher;
    [javac]             ^
    [javac]
~/BUILD/prefuse-beta/build/prefuse/src/prefuse/data/search/LuceneSearcher.java:86:
error: no suitable constructor found for StandardAnalyzer()
    [javac]         analyzer = new StandardAnalyzer();
    [javac]                    ^
    [javac]     constructor StandardAnalyzer.StandardAnalyzer(Version,Reader)
is not applicable
    [javac]       (actual and formal argument lists differ in length)
    [javac]     constructor StandardAnalyzer.StandardAnalyzer(Version,File) is
not applicable
    [javac]       (actual and formal argument lists differ in length)
    [javac]     constructor StandardAnalyzer.StandardAnalyzer(Version) is not
applicable
    [javac]       (actual and formal argument lists differ in length)
    [javac]     constructor StandardAnalyzer.StandardAnalyzer(Version,Set<?>)
is not applicable
    [javac]       (actual and formal argument lists differ in length)
    [javac]
~/BUILD/prefuse-beta/build/prefuse/src/prefuse/data/search/LuceneSearcher.java:89:
error: no suitable constructor found for
IndexWriter(Directory,Analyzer,boolean)
    [javac]             writer = new IndexWriter(directory, analyzer,
!readOnly);
    [javac]                      ^
    [javac]     constructor
IndexWriter.IndexWriter(Directory,IndexWriterConfig) is not applicable
    [javac]       (actual and formal argument lists differ in length)
    [javac]     constructor
IndexWriter.IndexWriter(Directory,Analyzer,IndexDeletionPolicy,MaxFieldLength,IndexCommit)
is not applicable
    [javac]       (actual and formal argument lists differ in length)
    [javac]     constructor
IndexWriter.IndexWriter(Directory,Analyzer,boolean,IndexDeletionPolicy,MaxFieldLength)
is not applicable
    [javac]       (actual and formal argument lists differ in length)
    [javac]     constructor
IndexWriter.IndexWriter(Directory,Analyzer,IndexDeletionPolicy,MaxFieldLength)
is not applicable
    [javac]       (actual and formal argument lists differ in length)
    [javac]     constructor
IndexWriter.IndexWriter(Directory,Analyzer,MaxFieldLength) is not applicable
    [javac]       (actual argument boolean cannot be converted to
MaxFieldLength by method invocation conversion)
    [javac]     constructor
IndexWriter.IndexWriter(Directory,Analyzer,boolean,MaxFieldLength) is not
applicable
    [javac]       (actual and formal argument lists differ in length)
    [javac]
~/BUILD/prefuse-beta/build/prefuse/src/prefuse/data/search/LuceneSearcher.java:130:
error: no suitable constructor found for
IndexWriter(Directory,Analyzer,boolean)
    [javac]                 writer = new IndexWriter(directory, analyzer,
false);
    [javac]                          ^
    [javac]     constructor
IndexWriter.IndexWriter(Directory,IndexWriterConfig) is not applicable
    [javac]       (actual and formal argument lists differ in length)
    [javac]     constructor
IndexWriter.IndexWriter(Directory,Analyzer,IndexDeletionPolicy,MaxFieldLength,IndexCommit)
is not applicable
    [javac]       (actual and formal argument lists differ in length)
    [javac]     constructor
IndexWriter.IndexWriter(Directory,Analyzer,boolean,IndexDeletionPolicy,MaxFieldLength)
is not applicable
    [javac]       (actual and formal argument lists differ in length)
    [javac]     constructor
IndexWriter.IndexWriter(Directory,Analyzer,IndexDeletionPolicy,MaxFieldLength)
is not applicable
    [javac]       (actual and formal argument lists differ in length)
    [javac]     constructor
IndexWriter.IndexWriter(Directory,Analyzer,MaxFieldLength) is not applicable
    [javac]       (actual argument boolean cannot be converted to
MaxFieldLength by method invocation conversion)
    [javac]     constructor
IndexWriter.IndexWriter(Directory,Analyzer,boolean,MaxFieldLength) is not
applicable
    [javac]       (actual and formal argument lists differ in length)
    [javac]
~/BUILD/prefuse-beta/build/prefuse/src/prefuse/data/search/LuceneSearcher.java:139:
warning: [deprecation] optimize() in IndexWriter has been deprecated
    [javac]                     writer.optimize();
    [javac]                           ^
    [javac]
~/BUILD/prefuse-beta/build/prefuse/src/prefuse/data/search/LuceneSearcher.java:172:
error: method parse in class QueryParser cannot be applied to given types;
    [javac]                 q = QueryParser.parse(query, fields[0], analyzer);
    [javac]                                ^
    [javac]   required: String
    [javac]   found: String,String,Analyzer
    [javac]   reason: actual and formal argument lists differ in length
    [javac]
~/BUILD/prefuse-beta/build/prefuse/src/prefuse/data/search/LuceneSearcher.java:174:
error: no suitable method found for parse(String,String[],Analyzer)
    [javac]                 q = MultiFieldQueryParser.parse(query, fields,
analyzer);
    [javac]                                          ^
    [javac]     method
MultiFieldQueryParser.parse(Version,String[],String[],Occur[],Analyzer) is not
applicable
    [javac]       (actual and formal argument lists differ in length)
    [javac]     method
MultiFieldQueryParser.parse(Version,String,String[],Occur[],Analyzer) is not
applicable
    [javac]       (actual and formal argument lists differ in length)
    [javac]     method
MultiFieldQueryParser.parse(Version,String[],String[],Analyzer) is not
applicable
    [javac]       (actual and formal argument lists differ in length)
    [javac]     method QueryParser.parse(String) is not applicable
    [javac]       (actual and formal argument lists differ in length)
    [javac]
~/BUILD/prefuse-beta/build/prefuse/src/prefuse/data/search/LuceneSearcher.java:176:
error: no suitable method found for search(Query)
    [javac]             return searcher.search(q);
    [javac]                            ^
    [javac]     method Searcher.search(Weight,Filter,int,Sort) is not
applicable
    [javac]       (actual and formal argument lists differ in length)
    [javac]     method Searcher.search(Weight,Filter,int) is not applicable
    [javac]       (actual and formal argument lists differ in length)
    [javac]     method Searcher.search(Weight,Filter,Collector) is not
applicable
    [javac]       (actual and formal argument lists differ in length)
    [javac]     method Searcher.search(Query,int) is not applicable
    [javac]       (actual and formal argument lists differ in length)
    [javac]     method Searcher.search(Query,Filter,int) is not applicable
    [javac]       (actual and formal argument lists differ in length)
    [javac]     method Searcher.search(Query,Filter,Collector) is not
applicable
    [javac]       (actual and formal argument lists differ in length)
    [javac]     method Searcher.search(Query,Collector) is not applicable
    [javac]       (actual and formal argument lists differ in length)
    [javac]     method Searcher.search(Query,int,Sort) is not applicable
    [javac]       (actual and formal argument lists differ in length)
    [javac]     method Searcher.search(Query,Filter,int,Sort) is not applicable
    [javac]       (actual and formal argument lists differ in length)
    [javac]     method Searchable.search(Weight,Filter,int,Sort) is not
applicable
    [javac]       (actual and formal argument lists differ in length)
    [javac]     method Searchable.search(Weight,Filter,int) is not applicable
    [javac]       (actual and formal argument lists differ in length)
    [javac]     method Searchable.search(Weight,Filter,Collector) is not
applicable
    [javac]       (actual and formal argument lists differ in length)
    [javac]
~/BUILD/prefuse-beta/build/prefuse/src/prefuse/data/search/LuceneSearcher.java:197:
error: cannot find symbol
    [javac]             Hits hits = search(query);
    [javac]             ^
    [javac]   symbol:   class Hits
    [javac]   location: class LuceneSearcher
    [javac]
~/BUILD/prefuse-beta/build/prefuse/src/prefuse/data/search/LuceneSearcher.java:276:
warning: [deprecation] Searcher in org.apache.lucene.search has been deprecated
    [javac]     public Searcher getIndexSearcher() {
    [javac]            ^
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 13 errors
    [javac] 4 warnings

other questions of "style" for me are irrelevant

regards

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review





[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]