Re: 2 Cores, 1 Table, 2 DataImporter -- Import at the same time ?

2010-03-04 Thread stocki
i found it like you said. i didnt set an seperatet dataDir for my two cores ... ^^ thx =) Lance Norskog-2 wrote: No, a core is a lucene index. Two DataImportHandler sessions to the same core will run on the same index. You should use lockType of simple or native. 'single' should only

Re: 2 Cores, 1 Table, 2 DataImporter -- Import at the same time ?

2010-03-03 Thread stocki
pleeease help me somebody =( :P stocki wrote: Hello again ;) i install tomcat5.5 on my debian server ... i use 2 cores and two different DIH with seperatet Index, one for the normal search-feature and the other core for the suggest-feature. but i cannot start both DIH with an

Re: 2 Cores, 1 Table, 2 DataImporter -- Import at the same time ?

2010-03-03 Thread Erik Hatcher
what's the error you're getting? is DIH keeping some static that prevents it from running across two cores separately? if so, that'd be a bug. Erik On Mar 3, 2010, at 4:12 AM, stocki wrote: pleeease help me somebody =( :P stocki wrote: Hello again ;) i install tomcat5.5

Re: 2 Cores, 1 Table, 2 DataImporter -- Import at the same time ?

2010-03-03 Thread stocki
okay i change the lockType to single but with no good effect. so i think now, that my two DIH are using the same data-Folder. why ist it so ? i thought that each DIH use his own index ... ?! i think it is not possible to import from one table parallel with more than one DIH`s ?! myexception:

Re: 2 Cores, 1 Table, 2 DataImporter -- Import at the same time ?

2010-03-03 Thread Lance Norskog
No, a core is a lucene index. Two DataImportHandler sessions to the same core will run on the same index. You should use lockType of simple or native. 'single' should only be used on a read-only index. From the stack trace it looks like you're only using one index in solr/core. You have to