RE: SolrCloud - leader updates not updating followers

2017-08-08 Thread Peter Lancaster
It’s quite possible that I’ve made a simple error in the set-up but > I’m baffled as to what it is. Please can anyone advise on any > configuration that I need to check that might be causing these symptoms. > > Thanks in anticipation, > Peter Lancaster. > > > > > -- > Vi

RE: Solr 6 and IDF

2017-08-08 Thread Peter Lancaster
s far as I know you've been able to have different similarities per field in solr for a while now. https://wiki.apache.org/solr/SchemaXml#Similarity Cheers, Peter Lancaster. -Original Message- From: Webster Homer [mailto:webster.ho...@sial.com] Sent: 08 August 2017 20:39 To:

RE: Phrase suggester - field limit and order

2017-11-09 Thread Peter Lancaster
Hi, The weight field in combination with the BlenderType will determine the order, so yes you can control the order. I don't think you can return only the matched phrase, but I would guess that highlighting would enable you to pick off the phrase that was matched in your client. Cheers, Peter

RE: Search suggester - threshold parameter

2017-11-17 Thread Peter Lancaster
Hi Ruby, The documentation says that threshold is available for the HighFrequencyDictionaryFactory implementation. Since you're using DocumentDictionaryFactory I guess it will be ignored. Cheers, Peter. -Original Message- From: ruby [mailto:rshoss...@gmail.com] Sent: 17 November 2017 1

Geofilt and distance measurement problems using SpatialRecursivePrefixTreeFieldType field type

2018-12-13 Thread Peter Lancaster
ay or is the SpatialRecursivePrefixTreeFieldType not suitable for doing radius searches on points in this way? Thanks in anticipation for any suggestions. Peter Lancaster. This message is confidential and may contain privileged information. You should not di

RE: terms not to match in a search query

2018-12-14 Thread Peter Lancaster
Hi Tanya, I think can have a stop filter applied to the query for your field type. ... You should be aable to use the length filter for the second part of your question. Cheers, Peter. -Original Message- From: Tanya Bompi [mailto:tanya.bo...@gmail.com] Sent: 13 Decemb

RE: Geofilt and distance measurement problems using SpatialRecursivePrefixTreeFieldType field type

2018-12-21 Thread Peter Lancaster
"_dist_": 5.7587695 > } > > The true distances for these results are 23.67 and 3.73 km and other > results at a true distance of 17 km aren't returned within the 25 km radius. > > The explain has the following > > +IntersectsPrefixTreeQuery(IntersectsPrefixTreeQuery(fieldName=

RE: Geofilt and distance measurement problems using SpatialRecursivePrefixTreeFieldType field type

2018-12-21 Thread Peter Lancaster
kup of your sample coordinates suggests to me this is likely the problem. It's a common mistake. BTW this: maxDistErr="0.2" distanceUnits="kilometers" means 200m accuracy (or better). Is this what you want? Just checking. ~ David On Thu, Dec 13, 2018 at 6:38 AM P

RE: Got unexpected results.

2018-01-15 Thread Peter Lancaster
Shouldn't the query just be something like title: "to order this report" and then it will work. -Original Message- From: Sanjeet Kumar [mailto:sanjeetkumar...@gmail.com] Sent: 15 January 2018 06:20 To: solr-user@lucene.apache.org Subject: Got unexpected results. Hi, I am using Solr-6.4

RE: How to escape OR or any other keyword in solr

2018-03-27 Thread Peter Lancaster
Hi Raunak, Are you using a stop word file? That might be why you're getting 0 results searching for "OR". Cheers, Peter. -Original Message- From: RAUNAK AGRAWAL [mailto:agrawal.rau...@gmail.com] Sent: 27 March 2018 07:45 To: solr-user@lucene.apache.org Subject: How to escape OR or any o

RE: Query redg : diacritics in keyword search

2018-03-29 Thread Peter Lancaster
Hi, You don't say whether the AsciiFolding filter is at index time or query time. In any case you can easily look at what's happening using the admin analysis tool which helpfully will even highlight where the analysed query and index token match. That said I'd expect what you want to work if

RE: Filtering solr suggest results

2018-07-03 Thread Peter Lancaster
Hi Arunan, You can use a context filter query as described https://lucene.apache.org/solr/guide/6_6/suggester.html Cheers, Peter. -Original Message- From: Arunan Sugunakumar [mailto:arunans...@cse.mrt.ac.lk] Sent: 03 July 2018 12:17 To: solr-user@lucene.apache.org Subject: Filtering sol

High cpu usage when adding documents to v7.7 solr cloud

2019-10-15 Thread Peter Lancaster
commit. I'm guessing that whatever is making the single document addition so inefficient is also affecting the performance of our live solr cloud and contributing to the 100% cpu usage that we observe when adding new documents. Any help, advice or insight would be appreciat

RE: [EXTERNAL] Re: High cpu usage when adding documents to v7.7 solr cloud

2019-10-15 Thread Peter Lancaster
here: https://issues.apache.org/jira/browse/SOLR-13349 Regards, Oleksandr On Tue, Oct 15, 2019 at 8:31 PM Peter Lancaster < peter.lancas...@findmypast.com> wrote: > We have a solr cloud on v7.7.0 and we observe very high cpu usage when > we're indexing new documents. > >

RE: Delete documents from the Solr index using SolrJ

2019-11-04 Thread Peter Lancaster
You can delete documents in SolrJ by using deleteByQuery. Using this you can delete any number of documents from your index or all your documents depending on the query you specify as the parameter. How you use it is down to your application. You haven't said if your application performs a full