lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From NightOwl888 <...@git.apache.org>
Subject [GitHub] lucenenet issue #191: Migrating Lucene.Net to .NET Core
Date Wed, 08 Feb 2017 17:12:49 GMT
Github user NightOwl888 commented on the issue:

    https://github.com/apache/lucenenet/pull/191
  
    To be clear, this happens when you check the DEBUG box in the `Lucene.Net.TestFramework`
project. I confirmed that checking the box makes the setting true. So, apparently somehow
the output stream got detached.
    
    When it is working, and you run a test that uses the flag, you can see the result in the
Tests selection in the Output window in Visual Studio. For example, if the setting is enabled
and I run the test `Lucene.Net.Tests.Core.TestDocTermOrds.TestRandom()`, the result looks
like (chopped off for brevity):
    
    ```
    NUnit Adapter 3.7.0.0: Test discovery complete
    ========== Discover test finished: 3091 found (0:00:09.81797) ==========
    ------ Run test started ------
    NUnit VS Adapter 2.0.0.0 executing tests is started
    Loading tests from F:\Projects\_Test\lucenenet\src\Lucene.Net.Tests\bin\Debug\Lucene.Net.Tests.dll
    Run started: F:\Projects\_Test\lucenenet\src\Lucene.Net.Tests\bin\Debug\Lucene.Net.Tests.dll
    vstest.executionengine.x86.exe Information: 0 : 
    Type of Directory is : RAMDirectory
    IFD 1 [2/9/2017 12:06:13 AM; ]: init: current segments file is ""; deletionPolicy=Lucene.Net.Index.KeepOnlyLastCommitDeletionPolicy
    IFD 1 [2/9/2017 12:06:13 AM; ]: now checkpoint "" [0 segments ; isCommit = False]
    IFD 1 [2/9/2017 12:06:13 AM; ]: 0 msec to checkpoint
    IW 1 [2/9/2017 12:06:13 AM; ]: init: create=True
    IW 1 [2/9/2017 12:06:13 AM; ]: 
    dir=MockDirectoryWrapper(RAMDirectory@25da777 lockFactory=Lucene.Net.Store.SingleInstanceLockFactory)
    index=
    version=4.8.0.0
    matchVersion=LUCENE_48
    analyzer=MockAnalyzer
    ramBufferSizeMB=16
    maxBufferedDocs=-1
    maxBufferedDeleteTerms=-1
    mergedSegmentWarmer=
    readerTermsIndexDivisor=2
    termIndexInterval=32
    delPolicy=KeepOnlyLastCommitDeletionPolicy
    commit=null
    openMode=CREATE_OR_APPEND
    similarity=RandomSimilarityProvider
    mergeScheduler=ConcurrentMergeScheduler: maxThreadCount=1, maxMergeCount=2, mergeThreadPriority=-1
    default WRITE_LOCK_TIMEOUT=1000
    writeLockTimeout=1000
    codec=Lucene46
    infoStream=TestPointInfoStream
    mergePolicy=[LogByteSizeMergePolicy: minMergeSize=1677721, mergeFactor=15, maxMergeSize=2147483648,
maxMergeSizeForForcedMerge=9223372036854775807, calibrateSizeByDeletes=True, maxMergeDocs=2147483647,
maxCFSSegmentSizeMB=8796093022208, noCFSRatio=0.866187004356732]
    indexerThreadPool=Lucene.Net.Index.ThreadAffinityDocumentsWriterThreadPool
    readerPooling=False
    perThreadHardLimitMB=1945
    useCompoundFile=True
    checkIntegrityAtMerge=False
    
    RIW dir=MockDirectoryWrapper(RAMDirectory@25da777 lockFactory=Lucene.Net.Store.SingleInstanceLockFactory)
config=matchVersion=LUCENE_48
    analyzer=MockAnalyzer
    ramBufferSizeMB=16
    maxBufferedDocs=-1
    maxBufferedDeleteTerms=-1
    mergedSegmentWarmer=
    readerTermsIndexDivisor=2
    termIndexInterval=32
    delPolicy=KeepOnlyLastCommitDeletionPolicy
    commit=null
    openMode=CREATE_OR_APPEND
    similarity=RandomSimilarityProvider
    mergeScheduler=ConcurrentMergeScheduler: maxThreadCount=1, maxMergeCount=2, mergeThreadPriority=-1
    default WRITE_LOCK_TIMEOUT=1000
    writeLockTimeout=1000
    codec=Lucene46
    infoStream=TestPointInfoStream
    mergePolicy=[LogByteSizeMergePolicy: minMergeSize=1677721, mergeFactor=15, maxMergeSize=2147483648,
maxMergeSizeForForcedMerge=9223372036854775807, calibrateSizeByDeletes=True, maxMergeDocs=2147483647,
maxCFSSegmentSizeMB=8796093022208, noCFSRatio=0.866187004356732]
    indexerThreadPool=Lucene.Net.Index.ThreadAffinityDocumentsWriterThreadPool
    readerPooling=False
    perThreadHardLimitMB=1945
    useCompoundFile=True
    checkIntegrityAtMerge=False
    
    codec default=Lucene46
    TEST: doc id=0
      f=﹋﹀︾﹊﹇︵﹊﹉﹀︽︴︲﹀﹇︻﹂︼︲︱
      f=ꥇꤸꥌꤸꥎ
      f=ㅯㄿㅴㅂㆌㅜㆆㅮ
      f=⧎⧼⧥
      f=૙સૣશ૧ઁ૤઺૭઼ં૳઻઺૞઱ાષ
      f=ᝌᝉᝌ᝞᝕ᝍ᝙᝝ᝌ᝖ᝓ᝚᝘ᝉᝓ᝟ᝂ
      f=𐎤𐏖𐎣
      f=ʤɺʮɹɝʩɥɾʖʣɦʄʄʛʄʊʉɘɑɬ
      f=𐇂𐆛𐆛𐆶𐆶𐆿𐆙𐆾𐆝𐆜𐇎𐇅𐆣𐆢
      f=ꡜ꡿ꡗꡉ꡸ꡦꡅ꡷꡾ꡙꡣꡍꡨ
      f=ᚄᚃᚍᚆᚊ ᚑ᚟ᚈᚑ
    TEST: doc id=1
      f=ճ֊լտԱօպղԹ
      f=🁇🁤🁔🀻🁵🁅
      f=﹋﹀︾﹊﹇︵﹊﹉﹀︽︴︲﹀﹇︻﹂︼︲︱
      f=ꡜ꡿ꡗꡉ꡸ꡦꡅ꡷꡾ꡙꡣꡍꡨ
      f=ᝌᝉᝌ᝞᝕ᝍ᝙᝝ᝌ᝖ᝓ᝚᝘ᝉᝓ᝟ᝂ
      f=Ⲣ⳦Ⲣⲁⳗ⳹ⲡ⳰
      f=𐇂𐆛𐆛𐆶𐆶𐆿𐆙𐆾𐆝𐆜𐇎𐇅𐆣𐆢
      f=૙સૣશ૧ઁ૤઺૭઼ં૳઻઺૞઱ાષ
      f=𫖨𫂪𫜍𫍘𪨷𫚹
      f=ᣦᣲᣜᢰᣀᣱᣒᣁ᣸ᣇᣐᣟᢾ
      f=⚘☔♇♽⚲☘♭⛀
      f=›”
      f=𐎤𐏖𐎣
      f=⧎⧼⧥
      f=ʤɺʮɹɝʩɥɾʖʣɦʄʄʛʄʊʉɘɑɬ
      f=ᚄᚃᚍᚆᚊ ᚑ᚟ᚈᚑ
      f=ㅯㄿㅴㅂㆌㅜㆆㅮ
    TEST: doc id=2
      f=૙સૣશ૧ઁ૤઺૭઼ં૳઻઺૞઱ાષ
      f=ᣦᣲᣜᢰᣀᣱᣒᣁ᣸ᣇᣐᣟᢾ
      f=𐇂𐆛𐆛𐆶𐆶𐆿𐆙𐆾𐆝𐆜𐇎𐇅𐆣𐆢
      f=ᴇᴲᴐᵥᵄ
      f=⧎⧼⧥
      f=י׹ֶ׬
      f=ᚄᚃᚍᚆᚊ ᚑ᚟ᚈᚑ
      f=ᝌᝉᝌ᝞᝕ᝍ᝙᝝ᝌ᝖ᝓ᝚᝘ᝉᝓ᝟ᝂ
      f=⟻⟹⟴⟻
      f=﹋﹀︾﹊﹇︵﹊﹉﹀︽︴︲﹀﹇︻﹂︼︲︱
      f=ʤɺʮɹɝʩɥɾʖʣɦʄʄʛʄʊʉɘɑɬ
      f=ꥇꤸꥌꤸꥎ
      f=ճ֊լտԱօպղԹ
      f=􃎚􀰟􋝗􁪎􅡳􆌁􄒕􃞶􎫙􂀲
    TEST: doc id=3
      f=›”
      f=Ⲣ⳦Ⲣⲁⳗ⳹ⲡ⳰
      f=ճ֊լտԱօպղԹ
      f=𐎤𐏖𐎣
      f=𐇂𐆛𐆛𐆶𐆶𐆿𐆙𐆾𐆝𐆜𐇎𐇅𐆣𐆢
      f=ᝌᝉᝌ᝞᝕ᝍ᝙᝝ᝌ᝖ᝓ᝚᝘ᝉᝓ᝟ᝂ
      f=ꖔ꘺ꕣ
      f=﹋﹀︾﹊﹇︵﹊﹉﹀︽︴︲﹀﹇︻﹂︼︲︱
      f=𫖨𫂪𫜍𫍘𪨷𫚹
      f=⧎⧼⧥
      f=ꡜ꡿ꡗꡉ꡸ꡦꡅ꡷꡾ꡙꡣꡍꡨ
      f=⚘☔♇♽⚲☘♭⛀
      f=ʤɺʮɹɝʩɥɾʖʣɦʄʄʛʄʊʉɘɑɬ
    TEST: doc id=4
    
    <snip>
    ```
    
    This is still working on the master branch if you want to take a look at it.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message