Re: Can we have multiple Spellcheck Components under /select handler

2021-01-01 Thread Rajesh Hazari
Hi, You can have more than one spellcheck components after you have the spellcheck components in select request handler, you have still which spellcheck you want to use you could mention in your query params for ex: http:// :8983/solr//select/?q=text=default=wordbreak=true or define as defualts

Re: Problem with spellchecker component

2016-10-07 Thread Rajesh Hazari
What spellcheckers you have in your collection configs, do you have any of these wordbreak solr.WordBreakSolrSpellChecker . . . . default textSpell solr.IndexBasedSpellChecker . . . . . we have come up with these spellcheckers which works with our schema definitions.

Re: solr 5 leaving tomcat, will I be the only one fearing about this?

2016-10-07 Thread Rajesh Hazari
Renee, I dont understand what would be the difficulties of putting your 3rd party distributions in some contrib folders and import them in your solr configs and your processors should get loaded using solr class loader. we have used our custom based synonym processor putting the jar in contrib

requestlog jetty param in solr 5.x

2016-09-14 Thread Rajesh Hazari
Hi All, solr version: 5.5.0 I was checking to see if there is any quick solution for embedded jetty can log request access logs too. After some googling i found documentation (here ) that there is

Re: Questions on SolrCloud core state, when will Solr recover a "DOWN" core to "ACTIVE" core.

2016-04-21 Thread Rajesh Hazari
Hi Li, Do you see timeouts liek "CLUSTERSTATUS the collection time out:180s" if its the case, this may be related to https://issues.apache.org/jira/browse/SOLR-7940, and i would say either use the patch file or upgrade. *Thanks,* *Rajesh,* *8328789519,* *If I don't answer your call please leave

Re: Load Resource from within Solr Plugin

2016-03-30 Thread Rajesh Hazari
Max, Have you looked in External file field which is reload on every hard commit, only disadvantage of this is the file (personal-words.txt) has to be placed in all data folders in each solr core, for which we have a bash script to do this job.

Re: How to boost query based on result of subquery?

2016-02-19 Thread Rajesh Hazari
Hi Ed, Did you look into ExternalFilefield type (for ex: with name :: position_external_field in your schema), which can be used to map to your field (for ex position, hope these are not changed very often) and then use position_external_field in your boost function. This can be used if you

Re: Data Import Handler - autoSoftCommit and autoCommit

2016-02-08 Thread Rajesh Hazari
we have this for a collection which updated every 3mins with min of 500 documents and once in a day of 10k documents in start of the day ${solr.autoCommit.maxTime:30} 1 true true ${solr.autoSoftCommit.maxTime:6000} As per solr documentation, If

solr suggester build issues

2015-06-29 Thread Rajesh Hazari
Solr : 4.9.x , with simple solr cloud on jetty. JDK 1.7 num of replica : 4 , one replica for each shard num of shards : 1 Hi All, I have been facing below issues with solr suggester introduced in 4.7.x. Do any one have good working solution or buildOnCommit=true property is suggested not to use

Re: all terms and frequency

2015-06-02 Thread Rajesh Hazari
Yes, we can get all the distinct terms from each collection solr index using the below call http://{host}:{port}/solr/collection1/admin/luke?wt=jsonfl=fieldnumTerms=2 the fields:{.} of response is your distinct terms in that collection. I'm sure we can get this using solrj also but never

Re: Best strategy for logging security

2015-06-01 Thread Rajesh Hazari
Logging : Just use logstash to a parse your logs for all collection and logstash forwarder and lumberjack at your solr replicas in your solr cloud to send the log events to you central logstash server and send it to back to solr (either the same or different instance) to a different collection.

Re: and stopword in user query is being change to q.op=AND

2015-05-08 Thread Rajesh Hazari
Thanks Show and Hoss. Just added lowercaseOperators=false to my edismax config and everything seems to be working. *Thanks,* *Rajesh,* *(mobile) : 8328789519.* On Mon, Apr 27, 2015 at 11:53 AM, Rajesh Hazari rajeshhaz...@gmail.com wrote: I did go through the documentation of edismax (solr 5.1

Re: Trying to get AnalyzingInfixSuggester to work in Solr?

2015-05-07 Thread Rajesh Hazari
Good to know that its working as expected. I have some couple of question on your autosuggest implementation. I see that you are using SpellcheckComponent instead of SuggestComponent are you using this intentionally if not plz read this

Re: Trying to get AnalyzingInfixSuggester to work in Solr?

2015-05-06 Thread Rajesh Hazari
wondering how you define: 'textSuggest' in your schema? In my case I use the field 'text' that is defined as: field name=text type=text_general indexed=true stored=false multiValued=true/ I'm wondering if your 'textSuggest' is of type text_general ? Thank you again for your help O. O. Rajesh

Re: Trying to get AnalyzingInfixSuggester to work in Solr?

2015-05-06 Thread Rajesh Hazari
str name=spellcheck.count5/str str name=spellcheck.collatetrue/str /lst arr name=components strsuggest/str /arr /requestHandler Is this correct? I do not see any difference in my results i.e. the suggestions are the same as before. O. O. Rajesh Hazari

Re: Trying to get AnalyzingInfixSuggester to work in Solr?

2015-05-06 Thread Rajesh Hazari
from]}, collation,bapple/b]}} *Rajesh**.* On Wed, May 6, 2015 at 2:48 PM, Rajesh Hazari rajeshhaz...@gmail.com wrote: Just add the queryConverter definition in your solr config you should use see multiple term suggestions. and also make sure you have shingleFilterFactory as one

Re: Trying to get AnalyzingInfixSuggester to work in Solr?

2015-05-06 Thread Rajesh Hazari
make sure you have this query converter defined in your config queryConverter name=queryConverter class=org.apache.solr.spelling.SuggestQueryConverter/ *Thanks,* *Rajesh**.* On Wed, May 6, 2015 at 12:39 PM, O. Olson olson_...@yahoo.it wrote: I'm trying to get the AnalyzingInfixSuggester to

Re: Solr node going to recovering state during heavy reindexing

2015-04-27 Thread Rajesh Hazari
our production solr nodes were having similar issue with 4 nodes everything is normal, but when we try to increase the replicas (nodes) to 10 most of then went to recovery. our config params : nodes : 20 (replica in each node) soft commit is 6 sec hard commit is 5 min indexing scheduled time :

Re: and stopword in user query is being change to q.op=AND

2015-04-27 Thread Rajesh Hazari
,* *Rajesh**.* On Sun, Apr 26, 2015 at 9:22 PM, Rajesh Hazari rajeshhaz...@gmail.com wrote: Thank you Hoss from correcting my understanding, again i missed this concept of edismax. Do we have any solrj class or helper to handle the scenario to pass on the query terms (by stripping stopwords

Re: Solr node going to recovering state during heavy reindexing

2015-04-27 Thread Rajesh Hazari
thanks, i am sure that we have missed this command line property, this gives me more information on how to use latest solr scripts more effectively. *Thanks,* *Rajesh**.* On Mon, Apr 27, 2015 at 12:04 PM, Shawn Heisey apa...@elyograg.org wrote: On 4/27/2015 9:15 AM, Gopal Jee wrote: We have

Re: and stopword in user query is being change to q.op=AND

2015-04-26 Thread Rajesh Hazari
Thank you Hoss from correcting my understanding, again i missed this concept of edismax. Do we have any solrj class or helper to handle the scenario to pass on the query terms (by stripping stopwords ) to edismax using solrj api. for ex: if user queries for *term1 and term2* build and query to

Re: and stopword in user query is being change to q.op=AND

2015-04-24 Thread Rajesh Hazari
I was under understanding that stopwords are filtered even before being parsed by search handler, i do have the filter in collection schema to filter stopwords and the analysis shows that this stopword is filtered Analysis response : attached is the solr analysis json response. [image: Inline

and stopword in user query is being change to q.op=AND

2015-04-21 Thread Rajesh Hazari
Hi All, And stopword in user query is being changed to q.op=AND, i am going to look more into this i thought of sharing this in solr community just in-case if someone have came across this issue. OR I will also be validating my config and schema if i am doing something wrong. solr : 4.9 query

Re: How to start solr in solr cloud mode using external zookeeper ?

2015-03-06 Thread Rajesh Hazari
zkhost=hostnames, port=some port variables in your solr.xml should work? I have tested this with tomcat not with jetty, this stays with your config. Rajesh. On Mar 5, 2015 9:20 PM, Aman Tandon amantandon...@gmail.com wrote: Thanks shamik :) With Regards Aman Tandon On Fri, Mar 6, 2015 at

Re: Solr logs encoding

2015-02-27 Thread Rajesh Hazari
I have seen this log earlier, I just changed the log level of this class to WARN. On Feb 27, 2015 12:03 AM, Moshe Recanati mos...@kmslh.com wrote: Hi, I've wired situation. Starting yesterday restart I've issue with log encoding. My log looks like: DEBUG - 2015-02-27 10:47:01.432;

Re: Collations are not working fine.

2015-02-26 Thread Rajesh Hazari
, What configuration had you set in your schema.xml? On Sat, Feb 14, 2015 at 2:18 AM, Rajesh Hazari rajeshhaz...@gmail.com wrote: Hi Nitin, Can u try with the below config, we have these config seems to be working for us. searchComponent name=spellcheck class

Re: Collations are not working fine.

2015-02-23 Thread Rajesh Hazari
information in the spellcheck response. -Original Message- From: Rajesh Hazari [mailto:rajeshhaz...@gmail.com] Sent: Friday, February 13, 2015 3:48 PM To: solr-user@lucene.apache.org Subject: Re: Collations are not working fine. Hi Nitin, Can u try

Re: Collations are not working fine.

2015-02-13 Thread Rajesh Hazari
Hi Nitin, Can u try with the below config, we have these config seems to be working for us. searchComponent name=spellcheck class=solr.SpellCheckComponent str name=queryAnalyzerFieldTypetext_general/str lst name=spellchecker str name=namewordbreak/str str

Re: Trending functionality in Solr

2015-02-09 Thread Rajesh Hazari
Hi folks, In the project that i am working now, we have used logstash to parse the log files and store the user queries back into a separate collection in solr and banana dashboard configure to view the usage. logstash: logstash.net/ banana : github.com/LucidWorks/banana *Rajesh.* On Mon, Feb

Advantages over solrj api over Spring Data Solr api

2015-02-09 Thread Rajesh Hazari
Hi folks, We are using solrj api at large to index and query, wondering if any one have already used any version of spring data solr and what are the advantages over solrj api? We are exploring other new technologies or updates around solr. *Rajesh.*

Re: shell script or script in any language to scale a replica solr node with some configs from zookeeper and the remaining from svn/git

2015-02-03 Thread Rajesh Hazari
python to be able to use the toolkit. On Mon, Feb 2, 2015 at 12:17 PM, Rajesh Hazari rajeshhaz...@gmail.com wrote: Hi Folks, Can one one you share the shell script or any script in other language to spin up a new solr node deployed in tomcat with most of the configs from zookeepers

shell script or script in any language to scale a replica solr node with some configs from zookeeper and the remaining from svn/git

2015-02-02 Thread Rajesh Hazari
Hi Folks, Can one one you share the shell script or any script in other language to spin up a new solr node deployed in tomcat with most of the configs from zookeepers and some from svn, with some defaults values. #some default directory ${solrDataDir} =/opt #some host name

Re: permanently reducing logging levels for Solr

2015-01-21 Thread Rajesh Hazari
Hi, Just add log4j.logger.org.apache.solr=SEVERE to you log4j properties. *Thanks,* *Rajesh,* *(mobile) : 8328789519.* On Wed, Jan 21, 2015 at 3:14 PM, Nemani, Raj raj.nem...@turner.com wrote: All, How can I reduce the logging levels to SEVERE that survives a Tomcat restart or a machine

solr autosuggest to stop/filter suggesting the phrases that ends with stopwords

2015-01-15 Thread Rajesh Hazari
Hi Folks, Solr Version 4.7+ Do we have any analyzer or filter or any plugin in solr to stop suggesting the phrase that ends with stopwords? For ex: If the suggestion are as below for query http://localhost.com/solr/suggest?q=jazz+a suggestion: [ jazz and, jazz at, jazz at lincoln, jazz at