Re: Regarding google maps polyline to use IsWithin(POLYGON(())) in solr

2016-03-15 Thread Pradeep Chandra
Hi Sir, Let me give some clarification on IsWithin(POLYGON(())) query...It is not giving any result for beyond 213 points of polygon... Thanks M Pradeep Chandra -- View this message in context:

Re: Query behavior.

2016-03-15 Thread Modassar Ather
Jack as suggested I have created following jira issue. https://issues.apache.org/jira/browse/SOLR-8853 Thanks, Modassar On Tue, Mar 15, 2016 at 8:15 PM, Jack Krupansky wrote: > That was precisely the point of the need for a new Jira - to answer exactly > the

Re: from zookeper embedded to standalone

2016-03-15 Thread Rachid Bouacheria
Thank you very much Erick. You described almost for word what I thought about doing. I just wasn't sure about how "drinkable" a cocktail made out of embedded and the external zookeeper. I was worried I'd get a severe hangover :-) I will give it a try and give an update. Rachid. On Tue, Mar 15,

Re: Regarding google maps polyline to use IsWithin(POLYGON(())) in solr

2016-03-15 Thread David Smiley
Hi Pradeep, Are you seeing an error when it doesn't work? I believe a shape overlapping itself will cause an error from JTS. If you do see that, then you can ask Spatial4j (used by Lucene/Solr) to attempt to deal with it in a number of ways. See "validationRule":

Re: Understanding parsed queries.

2016-03-15 Thread Modassar Ather
The query parsing is not strict Boolean logic, here's a great writeup on the topic: https://lucidworks.com/blog/2011/12/28/why-not-and-or-and-not/ Thanks for pointing to the link. I have gone through this post. Following is mentioned in the post. Practically speaking this means that NOT takes

Re: Solr won't start -- java.lang.ClassNotFoundException: org.eclipse.jetty.xml.XmlConfiguration

2016-03-15 Thread Shawn Heisey
On 3/15/2016 2:56 PM, Paul Hoffman wrote: >> It sure looks like I started Solr from my blacklight project dir. >> >> Any ideas? Thanks, >> You may need to get some help from the blacklight project. I've got absolutely no idea what sort of integration they may have done with Solr, what they may

Re: Solr Wiki - Request to add to contributors group

2016-03-15 Thread Shawn Heisey
On 3/15/2016 5:06 PM, Alessandro Benedetti wrote: > Can I ask you what are the steps to contribute to the solr wiki ? > Accessing the confluence instance : > https://cwiki.apache.org/confluence/display/solr/Apache+Solr+Reference+Guide I can only grant you edit permission on the old community

Re: from zookeper embedded to standalone

2016-03-15 Thread Upayavira
You need to be careful adding new nodes to Zookeeper as you change the number of nodes required for quorum. If you then remove nodes afterwards, how will the cluster know whether they were intentionally removed, rather than being simply down? One thing I've done recently, which seems to have

Re: Solr Wiki - Request to add to contributors group

2016-03-15 Thread Alessandro Benedetti
Thanks Shawn ! Can I ask you what are the steps to contribute to the solr wiki ? Accessing the confluence instance : https://cwiki.apache.org/confluence/display/solr/Apache+Solr+Reference+Guide I still can not create pages, is still something I need to do, to start ? Cheers On Tue, Mar 15, 2016

I am having trouble connecting the Nutch 1.10 web crawler with Solr 5.3.0.

2016-03-15 Thread John Mitchell
Hi, I am having trouble connecting the Nutch 1.10 web crawler with Solr 5.3.0. I have Solr correctly setup via "bin/solr Start -c cloud -noprompt" and I have even crawled data with Norconex web crawler and been able to successfully commit this crawled data into Solr but I want to see if I can

RE: Solr debug 'explain' values differ from the Solr score

2016-03-15 Thread Chris Hostetter
Sounds like a mismatch in the way the BooleanQuery explanation generation code is handling situations where there is/isn't a coord factor involved in computing the score itself. (the bug is almost certainly in the "explain" code, since that is less rigorously tested in most cases, and the

Re: from zookeper embedded to standalone

2016-03-15 Thread Erick Erickson
Hmmm, I don't think anyone's really documented this as the supposition is that one would only run embedded for sandboxes and set up an external ensemble "for real". So, with the caveat that I haven't personally tried this, I'd add external zookeepers as part of an ensemble that contained my

Re: Inconsistent Shard Usage for Distributed Queries

2016-03-15 Thread Erick Erickson
If you're talking about the core admin API, it is entirely local basis, that code is completely unaware of anything having to do with collections. So it works but the ability to forte one core then have questions is pretty high Best, Erick On Tue, Mar 15, 2016 at 12:05 PM, Nick Vasilyev

Re: Solr won't start -- java.lang.ClassNotFoundException: org.eclipse.jetty.xml.XmlConfiguration

2016-03-15 Thread Paul Hoffman
On Tue, Mar 15, 2016 at 01:46:32PM -0600, Shawn Heisey wrote: > On 3/15/2016 1:34 PM, Paul Hoffman wrote: > > I've been running Solr successfully until this morning, when I stopped > > it to pick up a change in my schema, and now it won't start up again. > > I've whittled the problem down to

RE: Solr debug 'explain' values differ from the Solr score

2016-03-15 Thread Rick Sullivan
After some digging and experimentation, here are some more details on the issue I'm seeing. 1. The adjusted documents' scores are always exactly (debug_score/N), where N is the number of OR items in the query. For example, `=firstName:gabby~ firstName_phonetic:gabby

Re: Solr won't start -- java.lang.ClassNotFoundException: org.eclipse.jetty.xml.XmlConfiguration

2016-03-15 Thread Shawn Heisey
On 3/15/2016 1:34 PM, Paul Hoffman wrote: > I've been running Solr successfully until this morning, when I stopped > it to pick up a change in my schema, and now it won't start up again. > I've whittled the problem down to this: > >

Solr won't start -- java.lang.ClassNotFoundException: org.eclipse.jetty.xml.XmlConfiguration

2016-03-15 Thread Paul Hoffman
I've been running Solr successfully until this morning, when I stopped it to pick up a change in my schema, and now it won't start up again. I've whittled the problem down to this: # cd /home/paul/proj/blacklight/jetty #

Re: Inconsistent Shard Usage for Distributed Queries

2016-03-15 Thread Nick Vasilyev
I had another collection I was running into this issue with, so I decided to play around with it. This one had active indexing going on, so I was able to confirm how the counts get updated. Basically, it looks like clicking the reload button will only send a commit to that one core, it will not be

Regarding google maps polyline to use IsWithin(POLYGON(())) in solr

2016-03-15 Thread Pradeep Chandra
Hi Sir, I want to draw a polyline along the route given by google maps (from one place to another place). I applied the logic of calculating parallel lines between the two markers on the route on both sides of the route. Because of the non-linear nature of the route. In some cases the polyline

Get Recently Added/Updated Documents

2016-03-15 Thread Lyuba Romanchuk
Hi, I have the following scenario: - there are 2 machines running solr 4.8.1 - there are different time zones on both machines - the clock is not synchronized on both machines Autorefresh query running each X-2 seconds should return documents for last X seconds and the performance

Re: Solr Wiki - Request to add to contributors group

2016-03-15 Thread Shawn Heisey
On 3/15/2016 11:59 AM, Alessandro Benedetti wrote: > I need to document better the early contributed Classification Lucene/Solr > plugins . > > *Account* : > Full Name: Alessandro Benedetti > Email : benedetti.ale...@gmail.com Done.

Solr Wiki - Request to add to contributors group

2016-03-15 Thread Alessandro Benedetti
Hi guys, I need to document better the early contributed Classification Lucene/Solr plugins . *Account* : Full Name: Alessandro Benedetti Email : benedetti.ale...@gmail.com *References* : https://issues.apache.org/jira/browse/SOLR-7739 ,

from zookeper embedded to standalone

2016-03-15 Thread Rachid Bouacheria
Hi, I am running solr 4.x on 3 servers with zookeper embedded in prod. Each servers has 1 leader and 2 replicas. I want to switch zookeper from embedded to standalone. I want to know if the steps are documented anywhere? I could not find them. I am worried my index will get messed up if in

Re: Inconsistent Shard Usage for Distributed Queries

2016-03-15 Thread Nick Vasilyev
Yea, the code sends actual commits, but I hate typing so usually just click the reload button unless it's production. On Mar 15, 2016 12:22 PM, "Erick Erickson" wrote: > bq: Not sure what the issue was, in previous versions of Solr, clicking > reload > would send a

Re: Inconsistent Shard Usage for Distributed Queries

2016-03-15 Thread Erick Erickson
bq: Not sure what the issue was, in previous versions of Solr, clicking reload would send a commit to all replicas, right Reloading doesn't really have anything to do with commits. Reload would certainly cause a new searcher to be opened and thus would pick up any changes that hat been

SolrCloud does not recover after ZooKeeper ensemble loses (and then regains) a quorum

2016-03-15 Thread Kelly, Frank
Just wondering if my observation of SolrCloud behavior after ZooKeeper loses a quorum is normal or to-be-expected Version of Solr 5.3.1 Version of ZooKeeper: 3.4.7 Using SolrCloud with external ZooKeeper Deployed on AWS Our Zookeeper ensemble consists of three nodes with the same config e.g. $

Re: Inconsistent Shard Usage for Distributed Queries

2016-03-15 Thread Nick Vasilyev
I reloaded the collection and ran distrib=false query for several shards on both replicas. The counts matched exactly. I then reloaded the second replica (through the UI) and now it seems like it is working fine, I am getting consistent matches. Not sure what the issue was, in previous versions

Re: New to Solr 5.5

2016-03-15 Thread Bhanu Prasad
So I was able to create the core using the cli not with root but with 'solr' user access. I sudo as solr in the box and ran the command to create the core [solr@solr bin]$ ./solr create -c demo Copying configuration to new core instance directory: /var/solr/data/demo Creating new core 'demo'

Re: accessing data in hdfs by solr in standalone mode

2016-03-15 Thread Erick Erickson
This should just be using the HDFS directory in solrconfig.xml just like SolrCloud. There's nothing that I know of that would prevent that. Best, Erick On Mon, Mar 14, 2016 at 10:14 PM, vidya wrote: > Hi >can solr access the data from HDFS in standalone mode? If so,

Re: Inconsistent Shard Usage for Distributed Queries

2016-03-15 Thread Erick Erickson
This is very strange. What are the results you get when you compare replicas in th e_same_ shard? It doesn't really mean anything when you say "shard1 has X docs, shard2 has Y docs". The only way you should be getting different results from the match all docs query is if different replicas within

Re: Understanding parsed queries.

2016-03-15 Thread Erick Erickson
The query parsing is not strict Boolean logic, here's a great writeup on the topic: https://lucidworks.com/blog/2011/12/28/why-not-and-or-and-not/ The outer "+" is simply the entire clause (of which there is only one) must be present, i.e. it's the whole query. My guess as to why the counts are

Inconsistent Shard Usage for Distributed Queries

2016-03-15 Thread Nick Vasilyev
Hello, I have a brand new installation of Solr 5.4.1 and I am running into a strange problem with one of my collections. Collection *products* has 5 shards and replication factor of two. Both replicas are up and show green status on the Cloud page in the UI. When I run a default search on the

Re: New to Solr 5.5

2016-03-15 Thread Erick Erickson
Creating a core in stand-alone mode _also_ requires that the config files are findable, in this case on disk rather than on Zookeeper (sorry for the misdirection). So you need to create a directory, usually under solr_home that has the conf directory in it. That is the "instanceDir" that is one

Re: using data from external service in Solr: value source or auxiliary core?

2016-03-15 Thread Jitka
Charlie, thank you for replying and for the link to the blog about XJoin. I am still concerned about performance and caching. Our environment is distributed and the external service would not be running on localhost. In our still experimental set-up, at least, the call to the service is much too

Re: Solr and units

2016-03-15 Thread Shane McCarthy
Thank you Binoy. I like simple and this should work well. On Tue, Mar 15, 2016 at 11:42 AM, Binoy Dalal wrote: > The simplest thing would be to index a separate field for the unit for each > distinct value you're storing. > > On Tue, Mar 15, 2016 at 7:55 PM Shane

Solr switch zookeeper from memory to standalone

2016-03-15 Thread Rachid Bouacheria
Hi, I am running solr 4.x on 3 servers with zookeper embedded in prod. Each servers has 1 leader and 2 replicas. I want to switch zookeper from embedded to standalone. I want to know if the steps are documented anywhere? I could not find them. I am worried my index will get messed up if in

Re: Query behavior.

2016-03-15 Thread Jack Krupansky
That was precisely the point of the need for a new Jira - to answer exactly the questions that you have posed - and that I had proposed as well. Until some of the senior committers comment on that Jira you won't have answers. They've painted themselves into a corner and now I am curious how they

need a help

2016-03-15 Thread Adel Mohamed Khalifa
Any help for my problem Please Hello everybody, I build a website (Java EE ) and want to search in some json files so I installed the solr server in an Ubuntu server and create a new core then indexing json files and the web searched correctly when I moved my code from windows to the server

Re: Solr and units

2016-03-15 Thread Binoy Dalal
The simplest thing would be to index a separate field for the unit for each distinct value you're storing. On Tue, Mar 15, 2016 at 7:55 PM Shane McCarthy wrote: > I am curious if it is possible to have a unit associated with a number in > Solr. I have a field currently that

Re: New to Solr 5.5

2016-03-15 Thread Bhanu Prasad
I went through the solr-ref-guide. I got a brief idea on how it works, But I can't help to think as to why I am unable to create a core through web UI ? Does it have any dependency on SolrCloud ? If I am planning to run an standalone instance do I need to create core's only through the command

Solr and units

2016-03-15 Thread Shane McCarthy
I am curious if it is possible to have a unit associated with a number in Solr. I have a field currently that has a value of x where x is an integer or float, can I associate a unit with that? So I know the value is x gram or x Watt. Thank you, Shane

Re: Re: Avoid Duplication of record in searching

2016-03-15 Thread Jack Krupansky
It's called "live indexing" and is in DSE 4.7: http://docs.datastax.com/en/datastax_enterprise/4.7/datastax_enterprise/srch/srchConfIncrIndexThruPut.html -- Jack Krupansky On Tue, Mar 15, 2016 at 4:41 AM, wrote: > Hi Jack, > I am using DSE Search in Datastax

Re: solr & docker in production

2016-03-15 Thread Jay Potharaju
I have not yet tried in production yet, will post my findings. Thanks Jay > On Mar 14, 2016, at 11:42 PM, Georg Sorst wrote: > > Hi, > > sounds great! > > Did you run any benchmarks? What's the IO penalty? > > Best, > Georg > > Jay Potharaju

Re: Importing data from SQL server to Solr (Event or realtime)

2016-03-15 Thread Shawn Heisey
On 3/15/2016 2:12 AM, Pascal Ruppert wrote: > Hi,I'd like to know how the DIH handle to update Solr. Does it update after a > specific amount of time or is there some trigger that activates the DIH every > time something is commited to the RDBMS. > It would be the best, if there is something

Re: indexing pdf files using post tool

2016-03-15 Thread roshan agarwal
Yes vidya, you just have to use copy field Roshan On Tue, Mar 15, 2016 at 3:07 PM, vidya wrote: > Hi > I got data into my content field. But i wanted to have differnt fields to > be > allocated for data in my file.How can I achieve this ? > > > > -- > View this message

Re: indexing pdf files using post tool

2016-03-15 Thread Binoy Dalal
You should use copy fields. https://cwiki.apache.org/confluence/display/solr/Copying+Fields On Tue, 15 Mar 2016, 15:07 vidya, wrote: > Hi > I got data into my content field. But i wanted to have differnt fields to > be > allocated for data in my file.How can I achieve

RE: how to force rescan of core.properties file in solr

2016-03-15 Thread Gian Maria Ricci - aka Alkampfer
Actually a simple solution I've found is unloading the core, and recreating the core passing parameters to the action=CREATE api call. Gian Maria. -Original Message- From: Shawn Heisey [mailto:apa...@elyograg.org] Sent: giovedì 10 marzo 2016 15:45 To: solr-user@lucene.apache.org

Re: indexing pdf files using post tool

2016-03-15 Thread vidya
Hi I got data into my content field. But i wanted to have differnt fields to be allocated for data in my file.How can I achieve this ? -- View this message in context: http://lucene.472066.n3.nabble.com/indexing-pdf-files-using-post-tool-tp4263811p4263840.html Sent from the Solr - User mailing

Re: Issue with Auto Suggester Component

2016-03-15 Thread Alessandro Benedetti
Hi Manohar, I have not clear what should be your ideal ranking of suggestions. "I want prefix search of entire keyword to be of high preference (#1 to #5 in the below example) followed by prefix part of any other string (the last 2 in the below example). I am not bothered about ordering within

RE: Re: Avoid Duplication of record in searching

2016-03-15 Thread rajeshkumar . s
Hi Jack, I am using DSE Search in Datastax DSE 4.7.3, Cassandra version - Cassandra 2.1.8.689 what is the Recent version of DSE which have - DSE Search also has a real-time search feature that does not require commit --- Thanks and regards, Rajesh Kumar

Issue with Auto Suggester Component

2016-03-15 Thread Manohar Sripada
Consider the below company names indexed. I want the below auto suggestions to be listed when searched for "abc". Basically, I want prefix search of entire keyword to be of high preference (#1 to #5 in the below example) followed by prefix part of any other string (the last 2 in the below

Importing data from SQL server to Solr (Event or realtime)

2016-03-15 Thread Pascal Ruppert
Hi,I'd like to know how the DIH handle to update Solr. Does it update after a specific amount of time or is there some trigger that activates the DIH every time something is commited to the RDBMS. It would be the best, if there is something like "realtime" synchronization between solr and our

Re: Need a group custom function(fieldcollapsing)

2016-03-15 Thread Binoy Dalal
What you need is a search component. I've written an example on how to use one. Check https://github.com/lttazz99/SolrPluginsExamples On Tue, 15 Mar 2016, 13:37 Abhishek Mishra, wrote: > Any update on this??? > > On Mon, Mar 14, 2016 at 4:06 PM, Abhishek Mishra

Re: Need a group custom function(fieldcollapsing)

2016-03-15 Thread Abhishek Mishra
Any update on this??? On Mon, Mar 14, 2016 at 4:06 PM, Abhishek Mishra wrote: > Hi all > We are running on solr5.2.1 . Now the requirement come that we need the > data on basis on some algo. The algorithm part we need to put on result > obtained from query. So best we can

Re: return and highlight the most relevant child with BlockJoinQuery

2016-03-15 Thread michael solomon
Thanks Mikhail, Regarding the former, :) Do you can elaborate? I didn't understand the context of the JIRA issue that you mentioned(SOLR-8202). Regarding highlighting, I think it's possible because: https://issues.apache.org/jira/browse/LUCENE-5929 BUT HOW? On Mon, Mar 14, 2016 at 7:28 PM,

Understanding parsed queries.

2016-03-15 Thread Modassar Ather
Hi, Kindly help me understand the parsed queries of following three queries. How these parsed queries can be interpreted for boolean logic. Please ignore the boost part. *Query : *fl:term1 OR fl:term2 AND fl:term3 *"parsedquery_toString" : *"boost(+(fl:term1 +fl:term2 +fl:term3),int(doc_wt))",

Re: indexing pdf files using post tool

2016-03-15 Thread Binoy Dalal
Do you have a "content" field defined in your schema? Is it stored? By default, the content from the docs uploaded through post should be mapped to a field called "content". On Tue, 15 Mar 2016, 12:47 vidya, wrote: > Hi > I am trying to index a pdf file by using post

indexing pdf files using post tool

2016-03-15 Thread vidya
Hi I am trying to index a pdf file by using post tool in my linux system,When i give the command bin/post -c core2 -p 8984 /root/solr/My_CV.pdf it is showing the search results like "response": { "numFound": 1, "start": 0, "docs": [ { "id": "/root/solr-5.5.0/My_CV.pdf",

Re: solr & docker in production

2016-03-15 Thread Georg Sorst
Hi, sounds great! Did you run any benchmarks? What's the IO penalty? Best, Georg Jay Potharaju schrieb am Di., 15. Mär. 2016 04:25: > Upayavira, > Thanks for the feedback. I plan to deploy solr on its own instance rather > than on instance running multiple