Re: Shard update error when using DIH

2013-01-22 Thread Jun Wang
You shoud look at log of solr-shard-4, It's seem that some error occured in this shard. -- from Jun Wang

Re: core.SolrCore - java.io.FileNotFoundException

2013-01-14 Thread Jun Wang
(4.0.0.2):C8231, _1oyy(4.0.0.2):C29, _1oz4(4.0.0.2):C2988, _1oz8(4.0.0.2):C1, _1ozb(4.0.0.2):C1] packetCount=4599 1491308 IW 0 [Mon Jan 14 09:21:37 PST 2013; http-0.0.0.0-8080-2]: hit exception updating document ..... It's seemed lucene used a segment that has been deleted. 20

Re: Solr 4.0 segment flush times has bigger difference between tow machines

2012-10-19 Thread Jun Wang
sum of all buffer of DocumentWriterPerThread? 2012/10/19 Jun Wang > Hi > > I have 2 machine for a collection, and it's using DIH to import data, DIH > is trigger via url request at one machine, let's call it A, and A will > forward some index to machine B. Recently

Re: What does _version_ field used for?

2012-10-17 Thread Jun Wang
the quality of nature that keeps events from happening all > at once. Lately, it doesn't seem to be working. (Anonymous - via GTD > book) > > > On Wed, Oct 17, 2012 at 12:57 PM, Jun Wang wrote: > > Is that said we just need to add this filed, and there is no more wor

Re: What does _version_ field used for?

2012-10-17 Thread Jun Wang
26 more > > 2 > > > It's seem that there need a field like > > > > in schema.xml. I am wonder what does this used for? > > -- from Jun Wang

What does _version_ field used for?

2012-10-17 Thread Jun Wang
on_ does not exist) at org.apache.solr.update.VersionInfo.getAndCheckVersionField(VersionInfo.java:57) at org.apache.solr.core.SolrCore.(SolrCore.java:606) ... 26 more 2 It's seem that there need a field like in schema.xml. I am wonder what does this used for? -- from Jun Wang

Re: core.SolrCore - java.io.FileNotFoundException

2012-10-15 Thread Jun Wang
(here's a tutorial from 2.9, but I think > it's still good): > http://java.dzone.com/news/lucene-and-solrs-checkindex > > If that doesn't help (and you can run it in diagnostic mode, > without the --fix flag to see what it _would_ do) then I'm > afraid you'l

Re: core.SolrCore - java.io.FileNotFoundException

2012-10-14 Thread Jun Wang
-rw-rw-r-- 1 admin systems 0 Oct 14 11:37 _k42.fdx 2012/10/15 Jun Wang > I have encounter the a FileNotFoundException exception occasionally when > indexing, it's not occur every time. Anyone have some clue? Here is > the traceback: > > 2012-10-14 11:37:28,105

It's there any way to specify config name for core in solr.xml?

2012-10-11 Thread jun Wang
shard1, core b2 is for collection 2 shard2. config for collection if config 2. It's there any way to specify core config in solr.xml to start up two shard in every machine whit correct config name? -- from Jun Wang

Re: segment number during optimize of index

2012-10-10 Thread jun Wang
>> > > >> >> Supplement to my previous reply: the real memory mentioned in the > > last > > >> >> paragraph does not include the memory that the OS uses to cache > disk > > >> >> access. If more memory is needed and all the free memory is being > > used > > >> by > > >> >> the disk cache, the OS will throw away part of the disk cache (a > > >> >> near-instantaneous operation that should never involve disk I/O) > and > > >> give > > >> >> that memory to the application that requests it. > > >> >> > > >> >> Here's a very good breakdown of how memory gets used with > > MMapDirectory > > >> in > > >> >> Solr. It's applicable to any program that uses memory mapping, not > > just > > >> >> Solr: > > >> >> > > >> >> > > http://java.dzone.com/**articles/use-lucene%E2%80%99s-**mmapdirectory< > > >> http://java.dzone.com/articles/use-lucene%E2%80%99s-mmapdirectory> > > >> >> > > >> >> Thanks, > > >> >> Shawn > > >> >> > > >> >> > > >> > > > >> > > > >> > -- > > >> > > > >> > -JAME > > >> > > > > > > > > > > > > -- > > > > > > -JAME > > > > > > -- > > -JAME > -- from Jun Wang

Re: Solrcloud dataimport failed at first time after restart

2012-10-09 Thread jun Wang
I have found the reason. The reason is that I am using jboss JNDI datasource, and oracle driver is placed in WEB-INFO/lib, this is a very common error, driver should be placed in %JBOSS_HOME%\server\default\lib. 2012/10/10 jun Wang > Hi, all > I found that dataimport will failed at firs

deletedPkQuery not work in solr 3.3

2012-09-05 Thread jun Wang
deltaImportQuery can be found in log, and without deletedPKQuery. Is there any thing wrong in config file? -- from Jun Wang