Re: Is anyone using proxy caching in front of solr?

2019-02-20 Thread Furkan KAMACI
Hi Joakim, I suggest you to read these resources: http://lucene.472066.n3.nabble.com/Varnish-td4072057.html http://lucene.472066.n3.nabble.com/SolrJ-HTTP-caching-td490063.html https://wiki.apache.org/solr/SolrAndHTTPCaches which gives information about HTTP Caching including Varnish Cache, Last-

Re: Re-read from CloudSolrStream

2019-02-20 Thread Joel Bernstein
It sounds like you just need to catch the exception? Joel Bernstein http://joelsolr.blogspot.com/ On Mon, Feb 18, 2019 at 3:14 AM SOLR4189 wrote: > Hi all, > > Let's say I have a next code: > > http://joelsolr.blogspot.com/2015/04/the-streaming-api-solrjio-basics.html > < > http://joelsolr.bl

Re: Newbie question - Error loading an existing config file

2019-02-20 Thread Shawn Heisey
On 2/20/2019 11:07 AM, Greg Robinson wrote: Lets try this: https://imgur.com/a/z5OzbLW What I'm trying to do seems pretty straightforward: 1. Install Solr Server 7.4 on Linux (Completed) 2. Connect my Drupal 7 site to the Solr Server and use it for indexing content My understanding is that I m

Re: Upload Synonym to Solr Cloud

2019-02-20 Thread Erick Erickson
bin/solr zk -help particularly bin/solr zk cp > On Feb 20, 2019, at 4:00 PM, Rathor, Piyush (US - Philadelphia) > wrote: > > I am new to solr. > Need command to upload synonym.txt to solr cloud. > > Thanks & Regards > > > This message (including any attachments) contains confidential informa

Upload Synonym to Solr Cloud

2019-02-20 Thread Rathor, Piyush (US - Philadelphia)
I am new to solr. Need command to upload synonym.txt to solr cloud. Thanks & Regards This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this

Re: Querying on sum of child documents

2019-02-20 Thread Mikhail Khludnev
q={!frange l=8}{!parent which=isParent:1 score=total v=$chq}&chq=+isParent:2^=0 AND description:payroll^=0 AND {!func}exp On Wed, Feb 20, 2019 at 7:39 PM flatmind wrote: > Hi > I tried with the below query > > q={!frange l=8}{!parent which=isParent:1 score=total v=$chq} AND chq=+ > isParent:2 A

Is anyone using proxy caching in front of solr?

2019-02-20 Thread Joakim Hansson
Hello dear user list! I work at a company in retail where we use solr to perform searches as you type. As soon as you type more than 1 characters in the search field solr starts serving hits. Of course this generates a lot of "unnecessary" queries (in the sense that they are never shown to the user

Re: Reporting security vulnerability in Solr

2019-02-20 Thread Tomás Fernández Löbbe
Hi Krzysztof, There is some information on the past CVEs and dependency issues in https://wiki.apache.org/solr/SolrSecurity. For reporting, creating a private Jira is good, or following the guidelines here: https://www.apache.org/security/ (email secur...@apache.org or secur...@lucene.apache.org)

Re: Newbie question - Error loading an existing config file

2019-02-20 Thread Greg Robinson
Gotcha. Lets try this: https://imgur.com/a/z5OzbLW What I'm trying to do seems pretty straightforward: 1. Install Solr Server 7.4 on Linux (Completed) 2. Connect my Drupal 7 site to the Solr Server and use it for indexing content My understanding is that I must first create a core in order to c

Re: Newbie question - Error loading an existing config file

2019-02-20 Thread Erick Erickson
Attachments generally are stripped by the mail server. Are you trying to create a core as part of a SolrCloud _collection_? If so, this is an anti-pattern, use the collection API commands. Shot in the dark. Best, Erick > On Feb 19, 2019, at 3:05 PM, Greg Robinson wrote: > > I used the front en

Re: Reporting security vulnerability in Solr

2019-02-20 Thread Erick Erickson
You did the right thing, but there will be no new versions of the 6x code line released. Meanwhile, the versions of jar files in the two JIRAs you created have been replaced with newer versions. You could get the source code and upgrade the jar files (see lucene/ivy-versions.properties) if you

Re: Querying on sum of child documents

2019-02-20 Thread flatmind
Hi I tried with the below query q={!frange l=8}{!parent which=isParent:1 score=total v=$chq} AND chq=+ isParent:2 AND description:payroll AND {!func}exp I applied lower limit as 8 still the record is coming in the results.Where sum of the child documents matching with "payroll" description is 7

Solr - Join two cores and apply OR condition on each core's field

2019-02-20 Thread ViLi
I have two cores and each core has a common field to join the query. I am able to write Solr query for this. Each core has a date field in the Solr.Second part of my query is to apply a date condition on Solr cores by giving OR condition on each core's date field. Below is the SQL query that I am

Reporting security vulnerability in Solr

2019-02-20 Thread Krzysztof Dębski
Hi, What is the right way to report a security vulnerability in Solr? A few days ago I created two issues: https://issues.apache.org/jira/browse/SOLR-13250 https://issues.apache.org/jira/browse/SOLR-13251 I chose Security Level: Private (Security Issue) and added "security" label. Do I need to

Solr CDRC updating data in target and not in source

2019-02-20 Thread ypriverol
Hi: I'm using a CDRC feature from solr 7.1. My source solrcloud cluster is 3 shards and the target similar 3 shards. When we create both clusters and push to the source and then enable CDRC the data is transfer nicely to the target. If we start adding records everything is fine. However, we hav

Terms Component with filtering

2019-02-20 Thread csathishkumar
Hi.. iam new to this, Iam doing rich document indexing in solr.I have 3 fields data,author,title.Total content of document indexed in data field.Iam indexing 1000 of documents. example data:"Note that it’s necessary to wrap the query in double-quotes as a phrase.Otherwise unpredictable and unwan

Re: RegexReplaceProcessorFactory pattern to detect multiple \n

2019-02-20 Thread Zheng Lin Edwin Yeo
Hi Paul, If I tried to execute the second step first, then I will only get a single for those with 2 . For those that we originally get 4 , there will be 2 with a space in between. This is just changing the 2 to be a single , since the second step is to replace with a single . But it has not s

AW: RegexReplaceProcessorFactory pattern to detect multiple \n

2019-02-20 Thread paul.dodd
If the second step is executed first, then you will get the unwanted 4 Gesendet von Mail für Windows 10 Von: Zheng Lin Edwin Yeo Gesendet: Mittwoch, 20. Februar 2019 09:29 An: solr-user@lucene.apache.org

Re: RegexReplaceProcessorFactory pattern to detect multiple \n

2019-02-20 Thread Zheng Lin Edwin Yeo
Hi Jörn , Do you mean the regex is not correct? We are already using two RegexReplaceProcessorFactory steps, like the one shown below. The output that we get is still the same. content ([ \t]*\r?\n){2,}

true content ([ \t]*\r?\n){1,}
true

Re: Solr Auto correct user query

2019-02-20 Thread Rohan Kasat
Can you share your config file and use case ? Its difficult to guess how you have configured the component. Regards, Rohan Kasat On Wed, Feb 20, 2019 at 12:21 AM Prasad_sarada wrote: > Hi, > I want to implement solr auto correct feature, i have tried doing the spell > check one but not getting

Solr Auto correct user query

2019-02-20 Thread Prasad_sarada
Hi, I want to implement solr auto correct feature, i have tried doing the spell check one but not getting satisfying result. it's showing the top suggestion but not giving the result of the correct word. ex:if i am searching for "procesor" then i should get the result of "processor" coz the second

Re: RegexReplaceProcessorFactory pattern to detect multiple \n

2019-02-20 Thread Zheng Lin Edwin Yeo
Hi Paul, I am using Java 1.8.0_201. Regards, Edwin On Wed, 20 Feb 2019 at 16:01, wrote: > BTW, which Java Version are you using? > > > > Gesendet von Mail für > Windows 10 > > > > Von: Zheng Lin Edwin Yeo > Gesendet:

Re: RegexReplaceProcessorFactory pattern to detect multiple \n

2019-02-20 Thread Jörn Franke
Then you need two regexprocessfactory steps > Am 20.02.2019 um 08:12 schrieb Zheng Lin Edwin Yeo : > > Hi, > > Thanks for the reply. > > Do you know of any regex online tool that works correctly for Java regex? > I tried to find some, but they are not working properly. > > Yes, our plan is to

Re: RegexReplaceProcessorFactory pattern to detect multiple \n

2019-02-20 Thread Jörn Franke
Maybe they work properly and the regex is not as expected? > Am 20.02.2019 um 08:12 schrieb Zheng Lin Edwin Yeo : > > Hi, > > Thanks for the reply. > > Do you know of any regex online tool that works correctly for Java regex? > I tried to find some, but they are not working properly. > > Yes,

AW: RegexReplaceProcessorFactory pattern to detect multiple \n

2019-02-20 Thread paul.dodd
BTW, which Java Version are you using? Gesendet von Mail für Windows 10 Von: Zheng Lin Edwin Yeo Gesendet: Mittwoch, 20. Februar 2019 08:13 An: solr-user@lucene.apache.org Betreff: