returning only certain fields from the docs - parsing on the server side

2013-07-25 Thread Matt Lieber
Hi, I only want to return one field in the documents being returned from my query. I know there is the 'fl' parameter, which is described in the documentation http://wiki.apache.org/solr/CommonQueryParameters as: "This parameter can be used to specify a set of fields to return, limiting the amo

Re: Processing a lot of results in Solr

2013-07-23 Thread Matt Lieber
them into a file which is >then available for streaming (it has its own UUID). I am dumping many GBs >of data from solr in few minutes - your query + streaming writer can go >very long way :) > >roman > > >On Tue, Jul 23, 2013 at 5:04 PM, Matt Lieber wrote: > >> Hell

Processing a lot of results in Solr

2013-07-23 Thread Matt Lieber
Hello Solr users, Question regarding processing a lot of docs returned from a query; I potentially have millions of documents returned back from a query. What is the common design to deal with this ? 2 ideas I have are: - create a client service that is multithreaded to handled this - Use the Sol

Re: Solr with Hadoop

2013-07-18 Thread Matt Lieber
Rajesh, If you require to have an integration between Solr and Hadoop or NoSQL, I would recommend using a commercial distribution. I think most are free to use as long as you don't require support. I inquired about the Cloudera Search capability, but it seems like that far it is just preliminary:

Re: How to set a condition on the number of docs found

2013-07-12 Thread Matt Lieber
;http:/localhost:8983/solr/core/select/?q=*%3A*&facet=true&facet.query={!lu >cene%20key=numberofresults}state:CO&rows=0<http://hgsolr2devmstr:8983/solr >/providersearch/select/?q=*%3A*&facet=true&facet.query={!lucene%20key=numb >erofresults}state:CO&rows=0> >

How to set a condition on the number of docs found

2013-07-11 Thread Matt Lieber
Hello there, I would like to be able to know whether I got over a certain threshold of doc results. I.e. Test (Result.numFound > 10 ) -> true. Is there a way to do this ? I can't seem to find how to do this; (other than have to do this test on the client app, which is not great). Thanks, Matt

How to set a condition over stats result

2013-07-11 Thread Matt Lieber
> Hello, I am trying to see how I can test the sum of values of an attribute across docs. I.e. Whether sum(myfieldvalue)>100 . I know I can use the stats module which compiles the sum of my attributes on a certain facet , but how can I perform a test this result (i.e. Is sum>100) within my stats