You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Erick Erickson (JIRA)" <ji...@apache.org> on 2016/03/30 17:40:25 UTC

[jira] [Resolved] (SOLR-8920) termfreq(text,'multiple word search') not working multiple word

     [ https://issues.apache.org/jira/browse/SOLR-8920?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Erick Erickson resolved SOLR-8920.
----------------------------------
    Resolution: Invalid

Please raise issues like this on the user's list first, then if it's determined to be a bug we an raise a JIRA. We try to reserve JIRAs for code issues rather than usage issues.

In this case, termFreq is working exactly as it should. It returns information about _terms_ that come out of your analysis chain. In this case the terms are something like "white", "blood" and "cell". There is no single _term_ "white blood cell".

When you ask your question on the user's list, please state the problem you're really trying to solve. _Why_ do you want to count the occurrences of phrases?

> termfreq(text,'multiple word search') not working multiple word
> ---------------------------------------------------------------
>
>                 Key: SOLR-8920
>                 URL: https://issues.apache.org/jira/browse/SOLR-8920
>             Project: Solr
>          Issue Type: Improvement
>          Components: clients - php, config-api
>    Affects Versions: 5.4.1
>         Environment: ubuntu, php, apache,
>            Reporter: Deepak
>              Labels: newbie
>             Fix For: 5.4.1
>
>
> I am using default solr (default solr 5.4.1)) on ubuntu at localhost.
> It just works fine like (http://192.168.200.23:8983/solr/techproducts/query?q='blood'&fl=id,title,author,content,counts:termfreq(text,'blood')&start=10)
> Working:
> 	eg. for single keyword count like termfreq(text,'blood') 
> Not Working:
> 	eg. for multiple keyword count like termfreq(text,'white blood cell')
> We need to know how it is working and what configuration need to do in solr? 
> Thanks in advance...



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org