{"action":"opened","issue":{"url":"https://api.github.com/repos/stepthom/lucene-lda/issues/9","labels_url":"https://api.github.com/repos/stepthom/lucene-lda/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/stepthom/lucene-lda/issues/9/comments","events_url":"https://api.github.com/repos/stepthom/lucene-lda/issues/9/events","html_url":"https://github.com/stepthom/lucene-lda/issues/9","id":115206587,"number":9,"title":"Unable to compile with Lucene_41","user":{"login":"balajig17","id":6092680,"avatar_url":"https://avatars.githubusercontent.com/u/6092680?v=3","gravatar_id":"","url":"https://api.github.com/users/balajig17","html_url":"https://github.com/balajig17","followers_url":"https://api.github.com/users/balajig17/followers","following_url":"https://api.github.com/users/balajig17/following{/other_user}","gists_url":"https://api.github.com/users/balajig17/gists{/gist_id}","starred_url":"https://api.github.com/users/balajig17/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/balajig17/subscriptions","organizations_url":"https://api.github.com/users/balajig17/orgs","repos_url":"https://api.github.com/users/balajig17/repos","events_url":"https://api.github.com/users/balajig17/events{/privacy}","received_events_url":"https://api.github.com/users/balajig17/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-05T04:21:39Z","updated_at":"2015-11-05T04:21:39Z","closed_at":null,"body":"I was trying to get lucene-lda to work with lucene-core-4.10.5 jar.\r\nIt throws compilation errors on building it with lucene-core-4.10.5-SNAPSHOT.jar .\r\n\r\n lucene-core-3.5.0.jar  and lucene-analyzers-3.5.0.jar were replaced with the following jars in build.xml. \r\n* lucene-analyzers-phonetic-4.10.5-SNAPSHOT.jar\r\n* lucene-analyzers-kuromoji-4.10.5-SNAPSHOT.jar\r\n* lucene-analyzers-common-4.10.5-SNAPSHOT.jar\r\n* lucene-core-4.10.5-SNAPSHOT.jar\r\n\r\n```\r\n\r\njar:\r\n    [javac] Compiling 9 source files to /Users/Balaji/Development/LDA/lucene-lda/build/classes\r\n    [javac] /Users/Balaji/Development/LDA/lucene-lda/src/ca/queensu/cs/sail/lucenelda/LDASimilarity.java:29: error: cannot find symbol\r\n    [javac] import org.apache.lucene.search.DefaultSimilarity;\r\n    [javac]                                ^\r\n    [javac]   symbol:   class DefaultSimilarity\r\n    [javac]   location: package org.apache.lucene.search\r\n    [javac] /Users/Balaji/Development/LDA/lucene-lda/src/ca/queensu/cs/sail/lucenelda/LDASimilarity.java:31: error: cannot find symbol\r\n    [javac] public class LDASimilarity extends DefaultSimilarity {\r\n    [javac]                                    ^\r\n    [javac]   symbol: class DefaultSimilarity\r\n    [javac] /Users/Balaji/Development/LDA/lucene-lda/src/ca/queensu/cs/sail/lucenelda/SimpleIndexer.java:10: warning: [deprecation] Index in Field has been deprecated\r\n    [javac] import org.apache.lucene.document.Field.Index;\r\n    [javac]                                        ^\r\n    [javac] /Users/Balaji/Development/LDA/lucene-lda/src/ca/queensu/cs/sail/lucenelda/SimpleIndexer.java:12: error: cannot find symbol\r\n    [javac] import org.apache.lucene.document.NumericField;\r\n    [javac]                                  ^\r\n    [javac]   symbol:   class NumericField\r\n    [javac]   location: package org.apache.lucene.document\r\n    [javac] /Users/Balaji/Development/LDA/lucene-lda/src/ca/queensu/cs/sail/lucenelda/VSMQueryAllInDirectory.java:30: error: package org.apache.lucene.queryParser does not exist\r\n    [javac] import org.apache.lucene.queryParser.MultiFieldQueryParser;\r\n    [javac]                                     ^\r\n    [javac] /Users/Balaji/Development/LDA/lucene-lda/src/ca/queensu/cs/sail/lucenelda/VSMQueryAllInDirectory.java:31: error: package org.apache.lucene.queryParser does not exist\r\n    [javac] import org.apache.lucene.queryParser.QueryParser;\r\n    [javac]                                     ^\r\n    [javac] /Users/Balaji/Development/LDA/lucene-lda/src/ca/queensu/cs/sail/lucenelda/VSMQueryAllInDirectory.java:56: error: cannot find symbol\r\n    [javac] \tprivate static QueryParser   parser     = null;\r\n    [javac] \t               ^\r\n    [javac]   symbol:   class QueryParser\r\n    [javac]   location: class VSMQueryAllInDirectory\r\n    [javac] /Users/Balaji/Development/LDA/lucene-lda/src/ca/queensu/cs/sail/lucenelda/VSMSimilarity.java:27: error: cannot find symbol\r\n    [javac] import org.apache.lucene.search.DefaultSimilarity;\r\n    [javac]                                ^\r\n    [javac]   symbol:   class DefaultSimilarity\r\n    [javac]   location: package org.apache.lucene.search\r\n    [javac] /Users/Balaji/Development/LDA/lucene-lda/src/ca/queensu/cs/sail/lucenelda/VSMSimilarity.java:29: error: cannot find symbol\r\n    [javac] public class VSMSimilarity extends DefaultSimilarity {\r\n    [javac]                                    ^\r\n    [javac]   symbol: class DefaultSimilarity\r\n    [javac] /Users/Balaji/Development/LDA/lucene-lda/src/ca/queensu/cs/sail/lucenelda/IndexDirectory.java:97: warning: [rawtypes] found raw type: Iterator\r\n    [javac] \t\t\tfor (java.util.Iterator errs = config.getErrorMessageIterator(); errs\r\n    [javac] \t\t\t              ^\r\n    [javac]   missing type arguments for generic class Iterator<E>\r\n    [javac]   where E is a type-variable:\r\n    [javac]     E extends Object declared in interface Iterator\r\n    [javac] /Users/Balaji/Development/LDA/lucene-lda/src/ca/queensu/cs/sail/lucenelda/IndexDirectoryRunLDA.java:83: warning: [rawtypes] found raw type: Iterator\r\n    [javac]         \tfor (java.util.Iterator errs = config.getErrorMessageIterator(); errs.hasNext();) {\r\n    [javac]         \t              ^\r\n    [javac]   missing type arguments for generic class Iterator<E>\r\n    [javac]   where E is a type-variable:\r\n    [javac]     E extends Object declared in interface Iterator\r\n    [javac] /Users/Balaji/Development/LDA/lucene-lda/src/ca/queensu/cs/sail/lucenelda/LDAQueryAllInDirectory.java:121: warning: [rawtypes] found raw type: Iterator\r\n    [javac] \t\t\tfor (java.util.Iterator errs = config.getErrorMessageIterator(); errs\r\n    [javac] \t\t\t              ^\r\n    [javac]   missing type arguments for generic class Iterator<E>\r\n    [javac]   where E is a type-variable:\r\n    [javac]     E extends Object declared in interface Iterator\r\n    [javac] /Users/Balaji/Development/LDA/lucene-lda/src/ca/queensu/cs/sail/lucenelda/LDAQueryAllInDirectory.java:166: error: no suitable method found for open(Directory,boolean)\r\n    [javac] \t\treader   = IndexReader.open(dir, true);\r\n    [javac] \t\t                      ^\r\n    [javac]     method IndexReader.open(Directory,int) is not applicable\r\n    [javac]       (argument mismatch; boolean cannot be converted to int)\r\n    [javac]     method IndexReader.open(IndexWriter,boolean) is not applicable\r\n    [javac]       (argument mismatch; Directory cannot be converted to IndexWriter)\r\n    [javac]     method IndexReader.open(IndexCommit,int) is not applicable\r\n    [javac]       (argument mismatch; Directory cannot be converted to IndexCommit)\r\n\r\nBUILD FAILED\r\n/Users/Balaji/Development/LDA/lucene-lda/build.xml:45: Compile failed; see the compiler error output for details.\r\n\r\nTotal time: 1 second\r\n\r\n```\r\n\r\nIs there some other change that needs to be made that I'm missing?"}}