solr - About PATH in FTS alfresco queries -


i'm using alfresco 4.1.6 , solr 1.4.

for search, use fts_alfresco_language , searchservice.query method.

and in query search path, type , custom properties direction, telephone, mail, or similar.

i have on 2 millions of documents, , can see how performance of searchs worst @ beginning.

i read in version 1.4 of solr, using path on query bad idea. , better avoid , use type , property key , value.

but have 2 questions...

  1. why path increase response time? it's not help? have on 1000 main folders @ root of repository. if specify folder solr may search, why not filter results , give me worst time response if don't specify this? or there way solr main folder reduce results , rest of query?

  2. when find custom properties, use 3 or 4 properties, indexed, search. these merged lookups has higher overhead one? maybe better search 1 property, , not 3? or maybe use ors , not ands results? how works solr?

thanks!

first let me start this, i'm not sure want of question cause it's vague. you're not asking how make query better, asking why bad-practice(bad-performance) working bad you.

do research on how structure ecm system, first thing makes ecm proper content model. there books out there you.

if you're structuring content folders (path) , these important you, need add these metadata content. if haven't done that, should start that.

a content model able find content wherever it's placed within ecm system. sure it's easy migrate filesystem ecm system , leave there, you've done half work.

the path queries slow in general cause uses loop pattern , it's expensive. has been improved in new solr, still isn't fast normal metadata querying.


Comments

Popular posts from this blog

How to provide Authorization & Authentication using Asp.net, C#? -

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

How to use Authorization & Authentication in Asp.net, C#? -