request dependent analyzer

2017-12-17 Thread Hendrik Haddorp
Hi, currently we use a lot of small collections that all basically have the same schema. This does not scale too well. So we are looking into combining multiple collections into one. We would however like some analyzers to behave slightly differently depending on the logical collection. We wo

Re: index fields with custom gaps between terms

2017-12-17 Thread Amin Raeiszadeh
thanks too much Erick and mikhail. i change SloppyPhraseScorer class for my custom behavior with some fields. so i need to index some fields with customized gap between terms of fields. i'm not profession with solr and i think with schema.xml only i can set fixed gap increment between terms of fiel

Solr5.1 delete out of memory

2017-12-17 Thread soul
hi! I'm using solr5.1. There have about 0.3 billion doc in my solr. I can insert and select doc in my solr, while failed to delete doc. It remind me that this writer hit an OutOfMemoryError : cannot commit. I am curious that what cause this reason? -- Sent from: http://lucene.472066.n3.nabble.c

Re: index fields with custom gaps between terms

2017-12-17 Thread Mikhail Khludnev
On Sun, Dec 17, 2017 at 11:16 AM, Amin Raeiszadeh wrote: > thanks for your guides Mikhail. > in multiple values i can only set static positionIncrementGap but > considering my description i need dynamic gap between terms and > i don't know how to do it. > There is a jira ticket regarding it, but

Synonyms

2017-12-17 Thread Rick Leir
Hi All Doug Turnbull's latest blog http://opensourceconnections.com/blog/2017/11/21/solr-synonyms-mea-culpa/ at OpenSourceConnections is great, I learned lots. He mentions Wordnet the lexical database for the English language. If you are using his suggested synonyms in Solr to 'tune' tf/idf t

Re: index fields with custom gaps between terms

2017-12-17 Thread Erick Erickson
You might be able to do something with PreAnalyzedField, but I confess I've never really dug into it. Best, Erick On Sun, Dec 17, 2017 at 12:16 AM, Amin Raeiszadeh wrote: > thanks for your guides Mikhail. > in multiple values i can only set static positionIncrementGap but > considering my descri

Re: index fields with custom gaps between terms

2017-12-17 Thread Amin Raeiszadeh
thanks for your guides Mikhail. in multiple values i can only set static positionIncrementGap but considering my description i need dynamic gap between terms and i don't know how to do it. i can only pass String value for fields like this: SolrInputDocument sDoc = new SolrInputDocument(); sDoc.se