This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.IO; | |
using Lucene.Net.Analysis; | |
namespace LuceneTest | |
{ | |
public class PartNumberAnalyzer : Analyzer | |
{ | |
private const string SkipCharacters = " -/\\"; | |
#region Overrides of Analyzer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var results = Session.Query<Answer>() | |
.Select(answer => new | |
{ | |
QuestionId = answer.Question.Id, | |
QuestionText = answer.Question.Text, | |
QuestionDate = answer.Question.Date, | |
AnswerId = answer.Id, | |
AnswerText = answer.Text, | |
AnswerDate = answer.Date, | |
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// LogEntriesLogger.h | |
// lcinventories | |
// | |
// Created by Chris Richards on 17/11/2014. | |
// Copyright (c) 2014 Yellow Feather Ltd. All rights reserved. | |
// | |
#import "DDLog.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<configuration> | |
<packageSources> | |
<!--To inherit the global NuGet package sources remove the <clear/> line below --> | |
<clear /> | |
<add key="dotnet-core" value="https://dotnet.myget.org/F/dotnet-core/api/v3/index.json" /> | |
<add key="api.nuget.org" value="https://api.nuget.org/v3/index.json" /> | |
</packageSources> | |
</configuration> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": "1.0.0-*", | |
"compilationOptions": { | |
"emitEntryPoint": true, | |
"debugType": "portable" | |
}, | |
"runtimes": { | |
"osx.10.11-x64" : {} | |
}, | |
"dependencies": { |