OW2 Consortium
Search OW2 Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | exoplatform List | March 2007 Index

<--  Date Index  --> <--  Thread Index  -->

Re: [exoplatform] testing exo-ecm


 it seems that problem this in 
exo-ecm/portlets/cms-content/src/java/org/exoplatform/portlets/content/search/component/UIResults.java:

1:  public void setQueryResults(long duration, QueryResult queryResult) 
throws 
2: Exception {
3:    duration_ = duration;
4:    if(queryResult != null){
5:      NodeIterator iter = queryResult.getNodes() ;
6:      while(iter.hasNext()){
7:        Node node = iter.nextNode() ;
8:        resultMap_.put(node.getPath(), node) ;
9:      }
10:   }
11:  }

line 6 takes long time with searches that return very few results, but i not 
understand why.

any idea ?




El Viernes, 2 de Marzo de 2007, Benjamin Mestrallet escribió:
> Can you try with:
> > select * from exo:mail where jcr:path like '/cms/mail/%' and exo:to
> > like '%devel%'
>
> Vitaly what could be the reason of a non ending request?
>
> On Mar 2, 2007, at 3:34 PM, Miquel Comas wrote:
> > El Jueves, 1 de Marzo de 2007, Benjamin Mestrallet escribió:
> >> can you try to write an advanced JCR (XPath or SQL) request to search
> >> the word in the correct exo:mail nodetype property and tell me if in
> >> that case you get the results
> >
> > I have executed:
> >
> > select * from nt:base where jcr:path like '/cms/mail/%' and exo:to
> > like '%devel%'
> >
> > the 500 mails contain the word "devel" in the field too.
> > The search never finishes.
> >
> >
> > Thanks
> >
> >> On Mar 1, 2007, at 4:53 PM, Miquel Comas wrote:
> >>> El Jueves, 1 de Marzo de 2007, escribió:
> >>>> So you men you are using the JCR explorer simple search right
> >>>>
> >>>> You also tested with 2000 files (word maybe?) and it works
> >>>
> >>> I upload part of exo-groupware folder (4000 folders and 2000 files)
> >>> an some
> >>> pdf's
> >>>
> >>>> But you tested with email and it does not work
> >>>>
> >>>> Am I corect when I describe your problem?
> >>>
> >>> yes
> >>>
> >>>
> >>>
> >>> --
> >>> Miquel Comas Martí
> >>> Systems Engineering Manager
> >>> Scytl Secure Electronic Voting
> >>>
> >>>
> >>> --
> >>> You receive this message as a subscriber of the
> >>> exoplatform@xxxxxxxxxxxxx mailing list.
> >>> To unsubscribe: mailto:exoplatform-unsubscribe@xxxxxxxxxxxxx
> >>> For general help: mailto:sympa@xxxxxxxxxxxxx?subject=help
> >>> ObjectWeb mailing lists service home page: http://www.objectweb.org/
> >>> wws
> >
> > --
> > Miquel Comas Martí
> > Systems Engineering Manager
> > Scytl Secure Electronic Voting
> >
> >
> > --
> > You receive this message as a subscriber of the
> > exoplatform@xxxxxxxxxxxxx mailing list.
> > To unsubscribe: mailto:exoplatform-unsubscribe@xxxxxxxxxxxxx
> > For general help: mailto:sympa@xxxxxxxxxxxxx?subject=help
> > ObjectWeb mailing lists service home page: http://www.objectweb.org/
> > wws



-- 
Miquel Comas Martí
Systems Engineering Manager
Scytl Secure Electronic Voting 



<--  Date Index  --> <--  Thread Index  -->

Reply via email to:

Powered by MHonArc.

Copyright © 2006-2007, OW2 Consortium | contact | webmaster.