How to make SOLR display empty value attributes also

2010-04-11 Thread bbarani
Hi, I have some dynamic fields something as key value pair in my SOLR data config like sometimes I get the value for any particular propertyname as blank from my DB, in that case I would like to have SOLR return null value for that particular property name.. Currently if the value is null it

Re: Healthcheck. Too many open files

2010-04-11 Thread Blargy
Mark, Cool. I didn't think that was the expected behavior. Will you guys at Lucid be rolling this patch into your 1.4 distribution? As per your 1.5 comment, do you think 1.5 trunk is stable enough for production or should I just be keeping an eye on it. I know its never really known, but do yo

Re: Healthcheck. Too many open files

2010-04-11 Thread Mark Miller
On 04/11/2010 12:26 AM, Blargy wrote: ... option httpchk GET /solr/items/admin/file?file=healthcheck.txt ... so basically I am requesting that file to determine if that particular slave is up or not. Is this the preferred way of doing this? I kind of like the "Enable/Disable" feature of this hea

Re: Using dismax with shards specified in solrconfig.xml

2010-04-11 Thread Shawn Heisey
Adding it to the main core looks like it works, without the dismax handler even present in the live core config. It won't take the bf value that I described, though. recip(ms(NOW,product(post_date,1000)),3.17e-11,1,1) This spits an error: Problem accessing /solr/main/select. Reason: und

Re: Healthcheck. Too many open files

2010-04-11 Thread Blargy
Taking the HAProxy out of the picture I still see the same results if I hit my solr instance: http://localhost:8983/solr/items/admin/file?file=healthcheck.txt from my browser .. java4729 root 48u REG 8,17 0 817622 /var/solr/home/items/conf/healthcheck.txt java47

Re: Using dismax with shards specified in solrconfig.xml

2010-04-11 Thread Lance Norskog
The query is at the broker level, and is included in the distributed search. You can't place in the shard, because the distributed search shortcuts the query handlers (I think). On 4/11/10, Shawn Heisey wrote: > I am using a setup where I have specified the shards parameter in a > broker called "

Re: Solr date "NOW" - format?

2010-04-11 Thread Lance Norskog
Try a new thread with 'dismax' and 'boosts' in the title. The Solr date features offer nice support in range queries and faceting. If you round the stored date to NOW/1SECOND and store it as a tdate, it won't use much more space than storing the seconds as a tint. ('t' stands for Trie, a compresse

Re: port application using solr to Android device

2010-04-11 Thread Lance Norskog
A lot of Lucene is optional for Solr. If you trim down the number of analyzers etc., it's not very many. There are a few tiny servlet engines intended to be embeddable. Embedded Solr is just a big library. Google may have ported their OpenGSE thing. On 4/11/10, Jon Baer wrote: > How large is

Re: Healthcheck. Too many open files

2010-04-11 Thread Lance Norskog
What is the client for these requests? Do they all go in on the same socket or do they use separate sockets? If they are a SolrJ program, and you say 'new CommonsHttpSolrServer' for each request, each request goes in on a new socket. This creates a new thread for each request, and the old threads

Re: Dismax type solution using a default operator

2010-04-11 Thread Ahmet Arslan
> Has anyone implemented a Dismax type > solution that also uses a default > operator (or q.op)?  Dismax ignores default operator. > I'd like to be able to use OR > operators for all the > qf fields but have read that qf=dismax does not support > operators. Dismax has a mm [1] (Minimum 'Should'

Dismax type solution using a default operator

2010-04-11 Thread Thomas Nguyen
Has anyone implemented a Dismax type solution that also uses a default operator (or q.op)? I'd like to be able to use OR operators for all the qf fields but have read that qf=dismax does not support operators.

Using dismax with shards specified in solrconfig.xml

2010-04-11 Thread Shawn Heisey
I am using a setup where I have specified the shards parameter in a broker called "main", which then queries a bunch of other machines including the one it's on, using the core named "live." true 6000 explicit 50 name="shards">idxinc:8983/solr/live,idxst0-b:8983/solr/live,idxst1-b:8983/solr/l

Re: Solr date "NOW" - format?

2010-04-11 Thread Shawn Heisey
On 4/9/2010 7:35 PM, Lance Norskog wrote: The example function seems to round time to years, so you're boosting by year? Your dates are stored as UTC 64-bit longs counting the number of milliseconds since Jan 1, 1970. That's it. They're in milliseconds whether you supplied them that way or not.

Re: port application using solr to Android device

2010-04-11 Thread Jon Baer
How large is the index? There is probably alot of work in getting Solr and dependencies (for example Lucene / RMI from what I have read) ... Interestingly enough there is a Jetty container for it ... http://code.google.com/p/i-jetty/ I think Solr itself would be OK to port to Dalvik just the L

port application using solr to Android device

2010-04-11 Thread Samk
I have an application using solr than runs on an enterprise(computer). I want to port the same application to Android hand held device. I tried searching for a light weight Solr server for Android but was unsuccessful. (Please note that I'm not interested about porting a client but the full ap

Re: dismax and qf

2010-04-11 Thread Erick Erickson
Perhaps a silly question, but it's amazing how many of my problems turn out to be something I do to myself... Are you sorting on anything other than score? Best Erick On Sat, Apr 10, 2010 at 6:51 AM, Mark Fletcher wrote: > Hi, > > I use *dismax* and have specified my fields to be boosted in the

Re: Tutorials for developing filter plugins.

2010-04-11 Thread Israel Ekpo
He is referring to the org.apache.lucene.search.Filter classes. Michael, I did a search too and I could not really find any useful tutorials on the subject. You can take a look at how this is implemented in the Spatial Solr Plugin by the JTeam http://www.jteam.nl/news/spatialsolr.html Their co