Comments (1)
StandardAnalyzer
is the wrong tool for the job. See: https://stackoverflow.com/questions/3612761/searching-hyphenated-words-with-lucene
Note that we don't use jflex or any other form of generation in .NET, so if you need to modify the StandardAnalyzer
behavior, you will either have to do the StandardTokenizer
code generation in Java and then port it to C# or analyze and modify the C# code directly of StandardTokenizer.cs
. Or simply use WhiteSpaceTokenizer
with a LowercaseFilter
as suggested in the comments.
from lucenenet.
Related Issues (20)
- System properties specified as environment variables throw unhelpful ArgumentException HOT 3
- SWEEP: Add string overloads to eliminate unnecessary allocations of FileInfo and DirectoryInfo objects
- Task: Investigate slow tests in Lucene.Net.Facet HOT 1
- AnalyzingInfixSuggesterTest.TestRandomNRT() failure HOT 2
- NRTCachingDirectory doesn't allow double dispose calls
- for some reasons lucene create duplicate data while searching HOT 2
- Random property used by the tests needs to return new instance of "Randomness generator" per thread
- Task: Investigate failing QueryParser Flexible tests (TestNumericQueryParser.cs)
- It seems that escaped query characters are not treated as escaped when calling queryParser.Parse()
- Add .NET Core support for Lucene.Net.Analysis.OpenNLP HOT 2
- Add NuGet Caching to Azure Pipelines Build
- Add NuGet Caching to GitHub Actions
- Question: How can I add a filter for Flag enums correctly in a search query HOT 2
- EdgeNGramFilter: .NET seems to be missing PreserveOriginal HOT 1
- Lucene.NET Does Not find the word "on"? HOT 3
- I have an issue in the x86 version of application HOT 1
- Semantic Search support HOT 2
- Prism is now commercial software HOT 9
- ci: Ensure SonarCloud is not triggered on website or documentation updates HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lucenenet.