Solr Suggest Component with weight expression returns no suggestions

2018-08-03 Thread Buckler, Christine
I am having difficulty getting Solr's Suggest Component to work with a weight expression. I have tried to match the format of the example in the documentation (see related code from schema.xml and solrconfig.xml below) but no results are found when I request suggestions from this dictionary and

FreeTextSuggester exception: need at least one suggestion

2018-08-03 Thread Buckler, Christine
Hi fellow Solr Suggesters, I am getting an exception when building the suggester index for: FreeTextSuggester… java.lang.IllegalArgumentException: need at least one suggestion at org.apache.lucene.search.suggest.analyzing.FreeTextSuggester.build(FreeTextSuggester.java:300) at org.apache.lucene

Solr timeAllowed metric

2018-08-03 Thread Wei
Hi, We tried to use solr's timeAllowed parameter to restrict the time spend on expensive queries. But as described at https://lucene.apache.org/solr/guide/6_6/common-query-parameters.html#CommonQueryParameters-ThetimeAllowedParameter " This value is only checked at the time of Query Expansion a

Re: Master recovery in ReplicationHandler

2018-08-03 Thread Chuong Thao
Hi Shawn, thank you for replying I'm following this https://lucene.apache.org/solr/guide/7_3/making-and-restoring-backups.html#backup-restore-storage-repositories (https://link.getmailspring.com/link/1533322369.local-73f54f42-640a-v1.3.0-fd741...@getmailspring.com/0?redirect=https%3A%2F%2Flucene

Re: Problem with fuzzy search and accentuation

2018-08-03 Thread Erick Erickson
Stemming is getting in the way here. You could probably use copyField to a field that doesn't stem and fuzzy search against that field rather than the stemmed one. Best, Erick On Fri, Aug 3, 2018 at 11:31 AM, Monique Monteiro wrote: > By adding debug=true, I get the following: > > >- adminis

Re: Problem with fuzzy search and accentuation

2018-08-03 Thread Monique Monteiro
By adding debug=true, I get the following: - administração (correct result): "debug":{ "rawquerystring":"administração", "querystring":"administração", "parsedquery":"text:administr", "parsedquery_toString":"text:administr", "QParser":"LuceneQParser"}} - administração

Re: Problem with fuzzy search and accentuation

2018-08-03 Thread Erick Erickson
What does adding &debug=query show you the parsed query is in the two cases? My guess is that accent folding is kicking in one case but not the other, but that's a blind guess. On Fri, Aug 3, 2018 at 11:19 AM, Monique Monteiro wrote: > Hi all, > > I'm having a problem when I search for a word

Problem with fuzzy search and accentuation

2018-08-03 Thread Monique Monteiro
Hi all, I'm having a problem when I search for a word with some non-ASCII characters in combination with fuzzy search. For example, if I type 'administração' or 'contratação' (both words end with 'ção'), the search results are returned correctly. However, if I type 'administração~', no result is

Re: SolrCloud CDCR issue

2018-08-03 Thread cdatta
Any pointers? -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Schema Change for Solr 7.4

2018-08-03 Thread Shawn Heisey
On 8/3/2018 9:09 AM, Joe Lerner wrote: > We recently set up Solr 7.4 in Production. There are 2 Solr nodes, with 3 > zookeepers. We need to make a schema change. What I want to do is simply > push the updated schema to Solr, and then re-index all the content to pick > up the change. But I am being

Re: Schema Change for Solr 7.4

2018-08-03 Thread Walter Underwood
For an in-place migration: 1. Add new fields to the schema. 2. Reindex to populate those fields. 3. Change queries to use those fields and stop using old fields. 4. Stop sending data to old fields, reindex. 5. Remove old fields from the schema. wunder Walter Underwood wun...@wunderwood.org http:/

Solr Relevance Engineer Training, Sept 25 & 26

2018-08-03 Thread Doug Turnbull
Hey everyone, Many may know me, in the words of Will Hayes, as "Mr. Relevance". I'm the author of the book Relevant Search, and prolific blogge r about all things Solr relevance. I want to share I'll be running a Solr 'Think Like a Relevance Engineer' course Sept 25 and 26 <

Re: Schema Change for Solr 7.4

2018-08-03 Thread Christopher Schultz
Joe, On 8/3/18 11:44 AM, Joe Lerner wrote: > OK--yes, I can see how that would work. But it would require some quick > infrastructure flexibility that, at least to this point, we don't really > have. The only thing that needs swapping is the URL that your application uses to connect to Solr, so y

Re: Schema Change for Solr 7.4

2018-08-03 Thread Joe Lerner
OK--yes, I can see how that would work. But it would require some quick infrastructure flexibility that, at least to this point, we don't really have. Joe -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Schema Change for Solr 7.4

2018-08-03 Thread Christopher Schultz
Joe, On 8/3/18 11:09 AM, Joe Lerner wrote: > We recently set up Solr 7.4 in Production. There are 2 Solr nodes, with 3 > zookeepers. We need to make a schema change. What I want to do is simply > push the updated schema to Solr, and then re-index all the content to pick > up the change. But I am b

Schema Change for Solr 7.4

2018-08-03 Thread Joe Lerner
We recently set up Solr 7.4 in Production. There are 2 Solr nodes, with 3 zookeepers. We need to make a schema change. What I want to do is simply push the updated schema to Solr, and then re-index all the content to pick up the change. But I am being told that I need to: 1. Delete the collec

numdocs is different on replicas in a shard

2018-08-03 Thread Webster Homer
This morning I was told that there was something screwy with one of our collections. This collection has 2 shards and 2 replicas per shard. Each replica has a different value for numDocs! Datacenter #1 shard1_replica11513053 shard1_replica21512653 shard2_replica11512296 shard2_replica2

AW: indexing two words, searching single word

2018-08-03 Thread Clemens Wyss DEV
+1 ;) -Ursprüngliche Nachricht- Von: Susheel Kumar Gesendet: Freitag, 3. August 2018 14:40 An: solr-user@lucene.apache.org Betreff: Re: indexing two words, searching single word and as you suggested, use stop word before shingles... On Fri, Aug 3, 2018 at 8:10 AM, Clemens Wyss DEV wro

Re: Support multiple language tokens in same field

2018-08-03 Thread Shawn Heisey
On 8/3/2018 1:10 AM, Nitesh Kumar wrote: As I discussed above, in some special case, we have a situation where these fields ( field1, field2 etc..) value can be in *CJK *pattern. That means field1, field2 store plain *English *text or *CJK *text. Hence, in case of choosing *StandardTokenizer,

Re: indexing two words, searching single word

2018-08-03 Thread Susheel Kumar
and as you suggested, use stop word before shingles... On Fri, Aug 3, 2018 at 8:10 AM, Clemens Wyss DEV wrote: > > > >outputUnigrams="true" tokenSeparator=""/> > > > seems to "work" > > -Ursprüngliche Nachricht- > Von: Clemens Wyss DEV > Gesendet: Freitag, 3. August 2018 13

AW: indexing two words, searching single word

2018-08-03 Thread Clemens Wyss DEV
seems to "work" -Ursprüngliche Nachricht- Von: Clemens Wyss DEV Gesendet: Freitag, 3. August 2018 13:46 An: solr-user@lucene.apache.org Betreff: AW: indexing two words, searching single word >Because you probably are not looking for "andthe" kind of tokens (unfortunately) I

AW: indexing two words, searching single word

2018-08-03 Thread Clemens Wyss DEV
>Because you probably are not looking for "andthe" kind of tokens (unfortunately) I guess I am, as we don't know what people enter... > a shingle plus regex to remove whitespace sounds interesting. How would that filter-chain look like? That would be an type="index"-analyzer? I guess we could shi

Re: indexing two words, searching single word

2018-08-03 Thread Alexandre Rafalovitch
But what is your generic problem then. Because you probably are not looking for "andthe" kind of tokens. However a shingle plus regex to remove whitespace can give you "anytwo wordstogether smooshed" tokens in the index. Regards, Alex On Fri, Aug 3, 2018, 7:19 AM Clemens Wyss DEV, wrote:

AW: indexing two words, searching single word

2018-08-03 Thread Clemens Wyss DEV
Hi Markus, thanks for the quick answer. "sound stage" was just an example. We are looking for a generic solution ... Is it "ok" to apply an NGRamFilter for query-analyzing? I guess (besides the performance impact) this reduces search results accuracy? -Clemens ---

Support multiple language tokens in same field

2018-08-03 Thread Nitesh Kumar
Hi, We work in the proxy business, for our customer, where to achieve certain business need, we change some field information and send it to the Solr. Below are the configurations of Solr schema.xml for a particular field at Solr side.

RE: indexing two words, searching single word

2018-08-03 Thread Markus Jelsma
Hello, If your case is English you could use synonyms to work around the problem of the few compound words of the language. However, would you be dealing with a Germanic compound language, the HyphenationCompoundWordTokenFilter [1] or DictionaryCompoundWordTokenFilter are a better choice. The f

indexing two words, searching single word

2018-08-03 Thread Clemens Wyss DEV
Sounds like a rather simple issue: if I index "sound stage" and search for "soundstage" I get no hits What am I doing wrong a) when indexing b) when searching ? Thx in advance - Clemens