Comments (6)
It works perfectly. Thank you so much! 😃
from lifti.
Hi @tomcashman! Thanks for raising an issue - serializing multiple indexes to the same file wasn't an anticipated use case, so if you don't mind sharing you reasoning, I'd be interested to understand why you need to do it.
Without debugging, I think the problem here will be that there's no guarantee that the first call to DeserializeAsync
will leave the stream's position at the location after the last byte of the first index, so the second call will not be at the correct location to read the second index's header bytes to determine the version of the serializer used to write it. It might be possible to provide this guarantee, but I'd need to spend some time investigating it.
from lifti.
We've been using the library to build a full-text search index for a video game. Due to the nature of game consoles and their I/O restrictions it's better for us to read one large sequential file.
If it's too big of a task to support this we can try find a workaround.
from lifti.
Thanks for the update - I'll have a quick look at this tonight to see what's involved in making it work
from lifti.
@tomcashman This should be fixed for you now in v3.1.0 - let me know how you get on!
from lifti.
No problem, @tomcashman glad it worked for you! I'd love to find out how you get on with it once you've got things up and running fully - feel free to reach out on twitter (same username there) if you want.
from lifti.
Related Issues (20)
- Query syntax: Support wildcard field searches/searching across all dynamic fields from a specific provider HOT 3
- Remove dependency on System.Collections.Immutable HOT 2
- Suggestion: custom stemmers HOT 2
- Search for words with a `=` character HOT 5
- Escaped characters in LIFTI query syntax HOT 1
- Q: is possible to fetch the whole document by Id? HOT 2
- Refresh documentation HOT 20
- Split IdPool and ItemStore HOT 1
- Consider switching to using ValueTask across the library HOT 1
- Operaterrors as a text HOT 3
- Standardize terminology
- Track source object type against a document's metadata
- Add a "not contains" query operator
- v6 documentation changes
- Create a standardised way of rehydrating an index from a serializer
- Write up implementing a custom serializer
- Apply field and document filtering when collecting results from IndexNavigator HOT 1
- Add README.md to nuget package
- Execution plans
- Consider dropping support for netstandard2
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 lifti.