Comments (4)
Can you provide a code sample, with what you expect... and describing what you get?
It is hard to assess these problems in the abstract... much better if you have a code sample.
from indexwikipedia.
I want to create an index in which the documents' body, title, etc. are stored in the Lucene index. So that when I execute a query, I get the list of documents along with their contents and not just their docid's. Could you please tell me how to modify the code or pass arguments to accomplish this. In the README, you said "By default, Lucene does not store the content of the documents. You can achieve this result by setting the doc.store property to true during indexing. It increases considerably the size of the index, however, because you are duplicating the data.". So, how exactly do I do this? I tried setting this property in the code itself. But, it didn't work. I haven't modified the code in any other way than to add this line:
properties.setProperty("doc.store", "true");
to all the codes at the appropriate positions.
Thank you :)
from indexwikipedia.
Please try with current version, after pulling in the last commits, and reopen if you still have a problem.
from indexwikipedia.
Thank you 👍 It works...
from indexwikipedia.
Related Issues (5)
- Document Id HOT 2
- Incomplete document returned HOT 7
- multistream bz2 file failed to build index HOT 2
- Dump is not fully processed HOT 2
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 indexwikipedia.