RE: create collection from existing managed-schema

2018-07-26 Thread Rahul Chhiber
Hi, If you want to share schema and/or other configurations between collections, you need to create a configset. Then, specify this configset while creating any collections. Any changes made to that configset or schema will reflect in all collections that are using it. By default, Solr has

Re: Edismax and ShingleFilterFactory exponential term grow

2018-07-26 Thread Erick Erickson
This is doing exactly what it should. It'd be a little clearer if you used a tokenSeparator other than the default space. Then this line: text_shingles:word1 word2 word3+text_shingles:word4 word5 would look more like this: text_shingles:word1_word2_word3+text_shingles:word4_word5 It's building

Re: Recent configuration change to our site causes frequent index corruption

2018-07-26 Thread Erick Erickson
And as for your performance warning Overlapping onDeckSearchers, almost certainly some external process (probably the indexing client) is issuing the commits. Best, Erick. On Thu, Jul 26, 2018 at 1:43 PM, Markus Jelsma wrote: > Hello, > > Is your maximum number of open files 1024? If so,

Re: Can the export handler be used with the edismax or dismax query handler

2018-07-26 Thread Joel Bernstein
The export handler doesn't allow sorting by score at this time. It only supports sorting on fields. So the edismax qparser won't cxcurrently work with the export handler. Joel Bernstein http://joelsolr.blogspot.com/ On Thu, Jul 26, 2018 at 5:52 PM, Tom Burton-West wrote: > Hello all, > > I am

Can the export handler be used with the edismax or dismax query handler

2018-07-26 Thread Tom Burton-West
Hello all, I am completely new to the export handler. Can the export handler be used with the edismax or dismax query handler? I tried using local params : q= _query_:"{!edismax qf='ocr^5+allfields^1+titleProper^50' mm='100%25' tie='0.9' } art" which does not seem to be working. Tom

RealTimeGet - routing

2018-07-26 Thread Susmit
Hi, RTG query is not able to match docs in my collection. Collection - 2 shards router field is not the same as uniqueKey solr 6.3.1 Looked at the code - it uses passed list of ids to find the shard it belongs to based on hash range and fires distributed queries. But ids are uniqueKey and hash

RE: Recent configuration change to our site causes frequent index corruption

2018-07-26 Thread Markus Jelsma
Hello, Is your maximum number of open files 1024? If so, increase it to a more regular 65536. Some operating systems ship with 1024 for reasons i don't understand. Whenever installing Solr anywhere for the past ten years, we have had to check this each and every time, and still have to!

Recent configuration change to our site causes frequent index corruption

2018-07-26 Thread cyndefromva
I have Rails 5 application that uses solr to index and search our site. The sunspot gem is used to integrate ruby and sunspot. It's a relatively small site (no more 100,000 records) and has moderate usage (except for the googlebot). Until recently we regularly received 503 errors; reloading the

Edismax and ShingleFilterFactory exponential term grow

2018-07-26 Thread Jokin C
Hi, I have a problem and I don't know if it's something that am and doing wrong or if it's maybe a bug. I want to query a field with shingles, the field and type definition are this: I'm using Solr 7.2.1. I jus wanted to have different min and max shingle

create collection from existing managed-schema

2018-07-26 Thread Chuming Chen
Hi All, From Solr Admin interface, I have created a collection and added field definitions. I can get its managed-schema from the Admin interface. Can I use this managed-schema to create a new collection? How? Thanks, Chuming

Configuring ZK Timeouts

2018-07-26 Thread solrnoobie
We are having problems with zk / solr node recovery and we are encountering this issue: [ ] o.a.z.ClientCnxn Client session timed out, have not heard from server in 5003ms We have set the solr.xml zkClientTimeout to 30 secs. What are we missing here? -- Sent from:

Re: how to index GEO JSON

2018-07-26 Thread SolrUser1543
of course i saw this reference . but it is not clear understood , how exactly geojson looks like . where do I put an item Id ? regular json index request looks like : { "id":"111", "geo_srpt": } i tried to put a geo json as a geo_srpt value but it does not work . so far I managed to

change the ranking function

2018-07-26 Thread Reem
Hello, Is it possible to change the ranking function (e.g., BM25Similarity, ClassicSimilarity, LMDirichletSimilarity, etc) in search time? The way I found to change the ranking function is by setting the similarity property of text fields in schema.xml as follows: `` However, this means we

RE: Collection created error: Can't find resource 'solrconfig.xml'

2018-07-26 Thread Reem
Thanks for your reply Erich, that was really helpful! From: Erick Erickson Sent: Sunday, July 22, 2018 7:26 AM To: solr-user Subject: Re: Collection created error: Can't find resource 'solrconfig.xml' >From your SO post: "I've also created a directory /configs (as indicated by the error) on