Re: Using def function in fl criteria,

2014-09-09 Thread Chris Hostetter
: I'm trying to use a query with fl=name_UK,name_FRA,itemDesc:def(name_UK,name_FRA) : As you can see, the itemDesc field (builded by solr) is truncated : functions get their values from the FieldCache (or DocValues if you've enabled them) so that they can be efficient across a lot of docs. bas

Re: Using def function in fl criteria,

2014-09-09 Thread Pigeyre Romain
I want to return : -the field name_UK (if it exists) -Otherwise the name_FRA field ... into an alias field (itemDesc, created at query time). There is no schema definition for itemDesc because, it is only a virtual field declared in fl= criteria. I don't understand while filter is apply

Re: Using def function in fl criteria,

2014-09-09 Thread Erick Erickson
I'm really confused about what you're trying to do here. What do you intend the syntax itemDesc:def(name_UK,name_FRA) to do? It's also really difficult to say much of anything unless we see the schema definition for "itemDesc" and sample input. Likely you're somehow applying an analysis chain tha