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 <ahemad.sh...@yahoo.com.INVALID> 
> wrote:
> 
> 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<ysee...@gmail.com> wrote:   On 
> Thu, Mar 28, 2019 at 6:05 PM Jan Høydahl <jan....@cominvent.com> 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 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. 18:51 skrev shamik <sham...@gmail.com>:
>>> 
>>> 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
>>> JIRA if needed.
>>> 
>>> 
>>> 
>>> --
>>> Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html
>> 
>> 

Reply via email to