InfoWings / Knowledge-Net

Complex data management solution
1 stars 2 forks source link

Filter by aspect is broken on cs2 #353

Closed sreznick closed 6 years ago

sreznick commented 6 years ago

Problem was caused by "select .... where name lucene 'some pattern' " query. It assumes that only 1 index mentioning name field of speciifed class exists. And I accidentally left some other index mentioning Aspect.name after my experiments in stage2 database. I droped it now it it works now.

However, we should keep this fact in mind. May be at some moment we'll need some another Lucene index mentioning Aspect.name (or name of other class). I guess in such case select query using SearchClass will help up.