on 11-03-2015 12:31 PM
Hi experts,
I am trying to incorporate free text search in my SmartTable . however, whatever search field I enter, the table is not returning any data. I have given enableBasicSearch=true and basicSearchFieldName=myProperty
In the metadata, myProperty is coming under the annotation Common.ValueList and ahave set the property SearchSupported as true.
Whenever I make a search, I am getting an exception in the gateway and it is throwing HTTP 500 internal error
It would be great if you could help me overcome this blocker
Thanks in advance,
Rohit
I found a solution for this.
First,you have to declare the following annotation at CDS header
@Search.searchable: true
Once this is done, we have to the following annotation to the fields which needs to be made searchable
@Search: {defaultSearchElement: true, ranking: #MEDIUM, fuzzinessThreshold: 0.8}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I have tried it with mockup data. It is also not working for me.
😕
If you have found a solution please let me know. Thanks.
Silvia
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Did you solve the problem?
I tried it with mockup data. And I follow the rules said in:
But is still not woking
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.