Re: Does SolrJ support JSON DSL?

2018-10-05 Thread Chris Hostetter
: There's nothing out-of-the-box. Which is to say: there are no explicit convenience methods for it, but you can absolutely use the JSON DSL and JSON facets via SolrJ and the QueryRequest -- just add the param key=value that you want, where the value is the JSON syntax... ModifiableSolrParam

Re: Encoding issue in solr

2018-10-05 Thread Tim Allison
This is probably caused by an encoding detection problem in Nutch and/or Tika. If you can share the file on the Tika user’s list, I can take a look. On Fri, Oct 5, 2018 at 7:11 AM UMA MAHESWAR wrote: > HI ALL, > > while i am using nutch for crawling and indexing in to solr,while storing > data i

Re: Connecting Solr to Nutch

2018-10-05 Thread Timeka Cobb
Thank you so very much for the help!! On Fri, Oct 5, 2018 at 10:53 AM Shawn Heisey wrote: > On 10/5/2018 7:24 AM, Timeka Cobb wrote: > > Good morning! The Nutch community doesn't help much..the problem I notice > > is where they say install Solr the first step create resources: the > > basicconf

Re: Does SolrJ support JSON DSL?

2018-10-05 Thread Mikhail Khludnev
There's nothing out-of-the-box. On Fri, Oct 5, 2018 at 5:34 PM Alexandre Rafalovitch wrote: > Hi, > > Does anybody know if it is possible to do the new JSON DSL and JSON > Facets requests via SolrJ. The SolrJ documentation is a bit sparse and > I don't often use it. So, I can't figure out if the

Re: Solr Cloud in recovering state & down state for long

2018-10-05 Thread Shawn Heisey
On 10/5/2018 9:15 AM, Ganesh Sethuraman wrote: I am not sure the logs and GC logs were evident from my previous mail. Re-posting it here for your reference: Here is the full Solr Log file (Note that it is in INFO mode): https://raw.githubusercontent.com/ganeshmailbox/har/master/SolrLogFile Here

Re: Solr Cloud in recovering state & down state for long

2018-10-05 Thread Ganesh Sethuraman
Reading the ZK transaction log could be issue, as ZK seems to be sensitive to this ( https://zookeeper.apache.org/doc/r3.1.2/zookeeperAdmin.html#The+Log+Directory ) > incorrect placement of transasction log > The most performance critical part of ZooKeeper is the transaction log. > ZooKeeper sync

Re: Connecting Solr to Nutch

2018-10-05 Thread Shawn Heisey
On 10/5/2018 7:24 AM, Timeka Cobb wrote: Good morning! The Nutch community doesn't help much..the problem I notice is where they say install Solr the first step create resources: the basicconfig file does not exist at all in the Solr packet..I can't connect because Solr is missing files that are

Re: Apache SOLR upgrade from 5.2.1 to 7.x

2018-10-05 Thread Shawn Heisey
On 10/5/2018 4:41 AM, padmanabhan1616 wrote: 1. We cannot upgrade directly from 5.x to 7.x instead upgrade to 5.5 then upgrade to 7 as there is major index format level changes taken place in 5.5 or later version. Solr 7.x cannot read indexes from 5.5.  It can only read indexes that were *full

Does SolrJ support JSON DSL?

2018-10-05 Thread Alexandre Rafalovitch
Hi, Does anybody know if it is possible to do the new JSON DSL and JSON Facets requests via SolrJ. The SolrJ documentation is a bit sparse and I don't often use it. So, I can't figure out if there is a direct support or even a pass-through workaround. Thank you, Alex.

Re: Solr Cloud in recovering state & down state for long

2018-10-05 Thread Shawn Heisey
On 10/5/2018 5:15 AM, Ganesh Sethuraman wrote: 1. Does GC and Solr Logs help to why the Solr replicas server continues to be in the recovering/ state? Our assumption is that Sept 17 16:00 hrs we had done ZK transaction log reading, that might have caused the issue. Is that correct? 2. Does this s

Re: Connecting Solr to Nutch

2018-10-05 Thread Timeka Cobb
Good morning! The Nutch community doesn't help much..the problem I notice is where they say install Solr the first step create resources: the basicconfig file does not exist at all in the Solr packet..I can't connect because Solr is missing files that are required in the setup process. Maybe try to

Re: checksum failed (hardware problem?)

2018-10-05 Thread Susheel Kumar
My understanding is once the index is corrupt, the only way to fix is using checkindex utility which will remove some bad segments and then only we can use it. This is bit scary that you see similar error on 6.6.2 though in our case we know we are going thru some hardware problem which likely woul

Re: Solr Cloud in recovering state & down state for long

2018-10-05 Thread Ganesh Sethuraman
1. Does GC and Solr Logs help to why the Solr replicas server continues to be in the recovering/ state? Our assumption is that Sept 17 16:00 hrs we had done ZK transaction log reading, that might have caused the issue. Is that correct? 2. Does this state can cause slowness to Solr Queries for reads

Re: Apache zookeeper jar upgrade for SOLR

2018-10-05 Thread padmanabhan1616
Hi Jan, Thank you so much for your answers. Yes . I agree we are running very old version of SOLR. We decided to upgrade SOLR to 7.x version. -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Encoding issue in solr

2018-10-05 Thread UMA MAHESWAR
HI ALL, while i am using nutch for crawling and indexing in to solr,while storing data in to solr encoding issue facing in site having the title title : ebm-papst Motoren & Ventilatoren GmbH - Axialventilatoren und Radialventilatoren aus Linz, Österreich but in solr storing in the below form

Apache SOLR upgrade from 5.2.1 to 7.x

2018-10-05 Thread padmanabhan1616
Hi Team, We planning to upgrade SOLR from 5.2.1 to 7.x version. I just googled and found that there is no way of upgrading from 5.x to 7.x directly Here are the list of suggestions gathered from different sources 1. We cannot upgrade directly from 5.x to 7.x instead upgrade to 5.5 then upgrad

Re: Modify the log directory for dih

2018-10-05 Thread Charlie Hull
On 04/10/2018 16:35, Shawn Heisey wrote: On 10/4/2018 12:30 AM, lala wrote: Hi, I am using: Solr: 7.4 OS: windows7 I start solr using a service on startup. In that case, I really have no idea where anything is on your system. There is no service installation from the Solr project for Windows

Re: Boolean clauses in ComplexPhraseQuery

2018-10-05 Thread Mikhail Khludnev
Why not? On Thu, Oct 4, 2018 at 6:52 PM Chuming Chen wrote: > Hi All, > > Does Solr supports boolean clauses inside ComplexPhraseQuery? > > For example: {!complexphrase inOrder=true} NOT (field: “value is > this” OR field: “value is that”) > > Thanks, > > Chuming > > -- Sincerely yours Mi

Re: Connecting Solr to Nutch

2018-10-05 Thread Jan Høydahl
This is more a questions for the Nutch community to answer. Googling, I found a Tutorial which seems fairly up to date (2018-09-10), perhaps try to follow that one? https://wiki.apache.org/nutch/NutchTutorial#Setup_Solr_for_search