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

Mats Lindh updated SOLR-9715:
-----------------------------
    Description: 
This allows a query to use the string length in a Solr query, without having to 
index a separate field with the length. The function is named "strlen" in the 
patch, but another option is "stringlength".

Since this also introduced a new ValueSource in Lucene, I'm not sure if I 
should split the patch up into two separate issues, but as the Solr patch would 
rely on the Lucene patch being accepted, I've included them both in this issue 
for now. 

Patch includes two tests in TestFunctionQuery. Patch is against the current 
HEAD from github/lucene-solr.

  was:
This allows a query to use the string length in a Solr query, without having to 
index a separate field with the length.

Since this also introduced a new ValueSource in Lucene, I'm not sure if I 
should split the patch up into two separate issues, but as the Solr patch would 
rely on the Lucene patch being accepted, I've included them both in this issue 
for now. 

Patch includes two tests in TestFunctionQuery. Patch is against the current 
HEAD from github/lucene-solr.


> Add function for string length
> ------------------------------
>
>                 Key: SOLR-9715
>                 URL: https://issues.apache.org/jira/browse/SOLR-9715
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: search
>    Affects Versions: master (7.0)
>            Reporter: Mats Lindh
>            Priority: Trivial
>              Labels: feature, function, newbie
>         Attachments: SOLR-9715.patch
>
>
> This allows a query to use the string length in a Solr query, without having 
> to index a separate field with the length. The function is named "strlen" in 
> the patch, but another option is "stringlength".
> Since this also introduced a new ValueSource in Lucene, I'm not sure if I 
> should split the patch up into two separate issues, but as the Solr patch 
> would rely on the Lucene patch being accepted, I've included them both in 
> this issue for now. 
> Patch includes two tests in TestFunctionQuery. Patch is against the current 
> HEAD from github/lucene-solr.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to