Re: Spatial search question

2013-04-12 Thread David Smiley (@MITRE.org)
Yup, Lance is right. But it won't always work if you have multi-valued data since it wouldn't match a document that had a point both in the ring and the hole. Another approach that internally works faster and addresses the multi-value case is to implement a custom Spatial4j Shape. In this case,

Re: Support old syntax including geodist

2013-04-12 Thread David Smiley (@MITRE.org)
Hi Bill, FYI see https://issues.apache.org/jira/browse/SOLR-4242 Billnbell wrote > Since Spatial Lucene 4 does not seem to support geodist(), even sending > d,pt,fq={!geofilt}does not help me = I need to sort. So I end up having to > set up the sortsq. Any other ideas on how to support the old s

Re: Easier way to do this?

2013-04-12 Thread David Smiley (@MITRE.org)
Bill, I responded to the issue you created about this: https://issues.apache.org/jira/browse/SOLR-4704 In summary, use {!geofilt}. ~ David Billnbell wrote > I would love for the SOLR spatial 4 to support pt so that I can run # of > results around a central point easily like in 3.6. How can I

Re: Spatial search question

2013-04-12 Thread Lance Norskog
Outer distance AND NOT inner distance? On 04/12/2013 09:02 AM, kfdroid wrote: We currently do a radius search from a given Lat/Long point and it works great. I have a new requirement to do a search on a larger radius from the same point, but not include the smaller radius. Kind of a donut (toru

RE: CSS appearing in Solr 4.2.1 logs

2013-04-12 Thread Vaillancourt, Tim
Thanks Chris! Somehow I managed to miss that ticket searching, thanks for looking for me. I will confirm the version I have and I am glad to hear this was reported and resolved! Cheers, Tim -Original Message- From: Chris Hostetter [mailto:hossman_luc...@fucit.org] Sent: Friday, April

Re: CSS appearing in Solr 4.2.1 logs

2013-04-12 Thread Chris Hostetter
: This sounds crazy, but does anyone see strange CSS/HTML in their Solr 4.2.x : logs? are you sure you're running 4.2.1 and not 4.2? https://issues.apache.org/jira/browse/SOLR-4573 -Hoss

Re: Which tokenizer or analizer should use and field type

2013-04-12 Thread Jack Krupansky
Unfortunately, Solr doesn't have a query parser that would give the meaning you want to: project assistant,manager For now, you would need to write that query as: (project AND assistant) OR manager Or maybe as: "project assistant"~5 OR manager That would require project and assistant to occ

Re: how to migrate solr 1.4 index to solr 4.2 index

2013-04-12 Thread gpssolr2020
Hi , have you re-indexed again or moved 1.4 index to 4.2?? Thanks. -- View this message in context: http://lucene.472066.n3.nabble.com/how-to-migrate-solr-1-4-index-to-solr-4-2-index-tp4055531p4055686.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Need hook to know when replication backup is actually completed.

2013-04-12 Thread Nate Fox
Tim, thank you for this! I had been looking for this a while back (even posted something on serverfault) and never got a decent answer. This is exactly what I was looking for. -- Nate Fox Sr Systems Engineer o: 310.658.5775 m: 714.248.5350 Follow us @NEOGOV and on Fa

Re: dataimporter.last_index_time SolrCloud

2013-04-12 Thread William Bell
Same issue here. Also in the file there is multiple last index times for each entity and we cannot reference the individual anymore. DIH.entity1.last_index_time does not pass through to the query anymore. On Friday, April 12, 2013, jimtronic wrote: > My data-config files use the dataimporter.las

dataimporter.last_index_time SolrCloud

2013-04-12 Thread jimtronic
My data-config files use the dataimporter.last_index_time variable, but it seems to have stopped working when I upgraded to 4.2. In previous 4.x versions, I saw that it was being written to zookeeper, but now there's nothing there. Did anything change? Or should I be doing something differently?

CSS appearing in Solr 4.2.1 logs

2013-04-12 Thread Tim Vaillancourt
Hey guys, This sounds crazy, but does anyone see strange CSS/HTML in their Solr 4.2.x logs? Often I am finding entire CSS documents (likely from Solr's Admin) in my jetty's stderrout log. Example: "2013-04-12 00:23:20.363:WARN:oejh.HttpGenerator:Ignoring extra content /** * @license RequireJS

Re: Solr 4.2.1 SSLInitializationException

2013-04-12 Thread Chris Hostetter
: Thanks for your response.  As I mentioned in my email, I would prefer : the application to not have access to the keystore. Do you know if there I'm confused ... it seems that you (or GlassFish) has created a Catch-22... You say you don't want the application to have access to the keystore,

Re: Need hook to know when replication backup is actually completed.

2013-04-12 Thread Timothy Potter
Update to this ... did some code scanning and it looks like the backup status is available via the details command, e.g. Fri Apr 12 17:53:17 UTC 2013 120 success Fri Apr 12 17:58:22 UTC 2013 So with a little polling of the details command from my backup script and I'm good to go. If any

Configure compositekey

2013-04-12 Thread gpssolr2020
Hi, i want to explore the hash document routing available in Solr 4.1. So please share the configuration for generating composite key. Thanks. -- View this message in context: http://lucene.472066.n3.nabble.com/Configure-compositekey-tp4055645.html Sent from the Solr - User mailing list arc

Re: Downloaded Solr 4.2.1 Source: Build Failing

2013-04-12 Thread Chris Hostetter
: /Users/umeshprasad/Downloads/solr-4.2.1/solr/core/src/java/org/apache/solr/handler/c : *omponent/QueryComponent.java:765: cannot find symbol : [javac] symbol : class ShardFieldSortedHitQueue : [javac] location: class org.apache.solr.handler.component.QueryComponent : [javac]

Re: SolrCloud vs Solr master-slave replication

2013-04-12 Thread Shawn Heisey
On 4/12/2013 6:45 AM, Victor Ruiz wrote: As you can read, at the end it was due to a fail in the Solr master-slave replication, and now I don't know if we should think about migrating to SolrCloud, since Solr master-slave replications seems not to fit to our requirements: * index size: ~20 mill

Re: tokenizer of solr

2013-04-12 Thread Mingfeng Yang
Jack, Thanks so much for this info. It's awesome. Ming On Thu, Apr 11, 2013 at 7:32 PM, Jack Krupansky wrote: > In that case, use the types="wdfftypes.txt" attribute of WDF and map "@" > and "_" to ALPHA as shown in: > http://wiki.apache.org/solr/**AnalyzersTokenizersTokenFilter**s#solr.** >

Spatial search question

2013-04-12 Thread kfdroid
We currently do a radius search from a given Lat/Long point and it works great. I have a new requirement to do a search on a larger radius from the same point, but not include the smaller radius. Kind of a donut (torus) shaped search. How would I do this (Solr 4)? Search where radius is between

Which tokenizer or analizer should use and field type

2013-04-12 Thread anurag.jain
my schema file is : values are like, title: "Assistant Coach/ Junior Assistant" body: " Oil India Ltd. invites applications for the post of Sr Me

Need hook to know when replication backup is actually completed.

2013-04-12 Thread Timothy Potter
Hi, I'd like to use the backup command to create a backup of each shard leader's index periodically. This is for disaster recovery in case our data center goes offline. We use SolrCloud leader/replica for day-to-day fault-tolerance and it works great. The backup command (http://master_host:port/

Downloaded Solr 4.2.1 Source: Build Failing

2013-04-12 Thread Umesh Prasad
common.compile-core: [javac] Compiling 337 source files to /Users/umeshprasad/Downloads/solr-4.2.1/solr/build/solr-core/classes/java [javac] /Users/umeshprasad/Downloads/solr-4.2.1/solr/core/src/java/org/apache/solr/handler/c *omponent/QueryComponent.java:765: cannot find symbol [javac]

Re: how to migrate solr 1.4 index to solr 4.2 index

2013-04-12 Thread Montu v Boda
hi thanks it work's for us Thanks & Regards Montu v Boda -- View this message in context: http://lucene.472066.n3.nabble.com/how-to-migrate-solr-1-4-index-to-solr-4-2-index-tp4055531p409.html Sent from the Solr - User mailing list archive at Nabble.com.

updateLog in Solr 4.2

2013-04-12 Thread vicky desai
If i disable update log in solr 4.2 then i get the following exception SEVERE: :java.lang.NullPointerException at org.apache.solr.cloud.ShardLeaderElectionContext.runLeaderProcess(ElectionContext.java:190) at org.apache.solr.cloud.LeaderElector.runIamLeaderProcess(LeaderElector.java

Re: solr spell correction help

2013-04-12 Thread Jack Krupansky
"blandars its not giving correction as blender" They have an edit distance of 3. Direct Spell is limited to a maximum ED of 2. -- Jack Krupansky -Original Message- From: Rohan Thakur Sent: Friday, April 12, 2013 8:45 AM To: solr-user@lucene.apache.org Subject: solr spell correction

Re: how to migrate solr 1.4 index to solr 4.2 index

2013-04-12 Thread Upayavira
Try optimising your index in 3.5 before migrating to 4.2, as this should upgrade all segments to the 3.x format. Note however, you are likely to find issues using an index from 1.4 in a 4.x system. You will have to maintain the old field definitions using the old components, which will likely rend

solr spell correction help

2013-04-12 Thread Rohan Thakur
hi all I have configured solr direct spell correction on spell field most of the words solr is correcting and giving suggestions but on some words like mentioned below is giving absurd results: 1) blender(indexed) 2) kettle(indexed) 3) electric(indexed) problems: 1) when I search for blandar its

SolrCloud vs Solr master-slave replication

2013-04-12 Thread Victor Ruiz
Hi, I've just posted this week an issue today with our Solr index: http://lucene.472066.n3.nabble.com/corrupted-index-in-slave-td4054769.html, Today, that error started to happen constantly for almost every request, and I created a JIRA issue becaue I thought it was a bug https://issues.apache.or

Re: XInclude in data-config.xml

2013-04-12 Thread Sujatha Arun
Hi Andre, In 3.6.1 version when we used the entities in schema.xml for language analyzers ,it gave errors on server restart and core would not load . Regards, Sujatha 2013/4/12 Andre Bois-Crettez > On 04/12/2013 09:31 AM, stockii wrote: > >> hello. >> >> is it possible to include some entiti

Re: XInclude in data-config.xml

2013-04-12 Thread Andre Bois-Crettez
On 04/12/2013 09:31 AM, stockii wrote: hello. is it possible to include some entities with XInclude in my data-config.xml? We first struggled with XInclude, and then switched to use custom entities, which worked much better for our needs (reusing common parts in several SearchHandlers). ex. i

Re: spell suggestions help

2013-04-12 Thread Jack Krupansky
Be sure to use the Solr Admin UI Analysis page to verify what is happening at each stage of analysis. For BOTH "index" and "query". You only showed us your "query" analyzer... show us the "index" analyzer as well. Did you make sure to delete the index data and completely reindex after changi

Re: XInclude in data-config.xml

2013-04-12 Thread Jack Krupansky
Is your data-config.xml file located in your Solr "conf" directory? You have "solr/" at the front of your path, so is the included file really in "conf/solr"? Otherwise, this should work. Make sure you only have a single XML element in the included file. -- Jack Krupansky -Original Mess

how to migrate solr 1.4 index to solr 4.2 index

2013-04-12 Thread Montu v Boda
Hi any body can help on my below question please. how to migrate solr 1.4 index to solr 4.2 index? I have do the following but not work completely. i have migrate 1.4 index to 3.5 index and it's done successfully. but now when i try to migrate 3.5 index to 4.2 index then it is not migrate succ

Re: XInclude in data-config.xml

2013-04-12 Thread Alexandre Rafalovitch
Are you sure your original problem is not fixable with resolvable properties and variable substitutions ${varname}? Because Solr has good support for that. Otherwise, check that you have the right relative file path. I am not sure what the XML processor think it is. Use truss/strace on Unix/Mac an

RE: SolrCloud leader to replica

2013-04-12 Thread Zhang, Lisheng
Hi Otis and Timothy, Thanks very much for helps, sure I will test to make sure. What I mentioned before is a mere possibility, likely you are correct: the small delay may not matter in reality (yes we do use the same way to do pagination and no isse ever happened even once). Surely solr is enormo

Re: Slow qTime for distributed search

2013-04-12 Thread Furkan KAMACI
Manuel Le Normand, I am sorry but I want to learn something. You said you have 40 dedicated servers. What is your total document count, total document size, and total shard size? 2013/4/11 Manuel Le Normand > Hi, > We have different working hours, sorry for the reply delay. Your assumed > number

XInclude in data-config.xml

2013-04-12 Thread stockii
hello. is it possible to include some entities with XInclude in my data-config.xml? i tried with this line: http://www.w3.org/2001/XInclude"; /> in my "entity.xml" is something like: some ideas, why does not work? this blog sounds good for me =( http://www.raspberry.nl/2010/10/30/solr-xml-c