I dont really have any specific use case in mind; I was just wondering what I
could (or couldn't) do with custom functions

possible reasons for allowing that type of syntax include:

1. in general, to simplify queries, and make them more readable, by
eliminating the need for the _val_ hack (which is useful but syntactically
inelegant) 
2. allow for more complex queries than we can do currently with _val_
3. if we treat custom functions exactly the same as we treat value sources
(like literals and solr fields), that may make some other solr features
(like sorting by function) cleaner/easier to implement/maintain

do you feel that I should I open this up as a JIRA suggestion?
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/how-why-would-I-use-LiteralValueSource-and-can-I-create-a-custom-string-function-tp1408444p1412903.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to