You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "DAG Support (JIRA)" <ji...@apache.org> on 2015/06/05 22:57:05 UTC

[jira] [Created] (SOLR-7643) Function queries don't support hash "#" in field name

DAG Support created SOLR-7643:
---------------------------------

             Summary: Function queries don't support hash "#" in field name
                 Key: SOLR-7643
                 URL: https://issues.apache.org/jira/browse/SOLR-7643
             Project: Solr
          Issue Type: Bug
          Components: SolrJ
    Affects Versions: 4.7.2
            Reporter: DAG Support
            Priority: Minor


I have some index documents with both table_name and #table_name fields.

If I use a function query with table_name:

SolrQuery query = new SolrQuery();
query.add("fl" , "exists(table_name)");

it works, returning results like this: <doc><bool name="exists(table_name)">true</bool></doc> 

However, if I use #table_name:
 
query.add("fl" , "exists(#table_name)");

it returns empty documents like this: <doc></doc>



--
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