Github user DevMk commented on the issue:
https://github.com/apache/lucenenet/pull/191
Hello,
Please change letter "h" casing in Lucene.Net.Analysis.Common for file
Analysis/Compound/Hyphenation/hyphenation.dtd otherwise it does not compile on
linux:
`Can't find file Analysis/Compound/Hyphenation/hyphenation.dtd.`
***
Also there is some issue with Diagnostic info in SegmentInfo when running
on linux:
```
$ dotnet run
Project Lucene (.NETCoreApp,Version=v1.0) was previously compiled. Skipping
compilation.
Unhandled Exception: System.NullReferenceException: Object reference not
set to an instance of an object.
at Lucene.Net.Store.DataOutput.WriteString(String s)
at Lucene.Net.Store.DataOutput.WriteStringStringMap(IDictionary`2 map)
at Lucene.Net.Codecs.Lucene46.Lucene46SegmentInfoWriter.Write(Directory
dir, SegmentInfo si, FieldInfos fis, IOContext ioContext)
at
Lucene.Net.Index.DocumentsWriterPerThread.SealFlushedSegment(FlushedSegment
flushedSegment)
at Lucene.Net.Index.DocumentsWriterPerThread.Flush()
at Lucene.Net.Index.DocumentsWriter.DoFlush(DocumentsWriterPerThread
flushingDWPT)
at Lucene.Net.Index.DocumentsWriter.FlushAllThreads(IndexWriter
indexWriter)
at Lucene.Net.Index.IndexWriter.DoFlush(Boolean applyAllDeletes)
at Lucene.Net.Index.IndexWriter.Flush(Boolean triggerMerge, Boolean
applyAllDeletes)
at Lucene.Program.Main(String[] args)
```
Looking for options to debug and will notify with results.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---