Re: Calculating distances in Solr using longitude latitude

2010-09-22 Thread Thomas Joiner
Re: your problems with JIRA I have no idea what caused it/what resolved it but I have had the same problem as you. Assuming, that is, that the problem that is occurring is when you click on a link to an issue, it instead takes you to https://issues.apache.org/jira/secure/Dashboard.jspa Or perhap

Re: Searching solr with a two word query

2010-09-21 Thread Thomas Joiner
I think what you want is a query like all_text:(opening excellent) AND presentation_id:294 AND type:blob which will require one of the all_text clauses to be true. On Tue, Sep 21, 2010 at 12:20 PM, wrote: > Alright, this is making much more sense now, but there are still some > problems. Remov

Re: Solr for statistical data

2010-09-20 Thread Thomas Joiner
I don't know if this thread might help with your problems any, but it might give some pointers: http://lucene.472066.n3.nabble.com/Tuning-Solr-caches-with-high-commit-rates-NRT-td1461275.html --Thoma

Re: Search the mailinglist?

2010-09-17 Thread Thomas Joiner
Also there is http://lucene.472066.n3.nabble.com/Solr-User-f472068.html if you prefer a forum format. On Fri, Sep 17, 2010 at 9:15 AM, Markus Jelsma wrote: > http://www.lucidimagination.com/search/?q= > > > On Friday 17 September 2010 16:10:23 alexander sulz wrote: > > Im sry to bother you all

Re: SOLR interface with PHP using javabin?

2010-09-16 Thread Thomas Joiner
If you wish to interface to Solr from PHP, and decide to go with Yonik's suggestion to use JSON, I would suggest using http://code.google.com/p/solr-php-client/ It has served my needs for the most part. On Thu, Sep 16, 2010 at 1:33 PM, Yonik Seeley wrote: > On Thu, Sep 16, 2010 at 2:30 PM, onlin

Re: Null Pointer Exception while indexing

2010-09-16 Thread Thomas Joiner
My guess would be that Jetty has some configuration somewhere that is telling it to use GCJ. Is it possible to completely remove GCJ from the system? Another possibility would be to uninstall Jetty, and then reinstall it, and hope that on the reinstall it would pick up on the OpenJDK. What distr

Re: Problems indexing spatial field - undefined subField

2010-09-01 Thread Thomas Joiner
While you have already solved your problem, my guess as to why it didn't work originally is that you probably didn't have a What subFieldType does is it registers a dynamicField for you. subFieldSuffix requires that you have already defined that dynamicField. On Tue, Aug 31, 2010 at 8:07 PM, Si

Re: how to deal with virtual collection in solr?

2010-08-26 Thread Thomas Joiner
I don't know about the shards, etc. However I recently encountered that exception while indexing pdfs as well. The way that I resolved it was to upgrade to a nightly build of Solr. (You can find them https://hudson.apache.org/hudson/view/Solr/job/Solr-trunk/). The problem is that the version of

Re: Having problems with the java api in 1.4.0

2010-08-24 Thread Thomas Joiner
Is there any reason you aren't using http://wiki.apache.org/solr/Solrj to interact with Solr? On Tue, Aug 24, 2010 at 11:12 AM, Liz Sommers wrote: > I am very new to the solr/lucene world. I am using solr 1.4.0 and cannot > move to 1.4.1. > > I have to index about 50 fields for each document, t

proper query handling for multiValued queries that are also polyFields?

2010-08-20 Thread Thomas Joiner
I am wondering...is there currently any way for queries to properly handle multiValued polyFields? For instance, if you have a And if you added two values to that field such as "1,2" and "3,4", that would match both "1,4", and "3,2" as well as "1,2" and "3,4". So I'm wondering if that is somet

Re: how to create a custom type in Solr

2010-08-16 Thread Thomas Joiner
ad of posting a zip file to the mailing list, which in most > places would be against list etiquette. > > Mark > > > On 16 Aug 2010, at 3:01 pm, Thomas Joiner wrote: > > Sorry to bother you, but since I haven't had a reply in a week, I figured >> I'd try asking aga

Re: how to create a custom type in Solr

2010-08-16 Thread Thomas Joiner
ld love to see your code. Regards, Thomas On Mon, Aug 9, 2010 at 8:50 AM, Thomas Joiner wrote: > I'd love to see your code on this, however what I've really been wondering > is the following: When did AbstractSubTypeFieldType get added? It isn't in > 1.4.1 (as far as I c

Re: how to create a custom type in Solr

2010-08-09 Thread Thomas Joiner
I'd love to see your code on this, however what I've really been wondering is the following: When did AbstractSubTypeFieldType get added? It isn't in 1.4.1 (as far as I can tell that's the latest one that is bundled on their site). So, do I just need to grab it from subversion, and build it? And

Re: how to create a custom type in Solr

2010-08-06 Thread Thomas Joiner
Document: {title: My document, from: 8000, to: 9000} > Query: q=title:"My" AND (from:[* TO 8500] AND to:[8500 TO *]) > > -- > Jan Høydahl, search solution architect > Cominvent AS - www.cominvent.com > Training in Europe - www.solrtraining.com > > On 6. aug. 2010,

how to create a custom type in Solr

2010-08-06 Thread Thomas Joiner
I need to have a field that supports ranges...for instance, you specify a range of 8000 to 9000 and if you search for 8500, it will hit. However, when googling, I really couldn't find any resources on how to create your own field type in Solr. But from what I was able to find, the AbstractSubType