Himanshu Kapoor
Himanshu Kapoor

Reputation: 11

Alfresco - advanced search gives 0 results when using the wildcard(*) with the text value

For custom document type when I use advanced search for searching the particular documents that have same custom property, with writing complete property value in advanced search gives expected result(list of documents that have the same property) but when I am using the wildcard(*) with the property value, advanced search gives 0 results for the same property that I mentioned just above. This only happens to only one property value.

For example,

In the metadata field when I type,

suppose, search with other values for different documents

In the metadata field when I type,

This issue I confirmed by using the Node Browser (available in Admin Tools) for searching the documents

The possible solution I did was to reindex the Solr but the issue persists.

Version information:

Upvotes: 1

Views: 387

Answers (1)

Dimanshu Parihar
Dimanshu Parihar

Reputation: 377

Check the type of your field in the schema.xml and if it is string, then change string type to text_general and use the df = text for search. That might work.

Upvotes: 1

Related Questions