Re: Trying to enable HTTP gzip compression

2019-03-06 Thread Luthien Dulk
Hi Walter, You’re right, this is going nowhere. We thought that the bottleneck might be the http connection between the API running on Cloud Foundry, and the Solr Cluster on an external host. Potentially saving bandwidth on that seemed (at the first glance) like a too good option to not look

Re: LTR feature based on other collection data

2019-03-06 Thread Kamal Kishore Aggarwal
any suggestions ? Thanks in advance. On Tue, Feb 26, 2019 at 6:22 PM Kamal Kishore Aggarwal < kkroyal@gmail.com> wrote: > I looks to me that I can modify the *SolrFeature *class, but dont know > how to create IndexSearcher and SolrQueryRequest params as per the new > request and second

AW: RegexReplaceProcessorFactory pattern to detect multiple \n

2019-03-06 Thread paul.dodd
Hi Edwin You are correct re the 2nd pattern – my bad. Looking at the 4 , it’s actually the sequence « »? So perhaps the first match pattern could be [ \t\x0b\f]*\r?\n i.e. [space tab vertical-tab formfeed] Regards, Paul Gesendet von

Adding rare languages to Apache Solr

2019-03-06 Thread Kay Müller
Hello everybody,   My name is Kay and I am a Software Developer from Germany. I would like to add support for Filipino, Lao, Malaysian and Vietnamese to Solr (Solr v4 and Solr v6) and would be delighted to get hints on what Tokenizer/Analyzer to use. It seems that the ICU-Tokenizer seems to

java.lang.IllegalArgumentException: docID must be >= 0 and < maxDoc=2757277 (got docID=2764367)

2019-03-06 Thread Zubovich Yauheni
Hi, we are running Solr 7.3 in cloud mode. Last time I noticed we have a lot of errors in our log like below: null:java.lang.IllegalArgumentException: docID must be >= 0 and < maxDoc=2757277 (got docID=2764367) at

DateRangeField, but with Integers instead of dates?

2019-03-06 Thread Ryan Yacyshyn
Hi all, Is there a way I can perform a filter query on a field that contains a numeric range? Very much like how we can query over a date range: https://lucene.apache.org/solr/guide/7_3/working-with-dates.html#more-daterangefield-details I'd like to index documents that have a field containing

Re: Run solrj in parallel how it works

2019-03-06 Thread Mikhail Khludnev
To be able to run it in parallel one needs to copy DataImpoortHandler definition to /dataimport2, Otherwise it rejects the second parallel attempt. Sic. On Tue, Mar 5, 2019 at 1:08 PM sami wrote: > I am little bit confused about the parallel running option for solrj. How > to > configure the

Hide BasicAuth JVM param on SOLR admin UI

2019-03-06 Thread el mas capo
Hi everyone, I am trying to configure Cloud Solr(7.7.0) with basic Authentification. All seems to work nicely, but when I enter on the Web UI I can see the basic Auth Password configured in solr.in.sh in clear format: -Dbasicauth=solr:SolrRocks Can this behaviour be avoided? Thank you by your

4 Apache Events in 2019: DC Roadshow soon; next up Chicago, Las Vegas, and Berlin!

2019-03-06 Thread Rich Bowen
Dear Apache Enthusiast, (You’re receiving this because you are subscribed to one or more user mailing lists for an Apache Software Foundation project.) TL;DR: * Apache Roadshow DC is in 3 weeks. Register now at https://apachecon.com/usroadshowdc19/ * Registration for Apache Roadshow Chicago is

Re: RegexReplaceProcessorFactory pattern to detect multiple \n

2019-03-06 Thread Zheng Lin Edwin Yeo
Hi Paul, I have tried with the first match pattern to be [ \t\x0b\f]*\r?\n, like the configuration below: content [ \t\x0b\f]*\r?\n br true content (br){3,} brbr true However, the result is still the same as before (previous index results), with the 4 . Regards,

1969 vs 1960s: not-quite-synonyms in Solr

2019-03-06 Thread Gregg Donovan
For a search like "1969 shirt" I would like to return items with either 1969 or 1960s but boost 1969 items higher. For the query "1960s shirt", 1960s and 1960, 1961, ... 1969 should all match equally. Is there a standard technique for this? I'm struggling to do this with eDisMax without adding

Re: Hide BasicAuth JVM param on SOLR admin UI

2019-03-06 Thread Aroop Ganguly
try changing the passwords using the auth api https://lucene.apache.org/solr/guide/6_6/basic-authentication-plugin.html#BasicAuthenticationPlugin-AddaUserorEditaPassword

Re: DateRangeField, but with Integers instead of dates?

2019-03-06 Thread Zheng Lin Edwin Yeo
Hi, Do you mean you plan to index a range of number into a single field? Regards, Edwin On Wed, 6 Mar 2019 at 17:53, Ryan Yacyshyn wrote: > Hi all, > > Is there a way I can perform a filter query on a field that contains a > numeric range? Very much like how we can query over a date range: >

Re: Error when trying to create a collection with SolrCloud and Zookeeper Ensemble

2019-03-06 Thread Zheng Lin Edwin Yeo
Hi, How is your setup like? Which version of Solr and ZooKeeper are you using? And are you enabling Basic Authentication and SSL in your Solr? Regards, Edwin On Wed, 6 Mar 2019 at 13:37, maimuna ambareen wrote: > I received the below error when i tried to create a collection with > SolrCloud

Re: DateRangeField, but with Integers instead of dates?

2019-03-06 Thread Mikhail Khludnev
I think https://wiki.apache.org/solr/SpatialForTimeDurations provides a good guidance. On Thu, Mar 7, 2019 at 8:53 AM Zheng Lin Edwin Yeo wrote: > Hi, > > Do you mean you plan to index a range of number into a single field? > > Regards, > Edwin > > On Wed, 6 Mar 2019 at 17:53, Ryan Yacyshyn >

CVE-2019-0192 Deserialization of untrusted data via jmx.serviceUrl in Apache Solr

2019-03-06 Thread Tomas Fernandez Lobbe
Severity: High Vendor: The Apache Software Foundation Versions Affected: 5.0.0 to 5.5.5 6.0.0 to 6.6.5 Description: ConfigAPI allows to configure Solr's JMX server via an HTTP POST request. By pointing it to a malicious RMI server, an attacker could take advantage of Solr's unsafe

TrieDate field in UpdateRequestProcessorChain

2019-03-06 Thread Anil
HI Team, I am using solr 6.6.2 and my schema includes a date field 'window_time' of TrieDate. window_time is added to doc id of the solr document using CloneFieldUpdateProcessorFactory and TruncateFieldUpdateProcessorFactory. I noticed different date formats in window_time and doc id