How to set the parameter - setRAMBufferSizeMB? Is depending on the RAM size of the Machine? Or Size of Data that needs to be Indexed? Or any other parameter? could someone please suggest an approach for deciding the value of setRAMBufferSizeMB.
Configuring Lucene Index writer, controlling the segment formation (setRAMBufferSizeMB)
670 Views Asked by N.Dinesh.Reddy At
1
There are 1 best solutions below
Related Questions in LUCENE
- Do 'reduce' with results from Cloudant search?
- How can I integrate Solr5.1.0 with Nutch1.10
- Exact word not boosting much Solr
- Solr stopped with Error opening new searcher at org.apache.solr.core
- How to get parsed terms of a document - Lucene
- Lucene get all non deleted document from index file
- ElasticSearch synonym and word delimiter analyzer are not compatible
- solrException. XML parser doesn't support XInclude option
- Solr Negative Boost Query result containing Some Specific Words
- lucene 5.1.0 delete document from index with specific id
- how to add new Fields into solr schema
- How to find duplicates in lucene documents?
- Upgrading SOLR from 3.5 to 5.2
- Search for nodes in Neo4j with schema index
- How to wisely combine shingles and edgeNgram to provide flexible full text search?
Related Questions in LUCENE.NET
- Insert 'Umbraco Tags' via Gathering Node Data Examine Event
- Lucene .Net, do i need to close IndexWriter
- Lucene.NET - Document boosting
- How to review index created with lucene.net
- Having troubles in ordering search results using Lucene
- Choose Lucene or Solr
- Lucene - AlreadyClosedException: this IndexReader is closed
- Method not found: 'Void Lucene.Net.Store.Azure.AzureDirectory..ctor(Microsoft.WindowsAzure.Storage.CloudStorageAccount, System.String)'
- Lucene.Net Searcher does not find new documents
- How to read Lucene 3.2 index by Lucene 4.10?
- (Lucene.Net) Turkish stemmer is causing SnowballProgram to throw an index out of range exception. How to fix it?
- Lucene.Net not returning expected search results when "-" or wildcards are used
- Index the entire DB into a single document using Lucene
- Can I tell Lucene.net not to create files over a certain size?
- Removing and Add Indexes in Lucene Index
Related Questions in PYLUCENE
- Pylucene 4.9.0 Ubuntu 14.04 Installation ImportError
- How to install PyLucene 6.0.2 in windows
- PyLucene error with IceTea / JDK / JRE
- How to build Python with Clang on Mac OS X Mavericks
- what is the use of StringField.TYPE_NOT_STORED
- Configuring Lucene Index writer, controlling the segment formation (setRAMBufferSizeMB)
- What does optimize method do? Alternatives for optimize method in latest versions of lucene
- Lucene automatic indexer
- Finding a single fields terms with Lucene (PyLucene)
- Overriding DefaultSimilarity's scorePayload method doesn't work in pulucene
- compile Pylucene on Mac: Unsupported major.minor version 51.0, but java 1.7 is installed
- how do I resolve pylucene installation error for java1.8 when using jcc. I am getting fata error
- Is apache killing my process?
- How to get a list of all tokens from Lucene 8.6.1 index using PyLucene?
- Problem in Ping or SSH connect to docker container
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
So, what we have about this parameter in Lucene javadoc:
By default, Lucene uses 16 Mb as this parameter (this is the indication to me, that you shouldn't have that much big parameter to have fine indexing speed). I would recommend you to tune this parameter by setting it let's say to 500 Mb and checking how well your system behave. If you will have crashes, you could try some smaller value like 200 Mb, etc. until your system will be stable.
Yes, as it stated in the javadoc, this parameter depends on the JVM heap, but for Python, I think it could allocate memory without any limit.