java - blank output on IndriRunQuery in lemur project -


i'm using lemur nlp project, , indexed data succesffully wanna run query on index files indrirunquery command parameter file:

    <parameters>  <index>path-to-index-directory</index> <query>      <number>1</number>      <text>query sample string</text>  </query> <count>50</count></parameters> 

there no error, there no answer. blank line in output

i found answer myself documents in indexing step weren't in format lemur document told documents told make training document in format:

<doc> <docno>document-id</docno> <text>dcoument-plain-text</text> </doc> 

and indexed documents again by: buildindex [parameterfile] user indrirunquery.exe , worked well


Comments

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -