Re: Faceting filter tagging doesn't work in case where 0 matches are found

2019-02-17 Thread Mikhail Khludnev
Hello, I'm not sure but it sounds like an issue, would you mind to raise one at https://issues.apache.org/jira/projects/SOLR/ ? On Sun, Feb 17, 2019 at 6:57 PM Arvydas Silanskas < nma.arvydas.silans...@gmail.com> wrote: > Good evening, > > I am using facet json api to query aggregation data, and

Setting RegexReplaceProcessorFactory pattern with

2019-02-17 Thread Zheng Lin Edwin Yeo
Hi, I am using Solr 7.7.0. When I tried to replace the following pattern in the RegexReplaceProcessorFactory, content true I get the following error: Exception during parsing file: solrconfig.xml:org.xml.sax.SAXParseException; systemId: solrres:/solrconfig.xml; lineNumber: 15

Faceting filter tagging doesn't work in case where 0 matches are found

2019-02-17 Thread Arvydas Silanskas
Good evening, I am using facet json api to query aggregation data, and I don't care about the returned documents themselves. One of the use cases I want to employ is tagging filter queries for fields, and then exclude those filters when faceting. My problem is, however, that in those cases where t

Re: Suggest Component, prefix match (sur-)name

2019-02-17 Thread David '-1' Schmid
Hi Lev, On 2019-02-15T17:14:50, Tannen, Lev (USAEO) [Contractor] wrote: > If I understood your requirement correctly you should use "AND" rather > than "or". Also I, believe, "AND" should be in capital letters, but I > am not sure. I think that the suggestion query does not support boolean logic

Re: edismax: sorting on numeric fields

2019-02-17 Thread Nicolas Paris
hi On Sun, Feb 17, 2019 at 09:40:43AM +0100, Jan Høydahl wrote: > q=kind:animal&wantedweight=50&sort=abs(sub(weight,wantedweight)) asc *sort function* looks a great way. I did not mention very clearly I d'like to use edsimax and add some weight to some fields (such *description* in the below exa

Re: edismax: sorting on numeric fields

2019-02-17 Thread Jan Høydahl
q=kind:animal&wantedweight=50&sort=abs(sub(weight,wantedweight)) asc Jan Høydahl > 16. feb. 2019 kl. 17:08 skrev Dave : > > Sounds like you need to use code and post process your results as it sounds > too specific to your use case. Just my opinion, unless you want to get into > spacial querie