RE: Solr 8.5.2: DataImportHandler failed to instantiate org.apache.solr.request.SolrRequestHandler

2020-06-26 Thread Peter van de Kerk
lrRequestHandler On 6/24/2020 1:59 PM, Peter van de Kerk wrote: > So I copied files from C:\solr-8.5.2\dist to C:\solr-8.5.2\server\lib > > But then I get error > >> org.apache.solr.common.SolrException:org.apache.solr.common.Sol

Solr 8.5.2: DataImportHandler failed to instantiate org.apache.solr.request.SolrRequestHandler

2020-06-24 Thread Peter van de Kerk
I'm migrating from solr v4.3.1 to v8.5.2 and using this guide: https://lucene.apache.org/solr/guide/8_5/installing-solr.html I can't get data-import handler to work. I wanted to create a new core and then copy my old data-config fields into it to get me a quick start. 1. I ran command `solr

Inconsistent / confusing documentation on indexing nested documents.

2020-04-03 Thread Peter Pimley
ments" should be "content"? Secondly, in the Json example it says: "The labelled relationship here is one child document but could have been wrapped in array brackets." However in the actual Json, the parent document (ID=1) with a labelled relationship has two child documents (IDs 2 and 3), and they are already in array brackets. Is the documentation wrong or have I misunderstood it? Thanks, Peter

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

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

2019-10-15 Thread Peter Lancaster
Hi Oleksandr, Thanks very much for help. Yes that jira looks like exactly our problem. I'll give that a go tomorrow. Cheers, Peter. -Original Message- From: Oleksandr Drapushko [mailto:drapus...@gmail.com] Sent: 15 October 2019 19:52 To: solr-user@lucene.apache.org Subject: [EXTERNAL

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

2019-10-15 Thread Peter Lancaster
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 appreciated. Cheers, Peter Lancaster | Developer

Re: Solr-8.2.0 Cannot create collection on CentOS 7.7

2019-10-12 Thread Peter Davie
RPMs for Java 11 (or 12/13) on CentOS. Peter On 12/10/2019 5:30 am, Shawn Heisey wrote: On 10/10/2019 11:01 PM, Peter Davie wrote: I have just installed Solr 8.2.0 on CentOS 7.7.1908.   Java version is as follows: openjdk version "11.0.4" 2019-07-16 LTS

Re: igain query parser generating invalid output

2019-10-12 Thread Peter Davie
Hi, I have created the bug report in Jira and attached the patch to it. Kind Regards, Peter On 12/10/2019 2:34 am, Joel Bernstein wrote: This sounds like a great patch. I can help with the review and commit after the jira is created. Thanks! Joel On Fri, Oct 11, 2019 at 1:06 AM Peter

Solr-8.2.0 Cannot create collection on CentOS 7.7

2019-10-10 Thread Peter Davie
:28.539 INFO  (qtp195801026-22) [   ] o.a.s.s.HttpSolrCall [admin] webapp=null path=/admin/metrics params={wt=javabin=2=solr.jvm:os.processCpuLoad=solr.node:CONTAINER.fs.coreRoot.usableSpace=solr.jvm:os.systemLoadAverage=solr.jvm:memory.heap.used} status=0 QTime=15 Any thoughts/suggestions? Kind Regards, Peter

igain query parser generating invalid output

2019-10-10 Thread Peter Davie
quot;:true,     "status":0,     "QTime":260,     "params":{   "q":"*:*",   "distrib":"false",   "positiveLabel":"1",   "field":"body",   "numTerms":"300",   "fq":["category:BUSINESS",     "role:train",     "{!igain}"],   "version":"2",   "wt":"json",   "outcome":"positive",   "_":"1569983546342"}},   "featuredTerms":[     "3",-0.0173133558644304,     "authority",-0.0173133558644304,     "brand",-0.0173133558644304,     "commission",-0.0173133558644304,     "compared",-0.0173133558644304,     "condition",-0.0173133558644304,     "continuing",-0.0173133558644304,     "deficit",-0.0173133558644304,     "expectation",-0.0173133558644304, To my (admittedly inexpert) eye, it seems like this is producing more reasonable results. With this change in place, train() now produces:     "idfs_ds": [   0.6212826193303013,   0.6434237452075148,   0.7169578292536639,   0.741349282377823,   0.86843471069652,   1.0140549006400466,   1.0639267306802198,   1.0753554265038423,... |"terms_ss": [ "â", "company", "market", "firm", "month", "analyst", "chief", "time",|||...| I am not sure if I have missed anything, but this seems like it's producing better outcomes. I would appreciate any input on whether I have missed anything here before I proceed further (JIRA and submit a patch). Kind Regards, Peter |

Trying to add model name to classify() output

2019-09-23 Thread Peter Davie
ot;score_d": 0.24253562092781067,     "id": "0003b45b-aab9-4635-8f93-903c6f492355"   },   {     "probability_d": 0.7310585786300049,     "score_d": 0.2773500978946686,     "id": "0008ecb1-3add-4ef5-85e1-736bf37a834b"   },       etc.     ]} } Can anyone point out what am I doing wrong? Peter

RE: Antw: Re: Correct order of mappinCharFilter, Tokenizer and GermanStemFilter

2019-07-19 Thread Doris Peter
b/master/lucene/analysis/common/src/java/org/apache/lucene/analysis/de/GermanNormalizationFilter.java#L31 -Original Message- From: Doris Peter Sent: Freitag, 19. Juli 2019 11:13 To: solr-user@lucene.apache.org Subject: Antw: Re: Correct order of mappinCharFilter, Tokenizer and GermanS

Antw: Re: Correct order of mappinCharFilter, Tokenizer and GermanStemFilter

2019-07-19 Thread Doris Peter
" There seems to be nothing like this mapping file in the ICUFoldingFilter? Exclusion is not enough >>> Shawn Heisey 7/18/2019 3:08 PM >>> On 7/18/2019 3:01 AM, Doris Peter wrote: > So, the mappingCharFilter seems to be executed at first, no matter which > position

Correct order of mappinCharFilter, Tokenizer and GermanStemFilter

2019-07-18 Thread Doris Peter
Hi, another problem with the stemming: Most of our texts are in German, so we use the GermanStemFilterFactory. But we also use MappingCharFilterFactory where we map for example ä->ae. But of course we want the stemming to turn for example 'häuser' into 'haus', which the

Problems with StemFilter and Wildcards

2019-07-18 Thread Doris Peter
Hi, we have got some problems with the stemming of our ocr-texts: We use the following configuration for our full-text-ocr field: Now it seems, the StemFilter and wildcard queries don't work together. When I search for

Antw: Re: Behaviour of punctuation marks in phrase queries

2019-05-17 Thread Doris Peter
rFactory after it in the index config 2> It is usually unnecessary to have the exact same parameters at both query and index time for WDGFF. If you’ve split parts up at index time then mashed them all back together, you can usually only split them up at query time. 3> try adding =query to the query

Behaviour of punctuation marks in phrase queries

2019-05-17 Thread Doris Peter
word characters, like ' or , for example. The strange thing about it is, that the Solr Analysis-Tool reports a match for the first version, but when we send a Solr Query, we get no result Documents. Has anyone got an idea, what this could be? Thank you very much in advance, Doris Peter

RE: Geofilt and distance measurement problems using SpatialRecursivePrefixTreeFieldType field type

2018-12-21 Thread Peter Lancaster
. Thanks again for your help. Cheers, Peter. -Original Message- From: David Smiley [mailto:david.w.smi...@gmail.com] Sent: 21 December 2018 04:44 To: solr-user@lucene.apache.org Subject: Re: Geofilt and distance measurement problems using SpatialRecursivePrefixTreeFieldType field type

RE: Geofilt and distance measurement problems using SpatialRecursivePrefixTreeFieldType field type

2018-12-21 Thread Peter Lancaster
wondering if there's something else wrong with our set up which is causing this behaviour for rpt fields. Cheers, Peter. -Original Message- From: David Smiley [mailto:david.w.smi...@gmail.com] Sent: 21 December 2018 04:44 To: solr-user@lucene.apache.org Subject: Re: Geofilt and distance m

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

Geofilt and distance measurement problems using SpatialRecursivePrefixTreeFieldType field type

2018-12-13 Thread Peter Lancaster
ype 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 disclose its contents to any other person. If yo

RE: Faceting with EnumFieldType in 7.1

2018-09-20 Thread Peter Tyrrell
, Peter Peter Tyrrell, MLIS Lead Developer at Andornot 1-866-266-2525 x706 / ptyrr...@andornot.com -Original Message- From: Peter Tyrrell Sent: September 14, 2018 3:04 PM To: solr-user@lucene.apache.org Subject: RE: Faceting with EnumFieldType in 7.1 Yes. Peter Tyrrell, MLIS Lead

RE: Faceting with EnumFieldType in 7.1

2018-09-14 Thread Peter Tyrrell
Yes. Peter Tyrrell, MLIS Lead Developer at Andornot 1-866-266-2525 x706 / ptyrr...@andornot.com -Original Message- From: Zheng Lin Edwin Yeo Sent: September 13, 2018 8:15 PM To: solr-user@lucene.apache.org Subject: Re: Faceting with EnumFieldType in 7.1 Was the document re-indexed

Faceting with EnumFieldType in 7.1

2018-09-12 Thread Peter Tyrrell
=gradeLevel_enum=on=id,gradeLevel_enum=*:*=json Thanks for any insight. Peter Tyrrell, MLIS Lead Developer at Andornot 1-866-266-2525 x706 / ptyrr...@andornot.com<mailto:ptyrr...@andornot.com>

Re: Can I use RegEx function?

2018-07-23 Thread Peter Sh
Right you are. I hadn't been known it during index-time On Mon, Jul 23, 2018 at 3:43 PM Erik Hatcher wrote: > this is best done at index-time. (it seems like you're trying to avoid > doing that though) > > > > > On Jul 23, 2018, at 5:36 AM, Peter Sh wrote: > > >

Re: Can I use RegEx function?

2018-07-23 Thread Peter Sh
I want to be able to parse "KEY:VALUE" pairs from my text and have a facet representing distribution of VALUES On Mon, Jul 23, 2018 at 12:25 PM Markus Jelsma wrote: > Hello, > > Neither fl nor facet.field support functions, but facet.query is analogous > to the latter. I do not understand what

Re: Can I use RegEx function?

2018-07-23 Thread Peter Sh
Can I use it in "fl" and "facet.field" as a function On Mon, Jul 23, 2018 at 11:33 AM Markus Jelsma wrote: > Hello, > > The usual faceting works for all queries, facet.query=q:field:/[a-z]+$/ > will probably work too, i would be really surprised if it didn't. Keep in > mind that my example

Re: Can I use RegEx function?

2018-07-23 Thread Peter Sh
can it be used in facets? On Mon, Jul 23, 2018, 11:24 Markus Jelsma wrote: > Hello, > > It is not really obvious in documentation, but the standard query parser > supports regular expressions. Encapsulate your regex with forward slashes > /, q=field:/[a-z]+$/ will work. > > Regards, > Markus >

Can I use RegEx function?

2018-07-23 Thread Peter Sh
I've got collection with a string or text field storing free-text. I'd like to use some RexEx function looking for patterns like "KEY:VALUE" from the text and use it for filtering and faceting.

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

Re: Approach for Merge Database and Files

2018-06-26 Thread Peter Gylling Jørgensen
collections Best Regards Peter Gylling Jørgensen Findability Consultant Mail: peter.jorgen...@findwise.com<mailto:peter.jorgen...@findwise.com> Mobile: +45 42442890 Den 26. jun. 2018 kl. 13.55 skrev angeladdati mailto:angeladd...@gmail.com>>: Hi: I have two sources to indexi

RE: Query redg : diacritics in keyword search

2018-03-29 Thread Peter Lancaster
if you simply use on both index and query. Cheers, Peter. -Original Message- From: Paul, Lulu [mailto:lulu.p...@bl.uk] Sent: 29 March 2018 12:03 To: solr-user@lucene.apache.org Subject: Query redg : diacritics in keyword search Hi, The keyword search Carré returns values Carré and Carre

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

Upgrading a Plugin from 6.6 to 7.x

2018-03-21 Thread Peter Alexander Kopciak
Hi! I'm still pretty new to Solr and I want to use the vector Scoring plugin ( https://github.com/saaay71/solr-vector-scoring/network) but unfortunately, it does not seem to work for newer Solr versions. I tested it with 6.6 to verify its functionality, so it seems to be broken because of the

Authentication and distributed search in 7.2.1

2018-02-28 Thread Peter Sturge
confirm if Solr 7 authentication does/doesn't support distributed/sharded searches? Many thanks, Peter

Re: security authentication API via solrj?

2018-02-26 Thread Peter Sturge
/Configset etc. Thanks, Peter On Mon, Feb 26, 2018 at 1:13 AM, Shawn Heisey <elyog...@elyograg.org> wrote: > On 2/25/2018 1:28 PM, Peter Sturge wrote: > >> I was wondering if 7.2.1 solrj had native support for the >> security/authentication endpoint? I couldn't find anyth

security authentication API via solrj?

2018-02-25 Thread Peter Sturge
documented). Thanks, Peter

Re: q.op in 7.2.1 solconfig.xml

2018-02-21 Thread Peter Sturge
Hi, Thanks for your reply. I managed to get it working by specifying it in the requestHandler /select section in solrconfig.xml: explicit 10 AND Your other suggestions will be also useful for everyone with a similar question. Thanks! Peter On Wed, Feb

q.op in 7.2.1 solconfig.xml

2018-02-21 Thread Peter Sturge
q.op parameter? Really don't want to have to include it in *every* query, that kinda defeats its purpose... Thanks, Peter

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

Re: Java profiler?

2017-12-06 Thread Peter Sturge
Hi, We'be been using JPRofiler (www.ej-technologies.com) for years now. Without a doubt, the most comprehensive and useful profiler for java. Works very well, supports remote profiling and includes some very neat heap walking/gc profiling. Peter On Tue, Dec 5, 2017 at 3:21 PM, Walter Underwood

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

RE: Phrase suggester - field limit and order

2017-11-09 Thread Peter Lancaster
, Peter. -Original Message- From: ruby [mailto:rshoss...@gmail.com] Sent: 09 November 2017 19:29 To: solr-user@lucene.apache.org Subject: Phrase suggester - field limit and order I'm using the BlendedInfixLookupFactory to get phrase suggestions. It returns the entire field content. I've tried

Highlighting in subqueries?

2017-09-14 Thread Peter Matthew Eichman
Hello all, Is it possible to highlight the results of subqueries? Thanks, -Peter -- Peter Eichman Senior Software Developer University of Maryland Libraries peich...@umd.edu

if exists in an fq

2017-09-13 Thread Peter Kirk
is a "field2" then use "field2:[1 TO 100]; but if there is no "field2", then use "field3:[1 TO 100]. Something like: ?q=*:*=if(exists(field1),field1:[1 TO 100],if(exists(field2),field2:[1 TO 100], field3:[1 TO 100])) But is this does not work. Is it even possible? Thanks, Peter

Building Solr index from AEM using and ELB

2017-08-09 Thread Wahlgren Peter
I am looking for lessons learned or problems seen when building a Solr index from AEM using a Solr cluster with content passing through an ELB. Our configuration is AEM 6.1 indexing to a cluster of Solr servers running version 4.7.1. When building an index with a smaller data set - 4 million

RE: Solr 6 and IDF

2017-08-08 Thread Peter Lancaster
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: solr-user

RE: SolrCloud - leader updates not updating followers

2017-08-08 Thread Peter Lancaster
ingest data I don't see data appearing on the follower in the log. It really seems like the data isn't being sent from the leader. As I said it could easily be something stupid that I've done along the way but I can't see what it is. Thanks again, Peter. -Original Message- From: Erick

Highlighting all hits in a search with the Collapse/Expand filter in place

2017-08-08 Thread Peter Matthew Eichman
page together. However, when we add highlighting, only the main document in each collapsed set has highlighted snippets in the "highlighting" section of the response. Is there a way to tell Solr to use the full result set, and not the collapsed one, when highlighting? Thanks. -Peter

Re: MongoDb vs Solr

2017-08-05 Thread Peter Sturge
easier to accidentally 'let it run free'. If you're using Solr for db rather than search, you will need a secure front-end. Joy and good will to all, regardless of what tool you choose! Peter On Sat, Aug 5, 2017 at 5:08 PM, Walter Underwood <wun...@wunderwood.org> wrote: > I read the s

generate field name in query

2017-08-02 Thread Peter Kirk
document has a field "price_owner_float" then use that, otherwise use the field "price_customer_float"). This gives a syntax error: fq=if(exists(price_owner_float),price_owner_float,price_customer_float):[100 TO 200] Thanks, Peter

Re: Multiple rollups/facets in one streaming aggregation?

2017-07-30 Thread Peter Shmukler
I need to improve user experience on facets calculation. Let’s assume we’ve got a time partitioned collections. Partition1, Partition2, Partition3 ….. AliasAllPartitions unify all partitions together. Running facets on AliasAllPartitions is very heavy synchronous operation, user have to wait a lot

Re: Getting "Error getting file length for [segments_5]" warnings in Solr 6.4.0

2017-02-15 Thread Peter Matthew Eichman
there should have been more. Thanks, -Peter On Tue, Feb 14, 2017 at 6:10 PM, Shawn Heisey <apa...@elyograg.org> wrote: > On 2/14/2017 9:57 AM, Peter Matthew Eichman wrote: > > I am running Solr 6.4.0, and while I am attempting to index my Fedora > > 4 data, I keep getting warning me

Re: Getting "Error getting file length for [segments_5]" warnings in Solr 6.4.0

2017-02-14 Thread Peter Matthew Eichman
, are you sure its > present? > > On Tue, Feb 14, 2017 at 11:57 AM, Peter Matthew Eichman <peich...@umd.edu> > wrote: > > > Hello all, > > > > I am running Solr 6.4.0, and while I am attempting to index my Fedora 4 > > data, I keep getting warning mess

Getting "Error getting file length for [segments_5]" warnings in Solr 6.4.0

2017-02-14 Thread Peter Matthew Eichman
l.java:589) at java.lang.Thread.run(Thread.java:745) Thanks, -Peter -- Peter Eichman Senior Software Developer University of Maryland Libraries peich...@umd.edu

Query/Field Index Analysis corrected but return no docs in search

2017-02-04 Thread Peter Liu
hi all: I was using solr 3.6 and tried to solve a recall-problem today , but encountered a weird problem. There's doc with field value : 均匀肤色, (just treated that word as a symbol if you don't know it, I just want to describe the problem as exact as possible). And below was the analysis

Re: Subqueries

2017-01-06 Thread Peter Matthew Eichman
Thanks, we will look into the feasibility of a Solr upgrade. If not, is there anything in 4.10 that would allow us to do something similar, or would we be stuck with denormalizing our data at index time? -Peter On Fri, Jan 6, 2017 at 4:03 PM, Mikhail Khludnev <m...@apache.org> wrote: &

Re: Subqueries

2017-01-06 Thread Peter Matthew Eichman
Hi Mikhail, I've turned on DEBUG level logging, but I still only see the main request logged, and no requests for the subqueries. Could it be a version issue? We are running Solr 4.10. Thanks, -Peter On Fri, Jan 6, 2017 at 1:56 AM, Mikhail Khludnev <m...@apache.org> wrote: > Peter, &

Re: Subqueries

2017-01-05 Thread Peter Matthew Eichman
6c42; ] } ] } } Is $row.pcdm_members the right way to refer to the pcdm_members field of the current document in the subquery? Is the multivalued nature of the field a problem? I have tried adding separator=' ' to both the [subquery] and {!terms}, but to no avail. Thanks, -Peter O

Subqueries

2017-01-05 Thread Peter Matthew Eichman
=$row.pcdm_members}", "wt": "json", "_": "1483641932207" } }, "response": { "numFound": 1, "start": 0, "docs": [ {} ] } } Any pointers on what I am missing? Are there any configuration settings in solrconfig.xml that I need to be aware of for subqueries to work? Thanks, -Peter -- Peter Eichman Senior Software Developer University of Maryland Libraries peich...@umd.edu

Re: DIH problem with multiple (types of) resources

2016-11-15 Thread Peter Blokland
t now it certainly does. thx :) -- CUL8R, Peter. www.desk.nl Your excuse is: It is a layer 8 problem

DIH problem with multiple (types of) resources

2016-11-14 Thread Peter Blokland
stead of the configured "db" datasource (the JdbcDataSource). am I doing something wrong, or is this a bug ? -- CUL8R, Peter. www.desk.nl Your excuse is: Communist revolutionaries taking over the server room and demanding all the computers in the building or they shoot the sysadmin. Poor misguided fools.

Streaming Expressions (/stream) StreamHandler java.lang.NullPointerException

2016-06-25 Thread Peter Sh
I've got an exception below running curl --data-urlencode 'expr=search(EventsAndDCF,q="*:*",fl="AccessPath",sort="AccessPath asc",qt="/export")' "http://localhost:8983/solr/EventsAndDCF/stream; Solr responce: {"result-set":{"docs":[ {"EXCEPTION":null,"EOF":true}]}} My collection EventsAndDCF

File based spell check with weights

2016-04-08 Thread Peter Lee
ghtest change to the structure of the spell check index. If anyone has any insights to offer I'd appreciate it. Thanks. Peter S. Lee

Solr Timeouts during query aggregation

2015-12-23 Thread Peter Lee
I have not seen any documentation nor configuration settings for this feature, I am ready to take it as truth that Solr does NOT include this functionality. However, I thought I should ask the mailing list to see if I've missed something. Thank you! Peter S. Lee, Software Engineer Lead ProQuest

Re: Solr High Availability

2015-12-16 Thread Peter Tan
ree independent Zookeeper nodes, then yes, you should > have HA. > > Upayavira > > On Wed, Dec 16, 2015, at 05:48 PM, Peter Tan wrote: > > Hi Jack, > > > > Appreciate you helping me to clear this up. > > > > For replicationFactor = 1, that me

Re: Solr High Availability

2015-12-16 Thread Peter Tan
, correct? On Tue, Dec 15, 2015 at 10:09 PM, Jack Krupansky <jack.krupan...@gmail.com> wrote: > There is no HA with a single replica for each shard. Replication factor > must be at least 2 for HA. > > -- Jack Krupansky > > On Wed, Dec 16, 2015 at 12:38 AM, Peter Tan &l

Re: Solr High Availability

2015-12-15 Thread Peter Tan
Hi Jack, What happens when there is only one replica setup? On Tue, Dec 15, 2015 at 9:32 PM, Jack Krupansky wrote: > Solr Cloud provides HA when you configure at least two replicas for each > shard and have at least 3 zookeepers. That's it. No deck or detail document >

Re: Grouping facets: Possible to get facet results for each Group?

2015-10-15 Thread Peter Sturge
Great - can't wait to try this out! Many thanks for your help on pointing me towards this new faceting feature. Thanks, Peter On Thu, Oct 15, 2015 at 10:04 AM, Alessandro Benedetti < benedetti.ale...@gmail.com> wrote: > It will not be an impediment, if you have a flat document wi

Re: Grouping facets: Possible to get facet results for each Group?

2015-10-14 Thread Peter Sturge
be an impediment to nested facets, but I don't know enough about them to know for sure. Thanks, Peter On Wed, Oct 14, 2015 at 9:44 AM, Alessandro Benedetti < benedetti.ale...@gmail.com> wrote: > mmm let's say that nested facets are a subset of Pivot Facets. > if pivot faceting works with the

Re: Grouping facets: Possible to get facet results for each Group?

2015-10-13 Thread Peter Sturge
Hi, Thanks for your response. I did have a look at pivots, and they could work in a way. We're still on Solr 4.3, so I'll have to wait for sub-facets - but they sure look pretty cool! Peter On Tue, Oct 13, 2015 at 12:30 PM, Alessandro Benedetti < benedetti.ale...@gmail.com> wrote: >

Fwd: Grouping facets: Possible to get facet results for each Group?

2015-10-12 Thread Peter Sturge
not practical to iterate through the docs looking for unique values. This Use Case necessitates the unique values within each group, rather than the total doc hits. Is this possible with grouping, or inconjunction with another module? Many thanks, +Peter

Grouping facets: Possible to get facet results for each Group?

2015-10-11 Thread Peter Sturge
not practical to iterate through the docs looking for unique values. This Use Case necessitates the unique values within each group, rather than the total doc hits. Is this possible with grouping, or inconjunction with another module? Many thanks, +Peter

RE: Collapsing Query Parser returns one record per shard...was not expecting this...

2015-08-04 Thread Peter Lee
approach for this is to use composite Id routing to ensure that documents with the same collapse field land on the same shard. We should make this clear in the documentation. Joel Bernstein http://joelsolr.blogspot.com/ On Mon, Aug 3, 2015 at 4:20 PM, Peter Lee peter@proquest.com

Collapsing Query Parser returns one record per shard...was not expecting this...

2015-08-03 Thread Peter Lee
From my reading of the solr docs (e.g. https://cwiki.apache.org/confluence/display/solr/Collapse+and+Expand+Results and https://cwiki.apache.org/confluence/display/solr/Result+Grouping), I've been under the impression that these two methods (result grouping and collapsing query parser) can

Re: Basic Auth (again)

2015-07-23 Thread Peter Sturge
as described in: http://www.eclipse.org/jetty/documentation/9.2.7.v20150116/configuring-logging.html . A 404 would suggest that Solr hasn't loaded, possibly due to missing mappings in the xml. You can run netstat -a on your Windows box to see if Solr is listening on port 8983. Thanks, Peter On Thu, Jul

Re: Basic Auth (again)

2015-07-23 Thread Peter Sturge
-collection auth-constraint role-namedefault-role/role-name /auth-constraint /security-constraint Your realm.properties should then have user account entries for the role similar to: admin: some-cred, default-role Hope this helps, Peter On Thu, Jul 23, 2015 at 7:41 PM, Steven White

Re: Basic auth

2015-07-22 Thread Peter Sturge
for authentication to remote instances - SOLR-1861 is an old implementation for a previous release, and there has been some significant refactoring of SearchHandler since then, but the concept works well for distributed queries. Thanks, Peter On Wed, Jul 22, 2015 at 11:18 AM, O. Klein kl...@octoweb.nl wrote

Re: Basic auth

2015-07-22 Thread Peter Sturge
Try adding the start call in your jetty.xml: Set name=nameRealm Name/Set Set name=configSystemProperty name=jetty.home default=.//etc/realm.properties/Set Set name=refreshInterval5/Set Call name=start/Call On Wed, Jul 22, 2015 at 2:53 PM, O. Klein

File paths in Zookeeper managed config files

2015-06-10 Thread Peter Scholze
to Invalid path string \/configs/newspapers//netapp/dokubase/seeval/dicts/stopwords/stopwords_de.txt\ caused by empty node name specified @20 Is there any way to prevent Zookeeper from doing so? Thanks in advance, best regards Peter

Making SpellChecker output better with language rules from languagetool

2015-01-27 Thread Peter Puzanovs
Hello, Thinking to combine the output provided from the IndexBasedSpellChecker with the language rules from the languagetool(languagetool.org). Wondering if this is already implemented ? Thanks, Peter

Re: How large is your solr index?

2015-01-07 Thread Peter Sturge
control of the document routing, but... that's quite tricky. You forever after have to send any _updates_ to the same shard you did the first time, whereas SPLITSHARD will do the right thing. On Tue, Jan 6, 2015 at 10:33 AM, Peter Sturge peter.stu...@gmail.com wrote: ++1

Re: How large is your solr index?

2015-01-06 Thread Peter Sturge
Yes, totally agree. We run 500m+ docs in a (non-cloud) Solr4, and it even performs reasonably well on commodity hardware with lots of faceting and concurrent indexing! Ok, you need a lot of RAM to keep faceting happy, but it works. ++1 for the automagic shard creator. We've been looking into

Re: Solr hangs on distributed updates

2014-12-16 Thread Peter Keegan
.74b0dc51.13a79@airmetal.local%3E On Mon, Dec 15, 2014 at 8:11 PM, Shalin Shekhar Mangar shalinman...@gmail.com wrote: On Mon, Dec 15, 2014 at 8:41 PM, Peter Keegan peterlkee...@gmail.com wrote: If a timeout occurs, does the distributed update then go to the next replica? A distributed update

Re: Solr hangs on distributed updates

2014-12-16 Thread Peter Keegan
As of 4.10, commits/optimize etc are executed in parallel. Excellent - thanks. On Tue, Dec 16, 2014 at 6:51 AM, Shalin Shekhar Mangar shalinman...@gmail.com wrote: On Tue, Dec 16, 2014 at 11:34 AM, Peter Keegan peterlkee...@gmail.com wrote: A distributed update is streamed to all

Re: Solr hangs on distributed updates

2014-12-15 Thread Peter Keegan
which caused the Solr-leader to get an exception and update the live_nodes, gracefully. So now, the timeouts should only play a backup role. Thanks for the help, Peter On Fri, Dec 12, 2014 at 5:21 PM, Chris Hostetter hossman_luc...@fucit.org wrote: : No, I wasn't aware of these. I will give

Re: Solr hangs on distributed updates

2014-12-15 Thread Peter Keegan
. The socket and connection timeout inside the shardHandlerFactory section apply for inter-shard search requests. On Fri, Dec 12, 2014 at 8:38 PM, Peter Keegan peterlkee...@gmail.com wrote: Btw, are the following timeouts still supported in solr.xml, and do they only apply to distributed search

Solr hangs on distributed updates

2014-12-12 Thread Peter Keegan
threads are waiting on a response from the terminated replicas, but I would have expected an IOException to occur. Any ideas on what may be happening? Thanks, Peter

Re: Solr hangs on distributed updates

2014-12-12 Thread Peter Keegan
never gets notified. This seems like a bug in ZK. Thanks, Peter On Fri, Dec 12, 2014 at 2:43 PM, Shalin Shekhar Mangar shalinman...@gmail.com wrote: Do you have distribUpdateConnTimeout and distribUpdateSoTimeout set to reasonable values in your solr.xml? These are the timeouts used

Re: Solr hangs on distributed updates

2014-12-12 Thread Peter Keegan
/shardHandlerFactory Thanks, Peter On Fri, Dec 12, 2014 at 3:14 PM, Peter Keegan peterlkee...@gmail.com wrote: No, I wasn't aware of these. I will give that a try. If I stop the Solr jetty service manually, things recover fine, but the hang occurs when I 'stop' or 'terminate' the EC2 instance

Re: Solr hangs on distributed updates

2014-12-12 Thread Peter Keegan
4.6.1 Peter On Fri, Dec 12, 2014 at 3:39 PM, Shalin Shekhar Mangar shalinman...@gmail.com wrote: Okay, that should solve the hung threads on the leader. When you stop the jetty service then it is a graceful shutdown where existing requests finish before the searcher thread pool is shutdown

Re: Solr hangs on distributed updates

2014-12-12 Thread Peter Keegan
scaling shutdown is that you can't log into the 'vanishing machine' to view the logs. Peter On Fri, Dec 12, 2014 at 5:21 PM, Chris Hostetter hossman_luc...@fucit.org wrote: : No, I wasn't aware of these. I will give that a try. If I stop the Solr : jetty service manually, things recover fine

Re: Get matched Term in join query

2014-12-09 Thread Peter Sturge
Terms would, in the worst case, mean looking up a great many items. For now, I'm going with the TermsComponent added to the standard searchhandler. The drawback is you get back all terms that match the terms.regex, even those not necessarily in the results. Many thanks, Peter On Tue, Dec 9, 2014

Get matched Term in join query

2014-12-08 Thread Peter Sturge
to have the query return which term(s) from 'raw' actually matched the value in 'action'? Maybe an extended TermsComponent to add only matched terms to the response payload or similar? Many thanks, Peter

Find duplicates

2014-12-02 Thread Peter Kirk
Hi Is it possible to formulate a Solr query which finds all documents which have the same value in a particular field? Note, I don't know what the value is, I just want to find all documents with duplicate values. For example, I have 5 documents: Doc1: field Name = Peter Doc2: field Name

Handling intersection facets of many values

2014-11-19 Thread Peter Sturge
that are the intersection of 'dest' and 'addr'. Can anyone help shed some light on how best to do this? Many thanks, Peter

Re: Handling intersection facets of many values

2014-11-19 Thread Peter Sturge
them and returning the result: List 1: a b c d e f List 2: a a g z c c c e Resultant intersection: a (2) c (3) e (1) Thanks, Peter On Wed, Nov 19, 2014 at 7:16 PM, Toke Eskildsen t...@statsbiblioteket.dk wrote: Peter Sturge [peter.stu...@gmail.com] wrote: [addr 7M unique, dest 1K unique

Re: Handling intersection facets of many values

2014-11-19 Thread Peter Sturge
to do this sort of facet intersecting, here's my query: 127.0.0.1:8983/solr/net/select?q=*:*fl=destfl=srcfacet=truefq={!join from=addr to=dest fromIndex=targets}*facet.field=srcfacet.field=destfacet.mincount=1facet.limit=-1facet.sort=countrows=0 Thanks, Peter On Wed, Nov 19, 2014 at 9:23 PM

Solr exceptions during batch indexing

2014-11-07 Thread Peter Keegan
over it. Peter

Re: Solr exceptions during batch indexing

2014-11-07 Thread Peter Keegan
I'm seeing 9X throughput with 1000 docs/batch vs 1 doc/batch, with a single thread, so it's certainly worth it. Thanks, Peter On Fri, Nov 7, 2014 at 2:18 PM, Erick Erickson erickerick...@gmail.com wrote: And Walter has also been around for a _long_ time ;) (sorry, couldn't resist

  1   2   3   4   5   6   7   8   9   >