Re: Getting All Properties Std. and Custom

2006-09-06 Thread Marco Ferretti
On Wednesday 06 September 2006 05:23, aslam bari wrote:
 Ok ,
   First of all it is not possible in my program. Because in my program a
 user can make a property in only one custom namespace which is defined by
 my program and hide from user. So now there are only two namespace DAV: and
 my custom namespace. So, Now i can get standard DAV: properties of a
 resource which are not more than 15-16. But what about custom namespace
 properties because i don't know on which resource and by what name and how
 many properties a user has given. Help Plz.

Hi Aslam ,

as Julian already told you, it is not possible to create a query that filters 
by namespace. What you have to do is filter your data manually after the 
DASL query's been performed.

Actually, apart from the possibility to create a query that filters your data 
server side ( and which we discovered not being possible) , I don't see ( = 
understand ) why you need to know the number of custom properties for each 
resource BEFORE parsing the result of the DASL query.

ciao

Marco

-- 
You are capable of planning your future.


pgpoQzSRF4ydt.pgp
Description: PGP signature


RE: Getting All Properties Std. and Custom

2006-09-06 Thread Miguel Figueiredo

 Hello Marco, Aslam,

 Don't know how I missed Julian's remark on availability of this kind of
query, so cut out the first part of my previous message, leaving only second
part, witch would still work although it kind of creepy (accessing Slide's
meta information DB directly).

 Anyway, concerning Marco question transcribed below. From what I
understood, Aslam wants to know, with one request, every custom property
defined in the repository. He would next populate a list with it, so users
could use the same property instead of creating new similar ones. Means that
the request should be done globally in the repository, and that's thousands
of documents. Because the query must be done globally, I would not advise to
make a query for every resource in the repository and then filter down on
client side (even client side): just imagine matching 100 000 documents,
building a DASL result of it (xml), and then parse it.

 Aslam, you could do it easily if you managed the possible property list
outside Slide (keeping a property name list in a configuration file or DB,
and then retrieve that information instead of querying Slide).

Hope this helps,
Miguel Figueiredo

-Original Message-
From: Marco Ferretti [mailto:[EMAIL PROTECTED] 
Sent: quarta-feira, 6 de Setembro de 2006 5:55
To: Slide Users Mailing List
Subject: Re: Getting All Properties Std. and Custom

On Wednesday 06 September 2006 05:23, aslam bari wrote:
 Ok ,
   First of all it is not possible in my program. Because in my program a
 user can make a property in only one custom namespace which is defined by
 my program and hide from user. So now there are only two namespace DAV:
and
 my custom namespace. So, Now i can get standard DAV: properties of a
 resource which are not more than 15-16. But what about custom namespace
 properties because i don't know on which resource and by what name and how
 many properties a user has given. Help Plz.

Hi Aslam ,

as Julian already told you, it is not possible to create a query that
filters 
by namespace. What you have to do is filter your data manually after the 
DASL query's been performed.

Actually, apart from the possibility to create a query that filters your
data 
server side ( and which we discovered not being possible) , I don't see ( = 
understand ) why you need to know the number of custom properties for each 
resource BEFORE parsing the result of the DASL query.

ciao

Marco

-- 
You are capable of planning your future.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Fw: CVS check out timed out

2006-09-06 Thread Ha Pham
Sorry to repost the question. Could anyone help me to solve the the connection 
refuse problem when I use Eclipse to connect to Slide CVS? (I detailed the 
problem in the previous email below).

Thank you,
Ha Pham

- Original Message - 
From: Ha Pham 
To: Slide Developers Mailing List 
Sent: Tuesday, September 05, 2006 2:02 PM
Subject: CVS check out timed out


Dear all,
I attempted to check out Slide from cvs.apache.org following the instruction on 
Slide document http://jakarta.apache.org/slide/getting-started.html but got 
timed out. I also tried WinCVS and got message  
No connection could be made because the target machine actively refused it 

I also tried other connection types(ext, extssh) in Eclipse but could not 
connect to the CVS server.

I use Eclipse 3.1.1
Please anyone help me with this.

Thank you very much,
Ha Pham
 

RE: Getting All Properties Std. and Custom

2006-09-06 Thread aslam bari
Hi Miguel,
  Yes you got my point, what i need. You have given me suggestion. Can you 
little more explain on your idea , how to do that.

Miguel Figueiredo [EMAIL PROTECTED] wrote:
  
Hello Marco, Aslam,

Don't know how I missed Julian's remark on availability of this kind of
query, so cut out the first part of my previous message, leaving only second
part, witch would still work although it kind of creepy (accessing Slide's
meta information DB directly).

Anyway, concerning Marco question transcribed below. From what I
understood, Aslam wants to know, with one request, every custom property
defined in the repository. He would next populate a list with it, so users
could use the same property instead of creating new similar ones. Means that
the request should be done globally in the repository, and that's thousands
of documents. Because the query must be done globally, I would not advise to
make a query for every resource in the repository and then filter down on
client side (even client side): just imagine matching 100 000 documents,
building a DASL result of it (xml), and then parse it.

Aslam, you could do it easily if you managed the possible property list
outside Slide (keeping a property name list in a configuration file or DB,
and then retrieve that information instead of querying Slide).

Hope this helps,
Miguel Figueiredo

-Original Message-
From: Marco Ferretti [mailto:[EMAIL PROTECTED] 
Sent: quarta-feira, 6 de Setembro de 2006 5:55
To: Slide Users Mailing List
Subject: Re: Getting All Properties Std. and Custom

On Wednesday 06 September 2006 05:23, aslam bari wrote:
 Ok ,
 First of all it is not possible in my program. Because in my program a
 user can make a property in only one custom namespace which is defined by
 my program and hide from user. So now there are only two namespace DAV:
and
 my custom namespace. So, Now i can get standard DAV: properties of a
 resource which are not more than 15-16. But what about custom namespace
 properties because i don't know on which resource and by what name and how
 many properties a user has given. Help Plz.

Hi Aslam ,

as Julian already told you, it is not possible to create a query that
filters 
by namespace. What you have to do is filter your data manually after the 
DASL query's been performed.

Actually, apart from the possibility to create a query that filters your
data 
server side ( and which we discovered not being possible) , I don't see ( = 
understand ) why you need to know the number of custom properties for each 
resource BEFORE parsing the result of the DASL query.

ciao

Marco

-- 
You are capable of planning your future.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
 Here's a new way to find what you're looking for - Yahoo! Answers 
 Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it 
NOW

Lucene Words Documents Frequency

2006-09-06 Thread Aslam Bari

Dear all,
I have asked this question many times. Does any body has an experience with
LuceneContentIndexer with Slide. I want to get Documents words frequency
List with the DASL Result. My searching is almost complete. But i havenot
configured this feature yet. How can i get words frequency in a document or
Score etc.

Thanks...
-- 
View this message in context: 
http://www.nabble.com/Lucene-Words-Documents-Frequency-tf2230981.html#a6183817
Sent from the Jakarta Slide - User forum at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]