lqt
lqt copied to clipboard
Lucene Query Tool
lqt was originally supposed to be just a query tool - no writes. But occasionally, I find myself needing to insert a document. Last time I tried to use Luke,...
This works fine: ``` $ ./lqt -i ~/.m2/repository/bt/coref/tac-2012-kb-seeded-index-22/LOCATION_ORGANIZATION_PERSON \ -q bad-field-name:value Exception in thread "main" java.lang.RuntimeException: Invalid field names: [bad-field-name] at com.basistech.gcoref.utils.LuceneQueryTool.runQuery(LuceneQueryTool.java:313) at com.basistech.gcoref.utils.LuceneQueryTool.run(LuceneQueryTool.java:245) at com.basistech.gcoref.utils.LuceneQueryTool.main(LuceneQueryTool.java:597) ``` But this does...