cancel
Showing results for 
Search instead for 
Did you mean: 

Lucene indexing 'd:any' field

vladislavlysov
Champ in-the-making
Champ in-the-making
Hello. I have a problem. When I set my properties which have "d:any" type, I can not find it through "search.luceneSearch(…)". Maybe "d:any" field don't indexing with Lucene? Please, answer my question.
3 REPLIES 3

mrogers
Star Contributor
Star Contributor
Yes there may well be problems indexing a field of type d:any.   In general you should avoid d:any,  it's there for some niche cases.  

What are you storing in it and why do you want to search on it?

vladislavlysov
Champ in-the-making
Champ in-the-making
Nothing special, I just wanted to check whether you can find value in a field of type "d:any". Thank you for reply. But you say - "there may well be problems indexing a field of type d:any", but I wonder - it's just the problem or impossible do search value on this field? i don't find code in Alfresco and Solr source code, which indexing fields with specific types. If you know, where it, please, say me, what is this class name? Thank you.

andy
Champ on-the-rise
Champ on-the-rise
Hi

What settings did you have in the model for indexing this property, what content did you add for this property, and what query did you actually run?

Andy