Re: Function queries with Json facet

2017-06-05 Thread Susheel Kumar
Also change manufacturedate_dt to dob field and price to grade... On Mon, Jun 5, 2017 at 10:33 AM, Susheel Kumar wrote: > You are looking for something like below. Please adjust the start and > end. You can also give a fixed date instead of NOW etc.. > > curl http://localhost:8983/solr/techpro

Re: Function queries with Json facet

2017-06-05 Thread Susheel Kumar
You are looking for something like below. Please adjust the start and end. You can also give a fixed date instead of NOW etc.. curl http://localhost:8983/solr/techproducts/query -d 'q=*:*& json.facet={ byyeaar:{ type:range, field:"manufacturedate_dt", start : NOW-15YEAR/YEAR,

Re: Function queries

2013-05-15 Thread Yonik Seeley
On Wed, May 15, 2013 at 7:25 AM, sathish_ix wrote: > Hi , i would like to get all documents when searching for a keyword. > > http://localhost:8080/solr/select?q=caram&rows=_val_:"docfreq(SEARCH_TERM,'caram')" > > Searching for 'caram', there are 200 documents, but iam getting first 10 > documents

Re: function queries scope

2011-06-07 Thread Marco Martinez
Thanks, but its not what i'm looking for, because the BoostQParserPlugin multiplies the score of the query with the function queries defined in the b param of the BoostQParserPlugin. and i can't use the edismax because we have our own qparser. Its seems that i have to code another qparser. Thanks

Re: function queries scope

2011-06-07 Thread Yonik Seeley
One way is to use the boost qparser: http://search-lucene.com/jd/solr/org/apache/solr/search/BoostQParserPlugin.html q={!boost b=productValueField}shops in madrid Or you can use the edismax parser which as a "boost" parameter that does the same thing: defType=edismax&q=shops in madrid&boost=produc

Re: Function queries question

2009-11-23 Thread Grant Ingersoll
On Nov 23, 2009, at 6:54 AM, Oliver Beattie wrote: > Thanks for getting back to me. I've added inline responses below. > > 2009/11/20 Grant Ingersoll >> >> On Nov 20, 2009, at 3:15 AM, Oliver Beattie wrote: >> >>> Hi all, >>> >>> I'm a relative newcomer to Solr, and I'm trying to use it in a

Re: Function queries question

2009-11-23 Thread Oliver Beattie
Thanks for getting back to me. I've added inline responses below. 2009/11/20 Grant Ingersoll > > On Nov 20, 2009, at 3:15 AM, Oliver Beattie wrote: > > > Hi all, > > > > I'm a relative newcomer to Solr, and I'm trying to use it in a project > > of mine. I need to do a function query (I believe) t

Re: Function queries question

2009-11-20 Thread Grant Ingersoll
On Nov 20, 2009, at 3:15 AM, Oliver Beattie wrote: > Hi all, > > I'm a relative newcomer to Solr, and I'm trying to use it in a project > of mine. I need to do a function query (I believe) to filter the > results so they are within a certain distance of a point. For this, I > understand I should

Re: Function Queries

2008-12-01 Thread outre
Just to confirm. The query works if written as in Yonik's comment. Thanks Yonik Seeley wrote: > > On Fri, Nov 28, 2008 at 8:33 PM, outre <[EMAIL PROTECTED]> wrote: >> >> Hi, >> >> I was wondering if function queries are supported in SOLR1.3? >> >> I looked thru http://wiki.apache.org/solr/Fun

Re: Function Queries

2008-11-28 Thread Yonik Seeley
On Fri, Nov 28, 2008 at 8:33 PM, outre <[EMAIL PROTECTED]> wrote: > > Hi, > > I was wondering if function queries are supported in SOLR1.3? > > I looked thru http://wiki.apache.org/solr/FunctionQuery, and tried to run an > example on my SOLR setup. It doesn't seem though that _val_ hook has any > e

Re: Function Queries

2007-08-16 Thread Pieter Berkel
Hi Yakn, On 17/08/07, Yakn <[EMAIL PROTECTED]> wrote: > One example is that if you have mm being blank in the solrConfig.xml > and not commented out, then it will throw a NumberFormatException. The required format of the mm field is described in more detail here: http://lucene.apache.org/solr/a