indexer:使用 Apache Lucene 快速建立 CSV 文件索引

上传者: 42144707 | 上传时间: 2022-10-23 18:04:14 | 文件大小: 73KB | 文件类型: ZIP
索引器 CSV 文件的索引器。 虽然不那么灵活,但比 ElasticSearch 快。 用法 索引和搜索 CSV 文件的内容。 输入文件中的第一列是每个索引文档的 ID 字段。 索引器从 [ input.csv ] 创建 [ index/dir ] 索引器从 [ input.csv ] 追加 [ index/dir ] 索引器从 [ input.csv ] 更新 [ index/dir ] 索引器删除 [索引/目录] 索引器查找 [ 全部 | n ] return [ "field1,field2 ..." ] from [ index/dir ] where [ "criteria [[AND | OR] criteria]"]

文件下载

资源详情

[{"title":"( 41 个子文件 73KB ) indexer:使用 Apache Lucene 快速建立 CSV 文件索引","children":[{"title":"indexer-master","children":[{"title":"gradlew <span style='color:#111;'> 4.96KB </span>","children":null,"spread":false},{"title":"settings.gradle <span style='color:#111;'> 30B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"test","children":[{"title":"resources","children":[{"title":"ComponentsTest","children":[{"title":"testGetCsvParserOK","children":[{"title":"empty.csv <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true},{"title":"testGetCsvParserError","children":[{"title":"empty <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true},{"title":"testGetInputReaderOK","children":[{"title":"empty_with_headers.csv <span style='color:#111;'> 13B </span>","children":null,"spread":false}],"spread":true},{"title":"testGetIndexWriterOK","children":[{"title":"empty <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true},{"title":"testGetOutputWriterOKWithCreateOpenMode","children":[{"title":"empty <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true},{"title":"testGetInputReaderError","children":[{"title":"empty <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"OutputWriterTest","children":[{"title":"testDrop","children":[{"title":"empty <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true},{"title":"testUpdate","children":[{"title":"empty <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true},{"title":"testInsert","children":[{"title":"empty <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true},{"title":"testClose","children":[{"title":"empty <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"InputReaderTest","children":[{"title":"empty <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"empty_with_headers.csv <span style='color:#111;'> 13B </span>","children":null,"spread":false},{"title":"empty.csv <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"sample_data.csv <span style='color:#111;'> 61B </span>","children":null,"spread":false}],"spread":true},{"title":"IndexerTest","children":[{"title":"testUpdate","children":[{"title":"update_users.csv <span style='color:#111;'> 41B </span>","children":null,"spread":false},{"title":"insert_users.csv <span style='color:#111;'> 34B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"java","children":[{"title":"org","children":[{"title":"indexer","children":[{"title":"indexing","children":[{"title":"ComponentsTest.java <span style='color:#111;'> 2.98KB </span>","children":null,"spread":false},{"title":"OutputWriterTest.java <span style='color:#111;'> 3.67KB </span>","children":null,"spread":false},{"title":"IndexerTest.java <span style='color:#111;'> 2.36KB </span>","children":null,"spread":false},{"title":"InputReaderTest.java <span style='color:#111;'> 1.45KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"main","children":[{"title":"java","children":[{"title":"org","children":[{"title":"indexer","children":[{"title":"search","children":[{"title":"InputReader.java <span style='color:#111;'> 3.93KB </span>","children":null,"spread":false},{"title":"Components.java <span style='color:#111;'> 1.50KB </span>","children":null,"spread":false},{"title":"Searcher.java <span style='color:#111;'> 769B </span>","children":null,"spread":false}],"spread":true},{"title":"Command.java <span style='color:#111;'> 6.54KB </span>","children":null,"spread":false},{"title":"indexing","children":[{"title":"InputReader.java <span style='color:#111;'> 3.31KB </span>","children":null,"spread":false},{"title":"Components.java <span style='color:#111;'> 4.44KB </span>","children":null,"spread":false},{"title":"Indexer.java <span style='color:#111;'> 2.84KB </span>","children":null,"spread":false},{"title":"OutputWriter.java <span style='color:#111;'> 2.08KB </span>","children":null,"spread":false}],"spread":true},{"title":"Main.java <span style='color:#111;'> 1.96KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"gradle","children":[{"title":"wrapper","children":[{"title":"gradle-wrapper.properties <span style='color:#111;'> 229B </span>","children":null,"spread":false},{"title":"gradle-wrapper.jar <span style='color:#111;'> 49.32KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"README.md <span style='color:#111;'> 528B </span>","children":null,"spread":false},{"title":"gradlew.bat <span style='color:#111;'> 2.26KB </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 91B </span>","children":null,"spread":false},{"title":"files","children":[{"title":"output","children":[{"title":"empty <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true},{"title":"input","children":[{"title":"empty <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true},{"title":"generator.rb <span style='color:#111;'> 1.80KB </span>","children":null,"spread":false}],"spread":true},{"title":"build.gradle <span style='color:#111;'> 460B </span>","children":null,"spread":false},{"title":"indexer.iml <span style='color:#111;'> 1.81KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明