Re: Need help to configure automated deletion of shard in solr

2020-12-08 Thread Pushkar Mishra
Hi Erick, COLSTATUS does not work with Implicit router type collection . Is there any way to get the replica detail ? Regards On Mon, Nov 30, 2020 at 8:48 PM Erick Erickson wrote: > Are you using the implicit router? Otherwise you cannot delete a shard. > And you won’t have any shards that ha

Re: Need help to configure automated deletion of shard in solr

2020-12-02 Thread Erick Erickson
You can certainly use the TTL logic. Note the TimeRoutedAlias, but the DocExpirationUpdateFactory. DocExpirationUpdateFactory operates on each document individually so you can mix-n-match if you want. As for knowing when a shard is empty, I suggested a method for that in one of the earlier e-mails

Re: Need help to configure automated deletion of shard in solr

2020-12-01 Thread Pushkar Mishra
Hi Erick, It is implicit. TTL thing I have explored but due to some complications we can't use. that . Let me explain the actual use case . We have limited space ,we can't keep storing the document for infinite time . So based on the customer's retention policy ,I need to delete the documents. An

Re: Need help to configure automated deletion of shard in solr

2020-12-01 Thread Erick Erickson
This is still confusing. You haven’t told us what router you are using, compositeId or implicit? If you’re using compositeId (the default), you will never have empty shards because docs get assigned to shards via a hashing algorithm that distributes them very evenly across all available shards. Y

Re: Need help to configure automated deletion of shard in solr

2020-12-01 Thread Pushkar Mishra
Hi Team, As I explained the use case , can someone help me out to find out the configuration way to delete the shard here ? A quick response will be greatly appreciated. Regards Pushkar On Mon, Nov 30, 2020 at 11:32 PM Pushkar Mishra wrote: > > > On Mon, Nov 30, 2020, 9:15 PM Pushkar Mishra

Re: Need help to configure automated deletion of shard in solr

2020-11-30 Thread Pushkar Mishra
On Mon, Nov 30, 2020, 9:15 PM Pushkar Mishra wrote: > Hi Erick, > First of all thanks for your response . I will check the possibility . > Let me explain my problem in detail : > > 1. We have other use cases where we are making use of listener on > postCommit to delete/shift/split the shards .

Re: Need help to configure automated deletion of shard in solr

2020-11-30 Thread Pushkar Mishra
Hi Erick, First of all thanks for your response . I will check the possibility . Let me explain my problem in detail : 1. We have other use cases where we are making use of listener on postCommit to delete/shift/split the shards . So we have capability to delete the shards . 2. The current use c

Re: Need help to configure automated deletion of shard in solr

2020-11-30 Thread Erick Erickson
Are you using the implicit router? Otherwise you cannot delete a shard. And you won’t have any shards that have zero documents anyway. It’d be a little convoluted, but you could use the collections COLSTATUS Api to find the names of all your replicas. Then query _one_ replica of each shard with so

Need help to configure automated deletion of shard in solr

2020-11-30 Thread Pushkar Mishra
Hi Solr team, I am using solr cloud.(version 8.5.x). I have a need to find out a configuration where I can delete a shard , when number of documents reaches to zero in the shard , can some one help me out to achieve that ? It is urgent , so a quick response will be highly appreciated . Thanks P

Re: Need help to resolve Apache Solr vulnerability

2020-11-12 Thread Dave
Solr isn’t meant to be public facing. Not sure how anyone would send these commands since it can’t be reached from the outside world > On Nov 12, 2020, at 7:12 AM, Sheikh, Wasim A. > wrote: > > Hi Team, > > Currently we are facing the below vulnerability for Apache Solr tool. So can > you

Need help to resolve Apache Solr vulnerability

2020-11-12 Thread Sheikh, Wasim A.
Hi Team, Currently we are facing the below vulnerability for Apache Solr tool. So can you please check the below details and help us to fix this issue. /etc/init.d/solr-master version Server version: Apache Tomcat/7.0.62 Server built: May 7 2015 17:14:55 UTC Server number: 7.0.62.0 OS Name: Lin

Re: Need help in understanding the below error message when running solr-exporter

2020-10-19 Thread yaswanth kumar
Can someone help on the above pls?? On Sat, Oct 17, 2020 at 6:22 AM yaswanth kumar wrote: > Using Solr 8.2; Zoo 3.4; Solr mode: Cloud with multiple collections; Basic > Authentication: Enabled > > I am trying to run the > > export JAVA_OPTS="-Djavax.net.ssl.trustStore=etc/solr-keystore.jks > -Dj

Need help in understanding the below error message when running solr-exporter

2020-10-17 Thread yaswanth kumar
Using Solr 8.2; Zoo 3.4; Solr mode: Cloud with multiple collections; Basic Authentication: Enabled I am trying to run the export JAVA_OPTS="-Djavax.net.ssl.trustStore=etc/solr-keystore.jks -Djavax.net.ssl.trustStorePassword=solrssl -Dsolr.httpclient.builder.factory=org.apache.solr.client.solrj.im

Need help in trying to understand the error

2020-10-13 Thread yaswanth kumar
I am seeing the below errors frequently on the solr logs, every functionality seems to be working fine but not really sure why there are lots of these errors happening in the backend Using : solr8.2, zoo 3.4 we have enable solr basicauthentication with security.json 2020-10-13 20:37:12.320 ERROR

Re: Need help on handling large size of index.

2020-05-22 Thread Phill Campbell
Maybe your problems are in AWS land. > On May 22, 2020, at 3:45 AM, Modassar Ather wrote: > > Thanks Erick and Phill. > > We index data weekly once and that is why we do the optimisation and it has > helped in faster query result. I will experiment with a fewer segments with > the current hard

Re: Need help on handling large size of index.

2020-05-22 Thread Modassar Ather
Thanks Erick and Phill. We index data weekly once and that is why we do the optimisation and it has helped in faster query result. I will experiment with a fewer segments with the current hardware. The thing I am not clear about is although there is no constant high usage of extra IOPs other than

Re: Need help on handling large size of index.

2020-05-21 Thread Phill Campbell
The optimal size for a shard of the index is be definition what works best on the hardware with the JVM heap that is in use. More shards mean smaller sizes of the index for the shard as you already know. I spent months changing the sharing, the JVM heap, the GC values before taking the system l

Re: Need help on handling large size of index.

2020-05-21 Thread Erick Erickson
Please consider _not_ optimizing. It’s kind of a misleading name anyway, and the version of solr you’re using may have unintended consequences, see: https://lucidworks.com/post/segment-merging-deleted-documents-optimize-may-bad/ and https://lucidworks.com/post/solr-and-optimizing-your-index-take-i

Re: Need help on handling large size of index.

2020-05-21 Thread Modassar Ather
Thanks Shawn for your response. We have seen a performance increase in optimisation with a bigger number of IOPs. Without the IOPs we saw the optimisation took around 15-20 hours whereas the same index took 5-6 hours to optimise with higher IOPs. Yes the entire extra IOPs were never used to full o

Re: Need help on handling large size of index.

2020-05-21 Thread Modassar Ather
Thanks Phill for your response. Optimal Index size: Depends on what you are optimizing for. Query Speed? Hardware utilization? We are optimising it for query speed. What I understand even if we set the merge policy to any number the amount of hard disk will still be required for the bigger segment

Re: Need help on handling large size of index.

2020-05-20 Thread Shawn Heisey
On 5/20/2020 11:43 AM, Modassar Ather wrote: Can you please help me with following few questions? - What is the ideal index size per shard? We have no way of knowing that. A size that works well for one index use case may not work well for another, even if the index size in both cases i

Re: Need help on handling large size of index.

2020-05-20 Thread Phill Campbell
In my world your index size is common. Optimal Index size: Depends on what you are optimizing for. Query Speed? Hardware utilization? Optimizing the index is something I never do. We live with about 28% deletes. You should check your configuration for your merge policy. I run 120 shards, and I

Re: Need help on handling large size of index.

2020-05-20 Thread Phill Campbell
In my world your index size is common. Optimal Index size: Depends on what you are optimizing for. Query Speed? Hardware utilization? Optimizing the index is something I never do. We live with about 28% deletes. You should check your configuration for your merge policy. I run 120 shards, and I

Need help on handling large size of index.

2020-05-20 Thread Modassar Ather
Hi, Currently we have index of size 3.5 TB. These index are distributed across 12 shards under two cores. The size of index on each shards are almost equal. We do a delta indexing every week and optimise the index. The server configuration is as follows. - Solr Version : 6.5.1 - AWS insta

Re: Need Help in Apache SOLR scores logic

2020-02-25 Thread Jon Kjær Amundsen
Relevance scoring has indeed changed since Solr 6 from the tf/idf vector model to Okapi BM25. You will need to set the similarity to ClassicSimilarityFactory in the schema. Consult the reference guide[1] how to do it. [1] https://lucene.apache.org/solr/guide/8_4/other-schema-elements.html#similar

Need Help in Apache SOLR scores logic

2020-02-25 Thread Karthik Reddy
Hello Team, How are you? This is Karthik Reddy and I am working as a Software Developer. I have one question regarding SOLR scores. One of the projects, which I am working on we are using Lucene Apache SOLR. We were using SOLR 5.4.1 initially and then migrated to SOLR 8.4.1. After migration, I do

Re: Need help in configuring Spell check in Apache Solr 8.4

2020-02-05 Thread kumar gaurav
HI Seetesh For IndexBasedSpellchecker default distanceMeasure is LevensteinDistance itself . Thats why it is commented in the Reference Guide regards Kumar Gaurav On Tue, Jan 28, 2020 at 1:01 PM seeteshh wrote: > Hello Kumar Gaurav > > For IndexBasedSpellchecker is there a better option of us

Re: Need help in configuring Spell check in Apache Solr 8.4

2020-01-27 Thread seeteshh
My searchComponent is as follows text_general default name solr.DirectSolrSpellChecker internal 0.5 2 1 5 4 0.01 wordbreak solr.WordBreakSolrSpellChecker name

Re: Need help in configuring Spell check in Apache Solr 8.4

2020-01-27 Thread seeteshh
Hello Kumar Gaurav For IndexBasedSpellchecker is there a better option of using org.apache.lucene.search.spell.LevensteinDistance as this is not valid in Solr 8.4 This line seems to be commented in the Reference Guide Regards, Seetesh Hindlekar - Seetesh Hindlekar -- Sent from: https://l

Re: Solr 8.0 Json Facets are slow - need help

2020-01-23 Thread Mikhail Khludnev
Hello, Kumar. I don't know. 3 / 84 ratio seems reasonable. The only unknown part of the equation was that {!simpleFilter}. Anyway, profiler/sampler might get exact answer. On Fri, Jan 24, 2020 at 8:55 AM kumar gaurav wrote: > HI Mikhail > > Can you please see above debug log and help ? > > Than

Re: Solr 8.0 Json Facets are slow - need help

2020-01-23 Thread kumar gaurav
HI Mikhail Can you please see above debug log and help ? Thanks On Thu, Jan 23, 2020 at 12:05 AM kumar gaurav wrote: > Also > > its not looks like box is slow . because for following query prepare time > is 3 ms but facet time is 84ms on the same box .Don't know why prepare time > was huge fo

Re: Solr 8.0 Json Facets are slow - need help

2020-01-22 Thread kumar gaurav
Also its not looks like box is slow . because for following query prepare time is 3 ms but facet time is 84ms on the same box .Don't know why prepare time was huge for that example :( . debug: { - rawquerystring: "{!parent tag=top which=$pq filters=$child.fq score=max v=$cq}", - queryst

Re: Solr 8.0 Json Facets are slow - need help

2020-01-22 Thread kumar gaurav
Lots of thanks Mikhail. Also can you please answer - Should i use docValues="true" for _root_ field to improve this json.facet performance ? On Wed, Jan 22, 2020 at 11:42 PM Mikhail Khludnev wrote: > Initial request refers unknown (to me) query parser {!simpleFilter, I > can't comment on it. >

Re: Solr 8.0 Json Facets are slow - need help

2020-01-22 Thread Mikhail Khludnev
Initial request refers unknown (to me) query parser {!simpleFilter, I can't comment on it. Parsing queries took in millis: - time: 261, usually prepare for query takes a moment. I suspect the box is really slow per se or encounter heavy load. And then facets took about 6 times more - facet_module

Re: Solr 8.0 Json Facets are slow - need help

2020-01-22 Thread kumar gaurav
HI Mikhail Here is full debug log . Please have a look . debug: { - rawquerystring: "{!parent tag=top which=$pq filters=$child.fq score=max v=$cq}", - querystring: "{!parent tag=top which=$pq filters=$child.fq score=max v=$cq}", - parsedquery: "AllParentsAware(ToParentBlockJoin

Re: Solr 8.0 Json Facets are slow - need help

2020-01-22 Thread Mikhail Khludnev
Screenshot didn't come though the list. That excerpt doesn't have any informative numbers. On Tue, Jan 21, 2020 at 5:18 PM kumar gaurav wrote: > Hi Mikhail > > Thanks for your reply . Please help me in this . > > Followings are the screenshot:- > > [image: image.png] > > > [image: image.png] > >

Re: Solr 8.0 Json Facets are slow - need help

2020-01-21 Thread kumar gaurav
HI Mikhail Can you please help ? On Tue, Jan 21, 2020 at 7:48 PM kumar gaurav wrote: > Hi Mikhail > > Thanks for your reply . Please help me in this . > > Followings are the screenshot:- > > [image: image.png] > > > [image: image.png] > > > json facet debug Output:- > > json: > { > >- facet

Re: Need help in configuring Spell check in Apache Solr 8.4

2020-01-21 Thread kumar gaurav
Can you share spellcheck component and handler which you have used ? On Mon, Jan 20, 2020 at 3:35 PM seeteshh wrote: > Hello all, > > I am not able to check and test the spell check feature in Apache solr 8.4 > > Tried multiple examples including > > > https://examples.javacodegeeks.com/enterpri

Re: Solr 8.0 Json Facets are slow - need help

2020-01-21 Thread kumar gaurav
Hi Mikhail Thanks for your reply . Please help me in this . Followings are the screenshot:- [image: image.png] [image: image.png] json facet debug Output:- json: { - facet: { - color_refine: { - domain: { - excludeTags: "rassortment,top,top2,

Re: Solr 8.0 Json Facets are slow - need help

2020-01-21 Thread Mikhail Khludnev
Hi. Can you share debugQuery=true output? On Tue, Jan 21, 2020 at 1:37 PM kumar gaurav wrote: > HI > > i have a parent child query in which i have used json facet for child > faceting like following. > > qt=/dismax > matchAllQueryRef1=+(+({!query v=$cq})) > sq=+{!lucene v=$matchAllQueryRef1} > q

Solr 8.0 Json Facets are slow - need help

2020-01-21 Thread kumar gaurav
HI i have a parent child query in which i have used json facet for child faceting like following. qt=/dismax matchAllQueryRef1=+(+({!query v=$cq})) sq=+{!lucene v=$matchAllQueryRef1} q={!parent tag=top which=$pq filters=$child.fq score=max v=$cq} child.fq={!tag=rcolor_refine}filter({!term f=color

Need help in configuring Spell check in Apache Solr 8.4

2020-01-20 Thread seeteshh
Hello all, I am not able to check and test the spell check feature in Apache solr 8.4 Tried multiple examples including https://examples.javacodegeeks.com/enterprise-java/apache-solr/solr-spellcheck-example/ However I am not getting any results Regards, Seetesh Hindlekar -- Sent from: htt

Re: Need help in GeoSpatial Searching into Solr Server

2019-12-23 Thread Erick Erickson
Why are you using text field for location? You must use the proper field type. You need to follow the instructions in the “spatial search” section of the reference guide, here’s the ref guide for Solr 7: https://lucene.apache.org/solr/guide/7_7/spatial-search.html Best, Erick > On Dec 23, 201

Need help in GeoSpatial Searching into Solr Server

2019-12-23 Thread niraj kumar
I have 100 documents into Solr, type of location field is *org.apache.solr.schema.TextField.* I am unable to run any query to search nearby points with reference to that field. So if you can help into it or provide some program reference in JAVA with same kind of implementation. Thanks, Niraj

Re: Need help with Solr Streaming query

2019-10-16 Thread Erick Erickson
The NOT operator isn’t a Boolean NOT, so it requires some care, Chris Hostetter wrote a good blog about that. Try q=*:* -(:*c* The query q=-something really isn’t valid syntax, but some query parsers help you out by silently putting the *:* in front of it. that’s not guaranteed across all pars

Need help with Solr Streaming query

2019-10-16 Thread Prasenjit Sarkar
Hi, I am facing issue while working with solr streamimg expression. I am using /export for emiting tuples out of streaming query.Howver when I tried to use not operator in solr query it is not working.The same is working with /select. Please find the below query top(n=105,search(,qt="/expo

Need help | NoNodeException | Could not read DIH properties

2019-09-05 Thread Pal Sumit
Hi, I am getting the below log very frequently and I can't find more details about it. ZKPropertiesWriter Could not read DIH properties from /configs//dataimport.properties :class org.apache.zookeeper.KeeperException$NoNodeException Details: We have a Solr cluster containing 2 Solr node

Re: Accessing Solr collections at different ports - Need help

2019-05-03 Thread Shawn Heisey
On 5/3/2019 12:52 AM, Salmaan Rashid Syed wrote: I say that the nodes are limited to 4 because when I launch Solr in cloud mode, the first prompt that I get is to choose number of nodes [1-4]. When I tried to enter 7, it says that they are more than 4 and choose a smaller number. That's the clo

Re: Accessing Solr collections at different ports - Need help

2019-05-03 Thread Jörn Franke
This is just the setup for an experimental cluster (generally it does also not make sense to have many instances on the same server). Once you have got more experience take a look at https://lucene.apache.org/solr/guide/7_7/taking-solr-to-production.html To see how to set up clusters. > Am 03.

Re: Accessing Solr collections at different ports - Need help

2019-05-02 Thread Salmaan Rashid Syed
Thanks Jorn for your reply. I say that the nodes are limited to 4 because when I launch Solr in cloud mode, the first prompt that I get is to choose number of nodes [1-4]. When I tried to enter 7, it says that they are more than 4 and choose a smaller number. *Thanks and Regards,* Salmaan Rashid

Re: Accessing Solr collections at different ports - Need help

2019-05-02 Thread Salmaan Rashid Syed
Thanks Walter, Since I am new to Solr and by looking at your suggestion, it looks like I am trying to do something very complicated and out-of-box capabilities of Solr. I really don't want to do that. I am not from Computer Science background and my specialisation is in Analytics and AI. Let me

Re: Accessing Solr collections at different ports - Need help

2019-05-02 Thread Jörn Franke
BTW why do you think that SolrCloud is limited to 4 nodes? More are for sure possible. > Am 03.05.2019 um 07:54 schrieb Salmaan Rashid Syed > : > > Hi Solr Users, > > I am using Solr 7.6 in cloud mode with external zookeeper installed at > ports 2181, 2182, 2183. Currently we have only one ser

Re: Accessing Solr collections at different ports - Need help

2019-05-02 Thread Jörn Franke
You can have dedicarse clusters per Client and/or you can protect it via Kerberos or Basic Auth or write your own authorization plugin based on OAuth. I am not sure why you want to offer this on different ports to different clients. > Am 03.05.2019 um 07:54 schrieb Salmaan Rashid Syed > : > >

Re: Accessing Solr collections at different ports - Need help

2019-05-02 Thread Walter Underwood
The best option is to run all the collections at the same port. Intra-cluster communication cannot be split over multiple ports, so this would require big internal changes to Solr. And what about communication that does not belong to a collection, like electing an overseer node? Why do you want

Accessing Solr collections at different ports - Need help

2019-05-02 Thread Salmaan Rashid Syed
Hi Solr Users, I am using Solr 7.6 in cloud mode with external zookeeper installed at ports 2181, 2182, 2183. Currently we have only one server allocated for Solr. We are planning to move to multiple servers for better sharing, replication etc in near future. Now the issue is that, our organisati

Re: Need help on LTR

2019-03-22 Thread Kamuela Lau
I think the issue is that you store the feature as originalScore but in your model you refer to it as original_score On Wed, Mar 20, 2019 at 1:58 PM Mohomed Rimash wrote: > one more thing i noticed is your feature params values doesn't wrap in q or > qf field. check that as well > > On Wed, 20

Re: Need help on LTR

2019-03-19 Thread Mohomed Rimash
one more thing i noticed is your feature params values doesn't wrap in q or qf field. check that as well On Wed, 20 Mar 2019 at 01:34, Amjad Khan wrote: > Did, but same error > > { > "responseHeader":{ > "status":400, > "QTime":5}, > "error":{ > "metadata":[ > "error-class"

Re: Need help on LTR

2019-03-19 Thread Roopa ML
In model file replace original_score with originalScore Roopa Sent from my iPhone > On Mar 19, 2019, at 2:44 PM, Amjad Khan wrote: > > Roopa, > > Yes > >> On Mar 19, 2019, at 11:51 AM, Roopa Rao wrote: >> >> Does your feature definitions and the feature names used in the model match? >> >

Re: Need help on LTR

2019-03-19 Thread Amjad Khan
Did, but same error { "responseHeader":{ "status":400, "QTime":5}, "error":{ "metadata":[ "error-class","org.apache.solr.common.SolrException", "root-error-class","java.lang.NullPointerException"], "msg":"org.apache.solr.ltr.model.ModelException: Model type does not

Re: Need help on LTR

2019-03-19 Thread Mohomed Rimash
Please update the weights values to greater than 0 and less than 1. On Wed, 20 Mar 2019 at 00:13, Amjad Khan wrote: > Feature File > === > > [ > { > "store" : "exampleFeatureStore", > "name" : "isCityName", > "class" : "org.apache.solr.ltr.feature.FieldValueFeature", >

Re: Need help on LTR

2019-03-19 Thread Amjad Khan
Roopa, Yes > On Mar 19, 2019, at 11:51 AM, Roopa Rao wrote: > > Does your feature definitions and the feature names used in the model match? > > On Tue, Mar 19, 2019 at 10:17 AM Amjad Khan wrote: > >> Yes, I did. >> >> I can see the feature that I created by this >> schema/feature-store/exa

Re: Need help on LTR

2019-03-19 Thread Amjad Khan
Feature File === [ { "store" : "exampleFeatureStore", "name" : "isCityName", "class" : "org.apache.solr.ltr.feature.FieldValueFeature", "params" : { "field" : "CITY_NAME" } }, { "store" : "exampleFeatureStore", "name" : "originalScore", "class" : "org.apac

Re: Need help on LTR

2019-03-19 Thread Mohomed Rimash
Can you share the feature file and the model file, 1. I had few instances where invalid values for parameters (ie weights set to more than 1 , with minmaxnormalizer) resulted the above error, 2, Check all the features added to the model has a weight under params -> weights in the model On Tue, 19

Re: Need help on LTR

2019-03-19 Thread Roopa Rao
Does your feature definitions and the feature names used in the model match? On Tue, Mar 19, 2019 at 10:17 AM Amjad Khan wrote: > Yes, I did. > > I can see the feature that I created by this > schema/feature-store/exampleFeatureStore and it return me the features I > created. But issue is when I

Re: Need help on LTR

2019-03-19 Thread Amjad Khan
Yes, I did. I can see the feature that I created by this schema/feature-store/exampleFeatureStore and it return me the features I created. But issue is when I try to put store-model. > On Mar 19, 2019, at 12:18 AM, Mohomed Rimash wrote: > > Hi Amjad, After adding the libraries into the path,

Re: Need help on LTR

2019-03-19 Thread Amjad Khan
Hi, Yes, I did restarted the solr server with this JVM param. > On Mar 19, 2019, at 3:35 AM, Jörn Franke wrote: > > Did you add the option -Dsolr.ltr.enabled=true ? > >> Am 19.03.2019 um 04:15 schrieb Amjad Khan : >> >> I followed the Solr LTR Documentation >> >> https://lucene.apache.org/s

Re: Need help on LTR

2019-03-19 Thread Jörn Franke
Did you add the option -Dsolr.ltr.enabled=true ? > Am 19.03.2019 um 04:15 schrieb Amjad Khan : > > I followed the Solr LTR Documentation > > https://lucene.apache.org/solr/guide/7_4/learning-to-rank.html > > > 1. Added library i

Re: Need help on LTR

2019-03-18 Thread Mohomed Rimash
Hi Amjad, After adding the libraries into the path, Did you restart the SOLR ? On Tue, 19 Mar 2019 at 08:45, Amjad Khan wrote: > I followed the Solr LTR Documentation > > https://lucene.apache.org/solr/guide/7_4/learning-to-rank.html < > https://lucene.apache.org/solr/guide/7_4/learning-to-rank.

Need help on LTR

2019-03-18 Thread Amjad Khan
I followed the Solr LTR Documentation https://lucene.apache.org/solr/guide/7_4/learning-to-rank.html 1. Added library into the solr-config 2. Successfully added feature 3. Get schema to see feature is available 4. When I try

Re: Need help on Solr authorization

2019-01-18 Thread Scott Stults
My guess is that you're using a self-signed cert and the certificate path can't be verified. Either that or your cert was signed by a CA that your JVM doesn't recognize. There's a good article about diagnosing SSL problems here: https://confluence.atlassian.com/kb/unable-to-connect-to-ssl-services

Re: Need help on Solr authorization

2019-01-18 Thread sathish kumar
Hi, Anyone got a chance to have a look at the issue i had posted? Please throw some inputs. -Sathish On Fri, 11 Jan 2019, 8:10 pm sathish kumar, wrote: > Hi, > > We have a two node Solr setup(version is 7.2.1) with embedded zookeeper > running in Solr Server 1. > > We have recently enabled SSL

Need help on Solr authorization

2019-01-11 Thread sathish kumar
Hi, We have a two node Solr setup(version is 7.2.1) with embedded zookeeper running in Solr Server 1. We have recently enabled SSL and also enabled basic authentication and RuleBasedAuthorizationPlugin. As part of testing, created new user with admin role and assigned the permissions "collection

Re: Issue with SolrQuery( Adding +) -- Need help urgent

2018-12-02 Thread Shawn Heisey
On 12/1/2018 8:24 PM, Surender Reddy wrote: Query we are sending to Solr: +displayNameWords:[2 TO 5] +((+preferredLocationCountry:"United States" +preferredLocationState:Alabama)) +((+(allContents:java^10.0 allContents:eclipse allContents:java- When you say you are "sending" this to Solr..

Re: Issue with SolrQuery( Adding +) -- Need help urgent

2018-12-02 Thread Jan Høydahl
Hi, What you are seeing in the log is simply URLencoded string of the query, so this is expected. In URLEncoding, space is represented as +, and a plus is represented by %2B, a double-quote is represented by %22 and so on (where numbers are the hex value of the ascii value), see https://en.wik

Issue with SolrQuery( Adding +) -- Need help urgent

2018-12-01 Thread Surender Reddy
HI, We have upgraded Our Solr from 4.7.3 to 7.5.0 . The query that we are sending to Solr was working in fine in 4.7.3 but failing in 7.5.0. When we noticed , Space in Query is getting replaced by + and causing issue . If we replace extra + with space in the query and executing from Admin U

Re: Need Help on Solr Client connection Pooling

2018-08-30 Thread Shawn Heisey
On 8/30/2018 2:13 AM, Gembali Satish kumar wrote: *SolrClient client = new HttpSolrClient.Builder(* * SolrUtil.getSolrURL(tsConfigUtil.getClusterAdvertisedAddress(), aInCollectionName)).build();* after my job search done, I am closing my client. *client.close();* but from UI getting more reques

Re: Need Help on Solr Client connection Pooling

2018-08-30 Thread Shalin Shekhar Mangar
You should create a single HttpSolrClient and re-use for all requests. It is thread safe and creates an Http connection pool internally (well Apache HttpClient does). On Thu, Aug 30, 2018 at 2:28 PM Gembali Satish kumar < gembalisatishku...@gmail.com> wrote: > Hi Team, > > Need some help on Clie

Need Help on Solr Client connection Pooling

2018-08-30 Thread Gembali Satish kumar
Hi Team, Need some help on Client connection object pooling I am using SolrJ API to connect the Solr. This below snippet I used to create the client object. *SolrClient client = new HttpSolrClient.Builder(* * SolrUtil.getSolrURL(tsConfigUtil.getClusterAdvertisedAddress(), aInCollectionName)).bu

Re: need help with a complicated join query

2018-08-23 Thread damienk
I'm thinking something like this: q={!join v=id:doca_1 from=members to=id} On Fri, 24 Aug 2018 at 03:03, Steve Pruitt wrote: > At least it is complicated to me. :>) > > We are investigating how to find return a list documents whose identifier > is contained in a multi-value field in another doc

need help with a complicated join query

2018-08-23 Thread Steve Pruitt
At least it is complicated to me. :>) We are investigating how to find return a list documents whose identifier is contained in a multi-value field in another document. The index consists of essentially two different documents sharing some common fields. To make it simple, I will refer to them

Re: Excluding facets - need help

2018-06-27 Thread Shawn Heisey
On 6/27/2018 6:14 AM, nc-tech-user wrote: Currently I am trying to rebuild the products filter so it will use Solr search facet result to show its attributes. I am having some difficulties with this solution. In most cases I'm using facet on about 60 fields (their types are float, integer and

Excluding facets - need help

2018-06-27 Thread nc-tech-user
​Dear Solr User, I develop an online shop which has possibility to search for products and filter the results. I've used Solr as an engine to search through our shop offer. Currently I am trying to rebuild the products filter so it will use Solr search facet result to show its attributes. I am

Re: need help on search on last name + middile initial

2018-04-20 Thread Wendy2
The issue was resolved. *I created a new fieldType:* *A reference:* https://opensourceconnections.com/blog/2013/08/21/name-search-in-solr/ -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: need help on search on last name + middile initial

2018-04-20 Thread Wendy2
Hi Shawn, The issue got resolved :-) Thank you very much for your help!! *I created a new fieldType:* * A reference:* https://opensourceconnections.com/blog/2013/08/21/name-search-in-solr/ -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f47

Re: need help on search on last name + middile initial

2018-04-19 Thread Wendy2
Hi Shawn, Thank you very much for your reply! Per your suggestion, I re-indexed the data after removing the stopword filter. It looks that Solr parsed the data correctly but didn't return any results. Anything else could I try? Thank you again! ===debugQuery Output= { "responseHe

Re: need help on search on last name + middile initial

2018-04-18 Thread Shawn Heisey
On 4/18/2018 1:12 PM, Wendy2 wrote: > "debug":{ > "debugQuery mode indicates that Solr dropped the ""A."" when parsing the > query: > ""debug"":{ > ""rawquerystring"":""\""Ellington, A.\, > ""querystring"":""\""Ellington, A.\, > > ""parsedquery"":""(+DisjunctionMaxQuery(((en

need help on search on last name + middile initial

2018-04-18 Thread Wendy2
Hi Solr experts: How can I make sure Solr doesn't drop middle initial when I do a name search? I did a search with double quotes for "Ellington, A.", but Solr parser dropped the middle initial, so I got both back: I even tried keeping A. in the protwords.txt file, but didn't work. Any work around

Re: Need help with migration to Solr 7 (Error instantiating class)

2018-04-13 Thread Erick Erickson
Try starting Solr with the -v option. That'll dump exactly what's loaded from where. and provide a lot more details. Also what's in the Solr logs? Perhaps that'll be more informative. Best Erick On Fri, Apr 13, 2018 at 1:36 AM, Sambhav Kothari wrote: > Hello everyone! > > I am migrating my Solr

Need help with migration to Solr 7 (Error instantiating class)

2018-04-13 Thread Sambhav Kothari
Hello everyone! I am migrating my Solr config to solr 7.3 from 6.6.2. I was having trouble with one of the filters, specifically 'solr.ICUFoldingFilterFactory' I have the required libs from analysis-extras in my solr config. but I am still getting Error instantiating class: 'org.apache.luce

Need help with migration to Solr 7 (Error instantiating class)

2018-04-13 Thread Sambhav Kothari
Hello everyone! I am migrating my Solr config to solr 7.3 from 6.6.2. I was having trouble with one of the filters, specifically 'solr. ICUFoldingFilterFactory' I have the required libs from analysis-extras in my solr config. but I am still getting Error instantiating class: 'org.apache.luc

Re: Need help to get started on Solr, searching get nothing. Thank you very much in advance

2018-04-04 Thread Raymond Xie
I have the data ready for index now, it is a json file: {"122": "20180320-08:08:35.038", "49": "VIPER", "382": "0", "151": "1.0", "9": "653", "10071": "20180320-08:08:35.088", "15": "JPY", "56": "XSVC", "54": "1", "10202": "APMKTMAKING", "10537": "XOSE", "10217": "Y", "48": "179492540", "201": "1"

Re: Need help to get started on Solr, searching get nothing. Thank you very much in advance

2018-04-03 Thread Shawn Heisey
On 4/2/2018 9:00 PM, Raymond Xie wrote: I see there is "/browse" in solrconfig.xml : explicit and name="defaults" with one item of "df" as shown below: _text_ My understanding is I can put whatever fields I want to enable index and searchin

Re: Need help to get started on Solr, searching get nothing. Thank you very much in advance

2018-04-02 Thread Raymond Xie
Thanks Rick and Adhyan I see there is "/browse" in solrconfig.xml : explicit and name="defaults" with one item of "df" as shown below: _text_ My understanding is I can put whatever fields I want to enable index and searching here in parallel with _te

Re: Need help to get started on Solr, searching get nothing. Thank you very much in advance

2018-04-02 Thread Adhyan Arizki
Raymond, You can specify the default behavior in solrconfig.xml under each handler. For instance for /browse you can specify it should look into name, and for /query you can default it to different field. On Mon, Apr 2, 2018 at 9:04 PM, Rick Leir wrote: > Raymond > There is a default field norm

Re: Need help to get started on Solr, searching get nothing. Thank you very much in advance

2018-04-02 Thread Rick Leir
Raymond There is a default field normally called df. You would normally use Copyfield to copy all searchable fields into the default field. Cheers -- Rick On April 1, 2018 11:34:07 PM EDT, Raymond Xie wrote: >Hi Rick, > >I sorted it out half: > >I should have specified the field in the search q

Re: Need help to get started on Solr, searching get nothing. Thank you very much in advance

2018-04-01 Thread Raymond Xie
Hi Rick, I sorted it out half: I should have specified the field in the search query, so, instead of http://localhost:8983/solr/films/browse?q=batman, I should use: http://localhost:8983/solr/films/browse?q=name:batman Sorry for this newbie mistake. But what about if I/user doesn't know or does

Re: Need help to get started on Solr, searching get nothing. Thank you very much in advance

2018-04-01 Thread Rick Leir
Raymond The output is not visible to me because the mailing list strips images. Please try a different way to show the output. Cheers -- Rick On March 29, 2018 10:17:13 PM EDT, Raymond Xie wrote: > I am new to Solr, following Steve Rowe's example on >https://github.com/apache/lucene-solr/tree/ma

Need help to get started on Solr, searching get nothing. Thank you very much in advance

2018-03-29 Thread Raymond Xie
I am new to Solr, following Steve Rowe's example on https://github.com/apache/lucene-solr/tree/master/solr/example/films: It would be greatly appreciated if anyone can enlighten me where to start troubleshooting, thank you very much in advance. The steps I followed are: Here ya go << END_OF

Re: Need help with match contains query in SOLR

2018-03-01 Thread Emir Arnautović
Hi, Is the size of phrases in index arbitrary or only two words? Do you need to apply some standardisations on individual words? Depending on the answers indexing will be different, but the goal is to index phrase as a single token (might need some custom token filter). At search time, you do sh

Re: Need help with match contains query in SOLR

2018-03-01 Thread bbarani
The problem with pf2 is that it will return the document if it matches loosely too and then I need to do a comparison to see whether the match was a complete phrase match OR not before actually using the result. It would become a 2 step process.. -- Sent from: http://lucene.472066.n3.nabble.com/

  1   2   3   4   5   6   >