Comments (2)
It turns out that per Microsoft, binary serialization is not meant for new applications, but only for helping with the transition from .NET Framework to .NET Core (https://github.com/dotnet/corefx/issues/23584)
It's crucial that we state as often as possible that binary serialization is not intended to be used for new applications but to make porting from Desktop to Core easier. There are tons of security concerns that are introduced by binary serialization, one of it is reading from a stream that could be compromised (network transferred date, e.g. in remoting).
So, it looks like the best "strategy" for this will be to leave the attribute off of ALL of the classes (including exceptions) except for those that explicitly require it in order for Lucene.Net to function. All legacy tests that verify serialization support should be disabled/removed.
by nightowl888from lucenenet.
This was posted on the Lucene dev list today:
Serializatio/Deserialization of Lucene objects like queries, sort fields etc
This seems to back up my previous statement about removing serialization from Lucene.NET classes, since that is the direction that Lucene has gone, as well.
from lucenenet.
Related Issues (20)
- 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
- Wildcards does not work with query string containing Hyphen HOT 1
- Prism is now commercial software HOT 9
- ci: Ensure SonarCloud is not triggered on website or documentation updates HOT 3
- If there is not enough funds, should lucenenet consider: opening up to receive funding from the community or industry ? HOT 2
- ci: Upgrade SonarCloud to Java 17
- Support for Ordering of Indexing with SeqNo HOT 4
- Random Query Parser Error HOT 1
- The type initializer for "Lucene.Net.Diagnostics.Debugging" threw an exception HOT 1
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.