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 Sitecore.ContentSearch | |
@using Sitecore.ContentSearch.Linq.Parsing | |
@using Sitecore.ContentSearch.SearchTypes | |
@using Sitecore.ContentSearch.SolrProvider.SolrNetIntegration | |
@using SolrNet | |
@using SolrNet.Commands.Parameters | |
@{ | |
const string searchField = "summary_t"; | |
const string searchValue = "traditional"; |
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; | |
using Lucene.Net.Analysis.Standard; | |
using Version = Lucene.Net.Util.Version; | |
public class ChainedFiltersAnalyzer : Analyzer | |
{ | |
private const Version _version = Version.LUCENE_30; | |
public override TokenStream TokenStream(string fieldName, TextReader reader) |
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 Lucene.Net.Analysis; | |
using Lucene.Net.Analysis.Fr; | |
using Lucene.Net.Analysis.Tokenattributes; | |
using Sitecore.ContentSearch.LuceneProvider.Analyzers; | |
using System; | |
using System.IO; | |
namespace SitecoreAnalyzers | |
{ | |
class Program |
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
public interface IEntity { | |
} | |
public interface IWithName { | |
public String getName(); | |
public void setName(String name); | |
} | |
public interface INamedEntity extends IEntity, IWithName { | |
} |