Re: Non-exists Field Query doesn't work when use defType=edismax

2020-09-14 Thread Iana Bondarska
rly inefficient, > fq=-field_to_exclude:[* TO *] > can be more efficient. The reasons are rather arcane... > > Best, > Erick > > > On Sep 11, 2020, at 10:18 AM, Iana Bondarska wrote: > > > > Hi everyone, > > I'm checking Solr query that contains conditio

Non-exists Field Query doesn't work when use defType=edismax

2020-09-11 Thread Iana Bondarska
Isn't *-field_to_exclude:* *enough? -- Best Regards, Iana Bondarska

Re: Range Filter for Multi-Valued Date Fields

2016-08-25 Thread Iana Bondarska
again, the > undesired first doc comes through. > > On Tue, Aug 23, 2016 at 5:15 PM, Iana Bondarska > wrote: > > > Hello Mikhail, > > I convert filters that come from other part of application and in general > > cannot combine many filters into one , since conditions ca

Re: Range Filter for Multi-Valued Date Fields

2016-08-23 Thread Iana Bondarska
. > I wonder why did you do like that? > > On Tue, Aug 23, 2016 at 2:33 PM, Iana Bondarska > wrote: > > > Hi All, > > > > could you help me please with multiple range filters on multi valued > > fields: > > I have following dataset: > >

Range Filter for Multi-Valued Date Fields

2016-08-23 Thread Iana Bondarska
p=AND - result is the same. Is this expected behavior or known issue for multivalued fields? Best Regards, Iana Bondarska

Solr json api,metrics calculation

2016-04-15 Thread Iana Bondarska
Hi All, could you please help me with solr metrics on json api: 1) I don't see count metric in list of supported metrics -- is it really not supported now? E.g. I have records like this: city name NY johnson LA smith NYnull LA johnson. And I want to count of names grouped by city. See

Re: Solrj: SystemInfoRequest fails if no default collection specified.

2016-04-13 Thread Iana Bondarska
: > On 4/13/2016 9:01 AM, Iana Bondarska wrote: > > I'm trying to get solr version via solrj api. If I try to use > > SystemInfoRequest without specifying collection -- I'm getting an error > "No > > collection is set and no default collection specified&q

Solrj: SystemInfoRequest fails if no default collection specified.

2016-04-13 Thread Iana Bondarska
Hi All, I'm trying to get solr version via solrj api. If I try to use SystemInfoRequest without specifying collection -- I'm getting an error "No collection is set and no default collection specified". Could you tell me please, is there any way to get solr version without specifying collection? Th

Solrj , how to create collection

2016-03-19 Thread Iana Bondarska
Hi, Could you please tell me, is it possible to create new collection on solr server only using solrj,without manual creation of core folder on server. I'm using solrj v.5.5.0,standalone client. Thanks, Iana

Solr Json API How to escape space in search string

2016-03-07 Thread Iana Bondarska
select?q=*:*&json= {"query":"string_s:new\ value"} Best Regards, Iana Bondarska

Re: Error when use block-join filters in json api

2015-10-08 Thread Iana Bondarska
acetParser.parseFacetOrStat(FacetRequest.java:238) > > see > public Object parseFacetOrStat(String key, String type, Object args) > throws SyntaxError { > // TODO: a place to register all these facet types? > > if ("field".equals(type) || "terms".eq

Re: Error when use block-join filters in json api

2015-10-08 Thread Iana Bondarska
, "year": 2012, "county": "Berrien", "Sales": 112808, "state": "Washington", "product_group": "Books", "sku": "ZD111588", "income_bracket": "$25000 to $5", "_version

Re: Error when use block-join filters in json api

2015-10-08 Thread Iana Bondarska
lr/Other+Parsers#OtherParsers-BlockJoinQueryParsers > q={!parent which=}. Again the parameter The > parameter allParents is a filter that matches only parent documents; > > > > On Thu, Oct 8, 2015 at 11:46 AM, Iana Bondarska > wrote: > > > Hello, > > I'm tryi

Error when use block-join filters in json api

2015-10-08 Thread Iana Bondarska
Hello, I'm trying to use block join feature with json api. I got following error when add query with "which parent" or "child of " prefixes to query facet. My query is : {!parent which="state:Idaho"} AND category:Books If I remove block-join prefixes -- query runs without errors. Are such filter

Local Params for Stats field

2015-09-03 Thread Iana Bondarska
[2011-12-25T00:00:00.000Z TO 2012-01-02T00:00:00.000Z}&rows=0&stats=true&stats.field={!ex=period2}checkout_date and it fails with error "unknown field" checkout_date. Should localparams for stats field be supported for v. 4.4? If I run same query for v.4.8 -- it returns result w/o error Best Regards, Iana Bondarska

Re: FieldCache error for multivalued fields in json facets.

2015-07-14 Thread Iana Bondarska
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555) at java.lang.Thread.run(Thread.java:745) 2015-07-13 19:24 GMT+03:00 Yonik Seeley : > On Mon, Jul 13, 2015 at 1:55 AM, I

FieldCache error for multivalued fields in json facets.

2015-07-12 Thread Iana Bondarska
Hi, I'm using json query api for solr 5.2. When query for metrics for multivalued fields, I get error: can not use FieldCache on multivalued field: sales. I've found in solr wiki that to avoid using fieldcache I should set facet.method parameter to "enum". Now my question is how can I add facet.en