#24 closed defect (released)
simpleindex ignores the last line if it has no trailing linefeed
Reported by: | Robert Pollak | Owned by: | Olly Betts |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Examples | Version: | 0.7.3 |
Severity: | normal | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Operating System: | Linux |
Description
I think I see the bug that James Aylett described on the mailing list ("simple* examples", 2003-07-16, see above URL).
I generated a text file of one line without linefeed. After indexing with "simpleindex db <file" delve still gave me "number of documents = 0".
After appending a linefeed and indexing delve shows me that indexing has worked.
URL: http://article.gmane.org/gmane.comp.search.xapian.devel/222
Note:
See TracTickets
for help on using tickets.
Thanks for reporting this - I've just applied a fix to CVS.