Re: understanding phonetic matching

2016-03-23 Thread davidphilip cherian
The "phonetic_en" analyzer definition available in solr-schema does return documents having "Jon", "JN", "John" when search term is "John". Checkout screen shot here : http://imgur.com/0R6SvX2 This wiki page explains how phonetic matching works : https://cwiki.apache.org/confluence/display/solr/Ph

Suspicious message with attachment

2016-03-23 Thread help
The following message addressed to you was quarantined because it likely contains a virus: Subject: RE: Explain score is different from score From: "G, Rajesh" However, if you know the sender and are expecting an attachment, please reply to this message, and we will forward the quarantined mes

Issue With Manual Lock

2016-03-23 Thread Salman Ansari
Hi, I am facing an issue which I believe has something to do with recent changes in Solr. I already have a collection spread on 2 shards (each with 2 replicas). What happened is that my Solr and Zookeeper ensemble went down and I restarted the servers. I have performed the following steps 1) I r

SolrJ Indexing

2016-03-23 Thread fabigol
Hi, i want to do indexing with api SolrJ. So, i believe the indexing will be multhreaded. But i have 5 root entites. i find this link: https://lucidworks.com/blog/2012/02/14/indexing-with-solrj/ but i don't talk links between entit

Re: Next Solr Release - 5.5.1 or 6.0 ?

2016-03-23 Thread Alessandro Benedetti
Thanks Erick, I thought the same, better to wait a little bit for a 6.x migration. Let give it some time to be released and pissibly bug fixed :) I will follow your suggestion, migrate from 4.10.2 to 5.5.0, a possible 5.5.1 should be trivial to upgrade later. Cheers On Tue, Mar 22, 2016 at 4:45 P

Re: Cant access new docs without restarting Solr (java.nio.file.NoSuchFileException)

2016-03-23 Thread Victor D'agostino
Hi It looks like this bug : http://mail-archives.apache.org/mod_mbox/lucene-dev/201603.mbox/%3cjira.12933432.1453490528000.198540.1456947498...@atlassian.jira%3E Regards Message original *Sujet: *Cant access new docs without restarting Solr (java.nio.file.NoSuchFileException

Fwd: Solr cloud replication factort

2016-03-23 Thread Raveendra Yerraguntla
All, I am using Solr 5.4 in solr cloud mode in a 8 node cluster. Used the replication factor of 1 for creating the index, then switched to replication factor > 1 for redundancy. With replication factor > 1, and tried to do indexing for incremental. When the incremental indexing happens - getting

Re: Solr:Skip document from indexing when it matches specific value

2016-03-23 Thread solr2020
thanks. i am able to do this by extending UpdateRequestProcessorFactory . -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-Skip-document-from-indexing-when-it-matches-specific-value-tp4264071p4265526.html Sent from the Solr - User mailing list archive at Nabble.com.

Merge two Solr documents into One

2016-03-23 Thread solr2020
Hi, I have 2-3 Solr documents but i would like to merge all these into one document while indexing. Something like parent-child. So do we have any utils for Solr to merge two or more SolrInputDocument into one SolrInputDocument. Thanks, Gomathi. -- View this message in context: http://lucene.

RE: Re: Paging and cursorMark

2016-03-23 Thread Vanlerberghe, Luc
I worked on something similar a couple of years ago, but didn’t continue work on it in the end. I've included the text of my original mail. If you're interested, I could try to find the sources I was working on at the time Luc In Solr 4.7 an exciting new feature was added that allows one to pa

Fwd: Solr cloud setup with zookeeper in windows

2016-03-23 Thread manohar c
Hi, Can you please provide me steps for set up multiple solr clouds with zookeeper in windows machines. I am using solr 5.4.1 and zookeeper 3.4.6 Thanks and regards, Manohar

Re: SolrJ Indexing

2016-03-23 Thread Shawn Heisey
On 3/23/2016 2:36 AM, fabigol wrote: > i want to do indexing with api SolrJ. So, i believe the indexing will be > multhreaded. > But i have 5 root entites. The config you included is from the dataimport handler. This is *NOT* indexing with SolrJ. You can SolrJ to *start* the indexing, and with e

Re: Fwd: Solr cloud replication factort

2016-03-23 Thread Shawn Heisey
On 3/23/2016 6:00 AM, Raveendra Yerraguntla wrote: > I am using Solr 5.4 in solr cloud mode in a 8 node cluster. Used the > replication factor of 1 for creating the index, then switched to > replication factor > 1 for redundancy. With replication factor > 1, and > tried to do indexing for increment

Re: Delete by query using JSON?

2016-03-23 Thread Paul Hoffman
On Tue, Mar 22, 2016 at 04:27:03PM -0700, Walter Underwood wrote: > “Why do you care?” might not be the best way to say it, but it is > essential to understand the difference between selection (filtering) > and ranking. > > As Solr params: > > * q is ranking and filtering > * fq is filtering on

Re: Delete by query using JSON?

2016-03-23 Thread Paul Hoffman
On Tue, Mar 22, 2016 at 10:25:06PM -0400, Jack Krupansky wrote: > See the correct syntax example here: > https://cwiki.apache.org/confluence/display/solr/Uploading+Data+with+Index+Handlers#UploadingDatawithIndexHandlers-SendingJSONUpdateCommands > > Your query is fine. Thanks; I thought the query

Re: Fwd: Solr cloud setup with zookeeper in windows

2016-03-23 Thread Shawn Heisey
On 3/23/2016 6:30 AM, manohar c wrote: >Can you please provide me steps for set up multiple solr clouds with > zookeeper in windows machines. I am using solr 5.4.1 and zookeeper 3.4.6 Solr doesn't come with an installation method for Windows. Although Solr will run on Windows, and we incl

Re: Delete by query using JSON?

2016-03-23 Thread Alexandre Rafalovitch
Ouch! I certainly did not mean to sound snippy. But perhaps it did, at least to some people. I'll try to be even more PC in the future. I am glad the problem was resolved in the end. Newsletter and resources for Solr beginners and intermediates: http://www.solr-start.com/ On 23 March 2016 a

Solr 5.5 Issue with CJK and mm being ignored when searching with white space.

2016-03-23 Thread Tiffany Goguen
Hi. Is this a new bug? I am using esdimax and I have set mm=100% via My search terms are クイックリファレンス Term 1 - クイック Term 2- リファレンス If I search forクイックリファレンス (no spaces) I get no results. This expected. If I search for クイック リファレンス (space between ク リ) I get 1 result. This is bad. I am expecti

Re: Next Solr Release - 5.5.1 or 6.0 ?

2016-03-23 Thread Yonik Seeley
Kind of a unique situation for a dot-oh release, but from the Solr perspective, 6.0 should have *fewer* bugs than 5.5 (for those features in 5.5 at least)... we've been squashing a bunch of docValue related issues. -Yonik On Wed, Mar 23, 2016 at 5:19 AM, Alessandro Benedetti wrote: > Thanks Erick

Re: Re: Paging and cursorMark

2016-03-23 Thread Tom Evans
On Wed, Mar 23, 2016 at 12:21 PM, Vanlerberghe, Luc wrote: > I worked on something similar a couple of years ago, but didn’t continue work > on it in the end. > > I've included the text of my original mail. > If you're interested, I could try to find the sources I was working on at the > time >

Re: Creating new cluster with existing config in zookeeper

2016-03-23 Thread Robert Brown
So I setup a new solr server to point to my existing ZK configs. When going to the admin UI on this new server I can see the shards/replica's of the existing collection, and can even query it, even tho this new server has no cores on it itself. Is this all expected behaviour? Is there any pe

Re: Creating new cluster with existing config in zookeeper

2016-03-23 Thread Shawn Heisey
On 3/22/2016 11:16 AM, Robert Brown wrote: > Thanks Erick and Shawn, a "collection" is indeed what I meant. > > I was under the impression the entire Tree view in the admin GUI was > showing everything in ZK, including things like > "collections/name/state.json", not just the /configs directory. >

Re: Creating new cluster with existing config in zookeeper

2016-03-23 Thread Tom Evans
On Wed, Mar 23, 2016 at 3:43 PM, Robert Brown wrote: > So I setup a new solr server to point to my existing ZK configs. > > When going to the admin UI on this new server I can see the shards/replica's > of the existing collection, and can even query it, even tho this new server > has no cores on i

Re: Creating new cluster with existing config in zookeeper

2016-03-23 Thread Erick Erickson
> Is this all expected behaviour? Yes. As Since each Solr node has access to the entire state, an arbitrary Solr node can figure out where to forward a request for some collection it doesn't host. >Is there any performance gain with what I have at this precise stage? The >extra server certainly

Re: Creating new cluster with existing config in zookeeper

2016-03-23 Thread Robert Brown
Thanks all, I am no doubt confusing things myself - I (rather stupidly) have 5 completely separate clouds, with separate ZK trees - a bad design decision on day one when I thought each config needed a separate ZK tree. So it could all be simplified a bit, but that's my current view, which is

Re: Cant access new docs without restarting Solr (java.nio.file.NoSuchFileException)

2016-03-23 Thread Erick Erickson
That bug was fixed in 5.5, and you're running 5.5 so it's probably not that. I have no good idea why you're getting the file not found exception, be sure you gracefully kill Solr,"kill -9" is A Bad Thing As far as your doc appearing, you need to do a commit or wait for the autocommit to happen. D

Reload or Reload and Solr Restart

2016-03-23 Thread Matt Kuiper
Hi, I am preparing for a Production install. In this release we will be moving from an AutoSuggest feature based on the Suggestor component to one based on an Ngram approach. We will perform a re-index of the source data. [ After up

Re: Creating new cluster with existing config in zookeeper

2016-03-23 Thread Shawn Heisey
On 3/23/2016 9:43 AM, Robert Brown wrote: > When going to the admin UI on this new server I can see the > shards/replica's of the existing collection, and can even query it, > even tho this new server has no cores on it itself. > > Is this all expected behaviour? > Yes. There were some bugs earl

Re: Cant access new docs without restarting Solr (java.nio.file.NoSuchFileException)

2016-03-23 Thread Shawn Heisey
On 3/23/2016 10:09 AM, Erick Erickson wrote: > be sure you gracefully kill Solr,"kill -9" is A Bad Thing Unrelated to the original topic... but a bit of a problem for me. The default "wait until the hard kill" timeout in the Solr init/start script is five seconds. My dev install (with nearly 500

Re: Explain score is different from score

2016-03-23 Thread Ahmet Arslan
Hi Rajesh, This is truly a Lucene level bug. I attached a failing Lucene test case with the data you provided. Please see: https://issues.apache.org/jira/browse/SOLR-8884 and reproduce with: ant test -Dtestcase=TestExplain -Dtests.method=testRajeshData -Dtests.seed=FEABDC2CA354130E The ticke

RE: Explain score is different from score

2016-03-23 Thread Rick Sullivan
Thanks for proving that this bug exists Ahmet! I couldn't for the life of me find a reproducible case. -Rick > Date: Wed, 23 Mar 2016 18:31:56 + > From: iori...@yahoo.com > To: solr-user@lucene.apache.org; abenede...@apache.org; > r...@ricksullivan.n

SyntaxError - Block Join Parent Query

2016-03-23 Thread Charles Sanders
I'm getting a SyntaxError which I do not understand when I execute a block join parent query. I'm running Solr5.2.1, with 2 shards. The problem appears to be in that portion of the query that filters the child document. Any insight as to where I made the error is greatly appreciated. This quer

Re: SyntaxError - Block Join Parent Query

2016-03-23 Thread Mikhail Khludnev
On Wed, Mar 23, 2016 at 11:09 PM, Charles Sanders wrote: > I'm getting a SyntaxError which I do not understand when I execute a block > join parent query. I'm running Solr5.2.1, with 2 shards. The problem > appears to be in that portion of the query that filters the child document. > Any insight

Re: SyntaxError - Block Join Parent Query

2016-03-23 Thread Charles Sanders
Thanks for the quick reply. But I'm not sure I understand. Did I do something wrong?? /select?q=+blue%20+{!parent%20which=%22documentKind:TestParent%22%20v=$childq}&childq=portal_product%22red%20hat%22) 400 2 blue {!parent which="documentKind:TestParent" v=$childq} portal_pr

Re: SyntaxError - Block Join Parent Query

2016-03-23 Thread Mikhail Khludnev
On Thu, Mar 24, 2016 at 12:16 AM, Charles Sanders wrote: > Thanks for the quick reply. But I'm not sure I understand. Did I do > something wrong?? > Absolutely 'portal_product"red hat")' You omit a colon and opening bracket after a field name, don't you? > > > /select?q=+blue%20+{!parent%20whic

Indexing multiple pdf's and partial update of pdf

2016-03-23 Thread Jay Parashar
Hi, I have couple of questions regarding indexing files (say pdf). 1) Is there any way to index more than one file to one document with a unique id? One way I think is to do a “extractOnly” of all the documents and then index that extract separately. Is there an easier way? 2) If my

Re: Solr 5.5 Issue with CJK and mm being ignored when searching with white space.

2016-03-23 Thread Shawn Heisey
On 3/23/2016 8:21 AM, Tiffany Goguen wrote: > Is this a new bug? > > I am using esdimax and I have set mm=100% via defaultOperator="AND"/> This config was deprecated in 4.x. I actually thought support had been removed from 5.x already, but perhaps not. The equivalent in modern configs is the q.

Re: Solr 5.5.0: JVM args warning in console logfile.

2016-03-23 Thread Shawn Heisey
On 3/22/2016 10:25 AM, Bram Van Dam wrote: > On 22/03/16 15:16, Shawn Heisey wrote: >> This message is not coming from Solr. It's coming from Jetty. Solr >> uses Jetty, but uses it completely unchanged. > Ah you're right. Here's the offending code: > > https://github.com/eclipse/jetty.project/blo

Re: Fwd: Solr cloud setup with zookeeper in windows

2016-03-23 Thread Zheng Lin Edwin Yeo
I have used the NSSM method from the link mentioned by Shawn to set up zookeeper as a service. Just follow the same steps and point it to the zookeeper startup script, but leave the Arugment field empty. Regards, Edwin On 23 March 2016 at 22:02, Shawn Heisey wrote: > On 3/23/2016 6:30 AM, manoh

Re: Indexing multiple pdf's and partial update of pdf

2016-03-23 Thread Reth RM
Are you using apache tika parser to parse pdf files? 1) Solr support parent-child block join using which you can index more than one file data within document object(if that is what you are looking for) https://cwiki.apache.org/confluence/display/solr/Other+Parsers#OtherParsers-BlockJoinQueryParse

Re: Merge two Solr documents into One

2016-03-23 Thread Reth RM
As far as I know, there are no such ootb available utils but I can be wrong and lets wait for others thoughts as well. Other ways of dealing with this requirement is to write a custom update processor : https://cwiki.apache.org/confluence/display/solr/Update+Request+Processors On Wed, Mar 23, 2016

Re: Merge two Solr documents into One

2016-03-23 Thread Alexandre Rafalovitch
You might be able to apply XSLT spreadsheet on incoming XML document to merge them. But doing it outside of Solr is probably better. On 23 Mar 2016 11:13 pm, "solr2020" wrote: > Hi, > > I have 2-3 Solr documents but i would like to merge all these into one > document while indexing. Something lik

SolrCloud: published host/port

2016-03-23 Thread Hendrik Haddorp
Hi, is it possible to instruct Solr to publish a different host/port into ZooKeeper then it is actually running on? This is required if the Solr node is not directly reachable on its port from outside due to a NAT setup or when running Solr as a Docker container with a mapped port. For what its w