Solr6.0(Jetty) Vs Solr4.0(Tomcat)

2017-02-12 Thread ~$alpha`
Hi Recently upgraded from solr4.0(tomcat) to solr6.0(jetty) and my performance degraded to a very high level. Issues: My CPU consumption increased to the very high level with the same traffic. Note: My primary query contains lots of ids in not in query which requires CPU. My solr setting is the

Unable to build Solr 5.5.3 from source

2017-02-12 Thread Sahil Agarwal
I have not been able to build Solr 5.5.3 from the source. - I was able to build Solr 6.4 successfully but haven't been able to build solr 5.5.3 (which I need) successfully. - I have tried deleting the cache and building again. Same errors. I've been getting unresolved dependencies error. I get

Re: ConcurrentUpdateSolrServer update response doesn't reflect correct response status

2017-02-12 Thread Lasitha Wattaladeniya
Hi Eric, Thanks for the reply. But even if I add a single document, the response doesn't reflect the correct response status. From the given solr console ui, it shows status 400 for the bad requests (when I try to index document with no fields ). But when I do the same using solrj, response

Re: ConcurrentUpdateSolrServer update response doesn't reflect correct response status

2017-02-12 Thread Erick Erickson
Closest that I know of is: https://issues.apache.org/jira/browse/SOLR-445, available since Solr 6.1 Best, Erick On Sun, Feb 12, 2017 at 8:05 PM, Lasitha Wattaladeniya wrote: > Hi devs, > > I'm using the ConcurrentUpdateSolrServer to add some documents to solr. > While I'm

ConcurrentUpdateSolrServer update response doesn't reflect correct response status

2017-02-12 Thread Lasitha Wattaladeniya
Hi devs, I'm using the ConcurrentUpdateSolrServer to add some documents to solr. While I'm doing so I see some 'bad request" errors printed in the console due to incorrect solrinputdocuments. The issue is I can't capture this issue by reading updateresonse status. I saw some one had stated that

Re: Is there any alternative to '*' in SQL interfaces?

2017-02-12 Thread Yasufumi Mizoguchi
Thanks Joel. I look forward to 6.5 & future releases. Regards, Yasufumi On 2017/02/13 10:21, Joel Bernstein wrote: Currently there is not. Round 2 of parallel SQL is slated for Solr 6.5. This won't include support for the "*" in the initial release but the plan is to support this feature in a

Re: Is there any alternative to '*' in SQL interfaces?

2017-02-12 Thread Joel Bernstein
Currently there is not. Round 2 of parallel SQL is slated for Solr 6.5. This won't include support for the "*" in the initial release but the plan is to support this feature in a release in the near future. The 6.5 release is based on Apache Calcite SQL engine and it has much deeper ties into the

Re: OCR image contains cyrillic characters

2017-02-12 Thread Rick Leir
No offense taken. More on this topic ( opinion only): even the best OCR has a quality ratio, say 95% or 98% correct. And OCR is slow, maybe a minute per image. So it is best to OCR into a filesystem or DB, assess the quality, then index from the DB. Cheers -- Rick On February 12, 2017

Re: Solr Data Import Handler

2017-02-12 Thread Alexandre Rafalovitch
They don't have to wait because they are not synchronized on anything AFAIK. I do believe they need to be registered as different request handler names in solrconfig.xml But you need to be careful if they both/all wipe out data before indexing new one. Those calls could overlap. Regards,

Re: Solr Data Import Handler

2017-02-12 Thread Dave
That sounds pretty much like a hack. So if two imports happen at the same time they have to wait for each other? > On Feb 12, 2017, at 4:01 PM, Shawn Heisey wrote: > >> On 2/12/2017 10:30 AM, Minh wrote: >> Hi everyone, >> How can i run multithreads of DIH in a cluster for

Re: Solr Data Import Handler

2017-02-12 Thread Shawn Heisey
On 2/12/2017 10:30 AM, Minh wrote: > Hi everyone, > How can i run multithreads of DIH in a cluster for a collection? The DIH handler is single-threaded. It used to have a config option for multiple threads, but it was removed since it didn't actually work. If you create multiple DIH handlers

Re: OCR image contains cyrillic characters

2017-02-12 Thread Игорь Абрашин
Actually, i dont know how to do it((( For now ive just created request handler and update chain proccessor for it with capability to detect during recognize process (LanguageDetect or somthing like that). Really appreciate for any instructions. Sorry, if i was rude, bad english skill for good

Re: how to get modified field data if it doesn't exist in meta

2017-02-12 Thread Alexandre Rafalovitch
It would have to be a custom one. One you write. But I believe Tika would pass a file name as one of the parameters, so you just need to use standard Java API to look up the system date. That - of course - assumes that the files you index are on the same filesystem as Solr itself, so it could look

Re: how to get modified field data if it doesn't exist in meta

2017-02-12 Thread Gytis Mikuciunas
Alexandre, could you provide some link or give more info about this processor? I'm novice in the solr world;) Regards, Gytis On Feb 10, 2017 14:59, "Alexandre Rafalovitch" wrote: Custom update request processor that looks up a file from the name and gets the date should

Re: how to get modified field data if it doesn't exist in meta

2017-02-12 Thread Gytis Mikuciunas
As I understand TimestampUpdateProcessorFactory will insert current date(now). We don't want this. Regards, Gytis On Feb 10, 2017 19:18, "Erick Erickson" wrote: > Would TimestampUpdateProcessorFactory work? > > Best, > Erick > > On Fri, Feb 10, 2017 at 4:59 AM,

Solr Data Import Handler

2017-02-12 Thread Minh
Hi everyone, How can i run multithreads of DIH in a cluster for a collection?

Is there any alternative to '*' in SQL interfaces?

2017-02-12 Thread Yasufumi Mizoguchi
Hi, I'm a newbie and trying SQL interfaces on Solr 6.4.1. Firstly, I tried to get the values of all fields, but found the following on 6.4 Draft Ref Guide. > The * syntax to indicate all fields is not supported in either limited or unlimited queries. So, is there any alternative to '*' ?

[ANNOUNCEMENT] Luke 6.4.1 released

2017-02-12 Thread Dmitry Kan
Download the release zip here: https://github.com/DmitryKey/luke/releases/tag/luke-6.4.1 Upgrade to Lucene 6.4.1. Supports: Apache Solr 6.4.1 Elasticsearch 5.2.0 Pull-requests: #79 and #80 . -- Dmitry Kan