RE: Solr running on Tomcat

2018-02-17 Thread GVK Prasad
Hello Eric, My assumption was hosting on Jetty may not work for production and higher performance systems needs and we have to go for Servers like Tomcat. If it is not supported with latest version not sure how it will help us. Thanks for clarification. Regards, Prasad From: Erick Erickson

RE: Solr running on Tomcat

2018-02-17 Thread GVK Prasad
Hi Ramesh, Thanks for the info. Have you compared performance jetty vs tomcat etc. Regards, Prasad From: Ramesh b Sent: Friday, February 16, 2018 6:49 AM To: solr-user@lucene.apache.org Subject: Re: Solr running on Tomcat Yes, we are running Solr 5.3.1 version in tomcat for our production sy

Re: Index data from mysql DB to Solr - From Scratch

2018-02-17 Thread Gora Mohanty
On 18 February 2018 at 08:18, @Nandan@ wrote: > Thanks Rick. > Is it possible to get some demo learning video link or web links from > where I can get overview with real example? > By which I can able to know in more details. > Searching Google for "Solr index data database" turns up many links

Re: Index data from mysql DB to Solr - From Scratch

2018-02-17 Thread @Nandan@
Thanks Rick. Is it possible to get some demo learning video link or web links from where I can get overview with real example? By which I can able to know in more details. On Feb 18, 2018 4:11 AM, "Rick Leir" wrote: > Nandan > Work backwards from your results screen. When a user has done a sear

Doing calculation for fields indexed in StandardTokenizer

2018-02-17 Thread Zheng Lin Edwin Yeo
Hi Sir, We have a field that has been extracted from Tika under the attr_* dynamic field which is indexed using StandardTokenizer. Now we have a field called attr_stream_size, which we want to do some calculation (Eg: sum) using JSON Facet. However, as the field is not indexed in integer/float, i

nullpointer exception - while adding pdf document

2018-02-17 Thread Chinmay Tijare
stack trace below. Please help. Anybody able to fix it before or seen this? Error from server at http://localhost:8983/solr/demo2: java.lang.NullPointerException at org.apache.solr.update.processor.AddSchemaFieldsUpdateProcessorFactory$AddSchemaFieldsUpdateProcessor.mapValueClassesToFieldType(AddS

RE: Solr Plugins Documentation

2018-02-17 Thread Howe, David
You will need to use your favourite java tooling to take the code that you have written and package it as a jar file. In my case, we use maven so I have set my custom extensions up as a maven project, and in my POM file (which tells maven what dependencies your project has), I declare:

Re: Index data from mysql DB to Solr - From Scratch

2018-02-17 Thread Rick Leir
Nandan Work backwards from your results screen. When a user has done a search, what information would you like to appear on the screen? That tells you what your Solr document needs to contain. How will you get that information into the Solr document? You will do the SQL select(s) as necessary,

Re: Index data from mysql DB to Solr - From Scratch

2018-02-17 Thread @Nandan@
Hi David , Thanks for your reply. My few questions are :- 1) I have to denormalize my MySQL data manually or some process is there. 2) is it like when Data will insert into my MySQL , it has to auto index into solr ? Please explain these . Thanks On Feb 18, 2018 1:51 AM, "David Hastings" wrote:

Re: Index data from mysql DB to Solr - From Scratch

2018-02-17 Thread David Hastings
Your first step is to denormalize your data into a flat data structure. Then index that into your solr instance. Then you’re done On Feb 17, 2018, at 12:16 PM, @Nandan@ mailto:nandanpriyadarshi...@gmail.com>> wrote: Hi Team, I am working on one e-commerce project in which my data is storing int

Index data from mysql DB to Solr - From Scratch

2018-02-17 Thread @Nandan@
Hi Team, I am working on one e-commerce project in which my data is storing into MySQL DB. As currently we are using mysql search but planning to implement Solr search to provide our customers more facilities. Just for development purpose ,I am trying to do experiments into localhost. Please guide

Re: SolrException: Error Instantiating queryParser, com.site.s.CustomQParserPlugin failed to instantiate org.apache.solr.search.QParserPlugin

2018-02-17 Thread Erick Erickson
When Solr first starts, it'll print the exact path it uses to load jar files, insure your jar is on one of those paths. Look for a line like: "Added ## libs to classloader from paths.". Adding "-v" to the start up will show you much more detailed information. You can also add the directive t

SolrException: Error Instantiating queryParser, com.site.s.CustomQParserPlugin failed to instantiate org.apache.solr.search.QParserPlugin

2018-02-17 Thread ~$alpha`
> I have created a custom query parser for Solr public class CustomQParserPlugin extends QParserPlugin { } >Then I have imported the jar into Solr lib directory. i.e placed in server/lib directory >I restarted the Solr > getting below error SolrException: Error Instantiating queryParser, com.s