Hi,
How can I merge multiple indices in RAM while not impacting search?
Thanks
I'd better provide a snapshot of my code for people to understand my issues:
File file=new File("c:/index_files");
FSDirectory fsDir=new FSDirectory(file);
RAMDirectory ramDir=new RAMDirectory(fsDir, new
IndexWriterConfig(Version.LUCENE_35, new StandardAnalyzer());
IndexWriter iw = new IndexWr
Hi,
I new a RAMDirectory based upon a FSDirectory. After a few modifications, I
would like to synchronize the two.
Some on the mailing list provided a solution that uses addIndex() function.
However, the FSDirectory simply combines with the RAMDirectory, and the
size doubled.
How can I do a rea
On Jan 8, 2012, at 6:32 AM, Cheng wrote:
> Hi, my servlet application is running a large index of 20G. I don't think
> it can be loaded to RAM at one time.
>
> What are the general strategies to improve the search and write performance?
Got money?
http://www.ramsan.com/
http://www.fusionio.co
Read the FAQ.
http://wiki.apache.org/lucene-java/LuceneFAQ
--
Ian.
On Sun, Jan 8, 2012 at 5:32 AM, Cheng wrote:
> Hi, my servlet application is running a large index of 20G. I don't think
> it can be loaded to RAM at one time.
>
> What are the general strategies to improve the search and write
\t doesn't work in my shell as a tab replacement character. And Solr doesn't
expand this sort of thing for you.
$ echo "foo\tbar"
foo\tbar
Try a real tab character instead. Though more realistically you'll be using a
file instead, so you won't have to be concerned with a shell for this.
I am trying to add document to a slor index via :
$> curl
"http://localhost:8983/solr/update/csv?commit=true&fieldnames=id,title_s&separator=%09";
--data "Doc1\tTitle1" -H 'Content-type:text/plain; charset=utf-8'
Solr doesn't seem to recognize the \t in the content, and is failing
with followin