Ahamed:
Please start a new thread. Although your question is somewhat related, it’s not
the same thing at all. It’s called “thread hijacking” and makes it difficult to
keep track of.
> On Mar 29, 2019, at 4:46 AM, Ahemad Ali
> wrote:
>
> Do you have any suggestions for querying the indexed d
Do you have any suggestions for querying the indexed data with whitespaces and
special charectors ?
Sent from Yahoo Mail on Android
On Fri, Mar 29, 2019 at 16:59, Yonik Seeley wrote: On
Thu, Mar 28, 2019 at 6:05 PM Jan Høydahl wrote:
> Functions can never contain spaces.
Spaces work f
On Thu, Mar 28, 2019 at 6:05 PM Jan Høydahl wrote:
> Functions can never contain spaces.
Spaces work fine in functions in general.
The issue is the "bf" parameter as it uses whitespace to delimit multiple
functions IIRC.
-Yonik
> Try to substitute the term with a variable, i.e. a request pa
Thanks Jan, I was not aware of this, appreciate your help.
--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html
Functions can never contain spaces. Try to substitute the term with a variable,
i.e. a request parameter, e.g.
bf=if(termfreq(ADSKFeature,$myTerm),log(CaseCount),sqrt(CaseCount))&myTerm=CUI+(Command)
--
Jan Høydahl, search solution architect
Cominvent AS - www.cominvent.com
> 28. mar. 2019 kl.
Ahemad, I don't think its related to the field definition, rather looks like
an inherent bug. For the time being, I created a copyfield which uses a
custom regex to remove whitespace and special characters and use it in the
function. I'll debug the source code and confirm if it's bug, will raise a
Hi,Did you find any solution for this, I tried adding analyzers with keyword
tokenizer and reversewildcardfilterfactory but was not working.
It's working when I don't include spaces when I am doing wildcard search but
not giving the result when I have whitespaces and do wildcard search using *
I'm using Solr 7.5, here's the query:
q=line&fq=language:"english"&fq=Source2:("topicarticles"+OR+"sfdcarticles")&fl=url,title&bq=ADSKFeature:"CUI+(Command)"^7&bf=recip(ms(NOW/DAY,PublishDate),3.16e-11,1,1)^2+if(termfreq(ADSKFeature,'CUI
(Command)'),log(CaseCount),sqrt(CaseCount))&rows=10
--
Se
Hi Shamik,
String fieldType should keep the space. Can you give the full query that
you used when you get the error?
Also, which Solr version are you using?
Regards,
Edwin
On Wed, 27 Mar 2019 at 03:16, shamik wrote:
> Edwin,
>
>The field is a string type, here's the field definition.
>
>
Edwin,
The field is a string type, here's the field definition.
-Shamik
--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html
Hi Shamik,
What fieldType are you using for the field that you are doing the function
queries on?
Regards,
Edwin
On Tue, 26 Mar 2019 at 06:40, Shamik Bandopadhyay wrote:
> Hi,
>
>I'm having trouble handling white space or special characters in
> function queries. Here's a sample function:
Hi,
I'm having trouble handling white space or special characters in
function queries. Here's a sample function:
if(termfreq(ADSKFeature,'CUI (Command)'),log(CaseCount),sqrt(CaseCount))
I tried escaping the space with "\", but that didn't work either. Here's
the exception being thrown:
org.a
12 matches
Mail list logo