solr-user@lucene.apache.org

2016-11-26 Thread varun03sh
I am new to solr and trying to integrate solr to my php project through solarium. Solarium library version: 3.2.0 Solr version : 6.3.0 On trying to ping solr I am getting 'Solarium\Exception\HttpException: Solr HTTP error: OK (500) {"error":{"metadata":["error-class","org.apache.solr.common.SolrE

ClassicIndexSchemaFactory with Solr 6.3

2016-11-26 Thread Furkan KAMACI
Hi, I'm trying Solr 6.3. I don't want to use Managed Schema. It was OK for Solr 5.x. However solrconfig.xml of Solr 6.3 doesn't have a ManagedIndexSchemaFactory definition. Documentation is wrong at this point ( https://cwiki.apache.org/confluence/display/solr/Schema+Factory+Definition+in+SolrConf

Re: ClassicIndexSchemaFactory with Solr 6.3

2016-11-26 Thread Shawn Heisey
On 11/26/2016 10:58 AM, Furkan KAMACI wrote: > I'm trying Solr 6.3. I don't want to use Managed Schema. It was OK for > Solr 5.x. However solrconfig.xml of Solr 6.3 doesn't have a > ManagedIndexSchemaFactory definition. Documentation is wrong at this > point ( > https://cwiki.apache.org/confluence/

Re: Data Import Request Handler isolated into its own project - any suggestions?

2016-11-26 Thread Marek Ščevlík
Actually to be honest I realized that I only needed to trigger a data import handler from a jar file. Previously this was done in earlier versions via the SolrServer object. Now I am thinking if this is OK?: String urlString1 = "http://localhost:8983/solr/";; SolrClient solr1 = new HttpSolrClient.

Re: Metadata and Newline Characters at Content

2016-11-26 Thread Furkan KAMACI
Hi Erick, I resolved my metadata problem with configuring solrconfig.xml However even I post data with post.sh I see content as like: CANADA �1 \n \n \n \n Place I have newline characters as \n and some non-ASCII characters. As far as I understand it is usual to have such characters because t

Re: Metadata and Newline Characters at Content

2016-11-26 Thread Furkan KAMACI
PS: \n characters are not shown in browser but breaks how highlighter work. \n characters are considered at fragsize too. On Sat, Nov 26, 2016 at 9:47 PM, Furkan KAMACI wrote: > Hi Erick, > > I resolved my metadata problem with configuring solrconfig.xml However > even I post data with post.sh

Re: Data Import Request Handler isolated into its own project - any suggestions?

2016-11-26 Thread Erick Erickson
on a quick glance, and not having tried this myself... this seems wrong. You're setting a URL parameter "db": params.set("db","/dataimport"); that's equivalent to a URL like http://localhost:8983/solr&db=/dataimport you'd want: http://localhost:8983/solr/db/dataimport?command=full-import I thin

Re: Data Import Request Handler isolated into its own project - any suggestions?

2016-11-26 Thread Marek Ščevlík
I ran my jar application beside solr running instance where I want to trigger a DIH import. I tried this approach: String urlString1 = "http://localhost:8983/solr/db/dataimport";; SolrClient solr1 = new HttpSolrClient.Builder(urlString1).build(); ModifiableSolrParams params = new ModifiableSolrPar

Re: stream, features and train

2016-11-26 Thread Joel Bernstein
Hi, It looks like the outcome field my not be correct or it may have missing values. You'll need to populate this field for all records in the training set. Joel Bernstein http://joelsolr.blogspot.com/ On Wed, Nov 23, 2016 at 3:21 PM, Joe Obernberger < joseph.obernber...@gmail.com> wrote: > Hi

Re: update a document without changing anything

2016-11-26 Thread Ishan Chattopadhyaya
Maybe do an "inc" of 0 to a numeric field for every document. https://cwiki.apache.org/confluence/display/solr/Updating+Parts+of+Documents On Wed, Nov 23, 2016 at 2:13 PM, Dorian Hoxha wrote: > Hello searcherers, > > So, I have document that is fully stored. Then I make small change in > schema.