#312
authorSweidan Omar <TFS\sweidan.omar>
Fri, 28 Jan 2022 00:52:51 +0000 (00:52 +0000)
committerSweidan Omar <TFS\sweidan.omar>
Fri, 28 Jan 2022 00:52:51 +0000 (00:52 +0000)
git-tfs-id: [http://tfs.userrendszerhaz.hu:8080/tfs/DefaultCollection]$/MediaCube;C32923

server/hu.user.mediacube.indexer/src/test/java/hu/user/mediacube/indexer/TestLucene.java

index 1a8fbef79c443ca32c1a2bd4562afd9a64716d2f..27a09a4ebfe1e13924d9aced077678c5bcdc19b0 100644 (file)
@@ -27,15 +27,15 @@ public class TestLucene {
        String indexPath = "/opt/lucence";\r
        Directory directoryIndex;\r
 \r
-       private void createDocument(IndexWriter indexWritter) throws IOException {\r
+       private void createDocument(IndexWriter indexWriter) throws IOException {\r
                Document document;\r
 \r
                document = new Document();\r
                document.add(new TextField("title", "szalonnás jóreggelt", Store.YES));\r
                document.add(new TextField("body", "vásáry dániel", Store.YES));\r
-               indexWritter.addDocument(document);\r
+               indexWriter.addDocument(document);\r
 \r
-               indexWritter.close();\r
+               indexWriter.close();\r
        }\r
 \r
        public List<Document> search(String inField, String queryString) throws Exception {\r