Re: copyfield not working

2019-01-13 Thread Jay Potharaju
copyfield syntax from my schema file... Thanks Jay On Sun, Jan 13, 2019 at 11:46 PM Jay Potharaju wrote: > Hi, > I have a copy field in which i am copying the contents of text_en field to > another custom field. > After indexing i was expecting any of the special characters in the > paragraph

Re: copyfield not working

2019-01-13 Thread Andrea Gazzarini
Hi Jay, the text analysis always operates on the indexed content. The stored content of a filed is left untouched unless you do something before it gets indexed (e.g. on client side or by an UpdateRequestProcessor). Cheers, Andrea On 14/01/2019 08:46, Jay Potharaju wrote: Hi, I have a copy f

copyfield not working

2019-01-13 Thread Jay Potharaju
Hi, I have a copy field in which i am copying the contents of text_en field to another custom field. After indexing i was expecting any of the special characters in the paragraph to be removed, but it does not look like that is happening. The copied content is same as the what is there in the sourc

Spellcheck not returning output array for single character

2019-01-13 Thread Zheng Lin Edwin Yeo
Hi, I am using Solr 7.5.0, and I have found that when we call the spellcheck handler with a single character search (Eg: http://localhost:8983/solr/collection1/spell?q=6), the output array like the below is not shown. "spellcheck":{ "suggestions":[], "correctlySpelled":true, "colla

Re: Search query with & without question mark

2019-01-13 Thread Jay Potharaju
the parsedquery is same when debugging, but when calculating the scores different fields are being taken into consideration. Why would that be the case? My guess is that the suggeststopfilterfactory is not working as i expect it to and causing this weird situation. Updated field type definition:

Re: Search query with & without question mark

2019-01-13 Thread Erick Erickson
What does adding &debug=query show in both cases? Best, Erick On Sun, Jan 13, 2019 at 9:30 PM Jay Potharaju wrote: > > Hi, > When searching I get different results when the query contains question > mark vs without question mark . The field i am searching on does not have > any question marks.

Search query with & without question mark

2019-01-13 Thread Jay Potharaju
Hi, When searching I get different results when the query contains question mark vs without question mark . The field i am searching on does not have any question marks. Any suggestions? < tokenizer class="solr.StandardTokenizerFactory"/> < filter class="solr.LowerCaseFilterFactory"/> T

Re: Content from EML files indexing from text/html (which is not clean) instead of text/plain

2019-01-13 Thread Zheng Lin Edwin Yeo
Hi, I have uploaded a sample EML file here: https://drive.google.com/file/d/1z1gujv4SiacFeganLkdb0DhfZsNeGD2a/view?usp=sharing This is what is indexed in the content: "content":" font-size: 14pt; font-family: book antiqua, palatino, serif; Hi There,font-size: 14pt; font-family: boo

Re: REBALANCELEADERS is not reliable

2019-01-13 Thread Erick Erickson
Bernd: I just attached a patch to https://issues.apache.org/jira/browse/SOLR-13091. It's still rough, the response from REBALANCELEADERS needs quite a bit of work (lots of extra stuff in it now, and no overall verification). I haven't run all the tests, nor precommit. I wanted to get something up

Content from EML files indexing from text/html (which is not clean) instead of text/plain

2019-01-13 Thread Zheng Lin Edwin Yeo
Hi, I am using Solr 7.5.0 with Tika 1.18. Currently I am facing a situation during the indexing of EML files, whereby the content is being extracted from the Content-type=text/html instead of Content-type=text/plain. The problem with Content-type=text/html is that it contains alot of words like

WordBreakSolrSpellChecker returning weird results

2019-01-13 Thread Zheng Lin Edwin Yeo
Hi, I am trying on the WordBreakSolrSpellChecker, and I found that the results that it is returning is quite weird. For example, for this query http://localhost:8983/solr/collection1/spell?q=1006&fl=null, which has exact match in my index, I am getting the following results returned. "spellche

Re: "no servers hosting shard" when querying during shard creation

2019-01-13 Thread Erick Erickson
Yeah, that seems wrong, I'd say open a JIRA. A band-aid might be add shards.tolerant=true, the query will complete, see: https://lucene.apache.org/solr/guide/6_6/read-and-write-side-fault-tolerance.html#ReadandWriteSideFaultTolerance-shards.tolerant that's not a fix, but would allow the queries t

Re: Restoring a REPLICA from existing replica

2019-01-13 Thread Erick Erickson
Well, the first question is whether you have other replicas, i.e. at least one healthy leader for every shard. In that case, the simplest thing to do would be ADDREPLICA/DELETEREPLICA The ADDREPLICA will copy data from the leader to the new replica and you should be fine. If your data is on a sha

Restoring a REPLICA from existing replica

2019-01-13 Thread Yuri Klayman
Hey, I have a scenario where we run a Solr cluster in Azure, with Solr running in a VM and the data on a managed disk. One scenario that we want to handle and are considering different solutions for, is that one of the nodes\VMs will be down due to a network issue or a crash, but the disk will

Re: "no servers hosting shard" when querying during shard creation

2019-01-13 Thread Bram Van Dam
On 13/01/2019 14:28, Bram Van Dam wrote: > If a query is launched during the shard creation, I get a > SolrServerException from SolrJ: Error from server at foo: no servers > hosting shard: bar I should probably add that I'm running 7.6.0.

Can't Find Phrases

2019-01-13 Thread Nussbaum, Ronen
Hello, I've installed Solr 7.6.0 with the following field definition: My stopwords_en.txt contains (among others) the words: it, will (synonyms

"no servers hosting shard" when querying during shard creation

2019-01-13 Thread Bram Van Dam
Hey folks, I'm getting SolrServerExceptions and I'm not sure whether this is by design or whether this is a concurrency bug of some sort. Basically I've got a pretty active collection which is being queried all the time. Periodically, new shards are created (using the Collection Admin API's CREAT

Curator in SOLR

2019-01-13 Thread SOLR4189
Hi all, I want to use TimeRoutedAlias collection. But first of all I have a question : Does Solr have something like Curator in ElasticSearch? How can I manage/move old read-only collections to "weaker hardware"? -- Sent from: http://lucene