RE: Getting All Properties Std. and Custom

2006-09-07 Thread Miguel Figueiredo

Hello Aslam,

 If you're asking about the last remark, it's just a simple workaround for a
property list management. As an example, you could use this solution: create
a DB table with a OID and string called PROPERTY_NAME. Then use your
favourite O/RM tool to access the database table and allow you to read and
write into it. When you need to find all defined custom properties, just
list the contents of that table.
 Another way to do this, witch I called creepy (you have to figure out how
the persistence model works) in the last mail, was to access slide database
tables, and query them for distinct property names.

Hope this helps,
Miguel Figueiredo

-Original Message-
From: aslam bari [mailto:[EMAIL PROTECTED] 
Sent: quinta-feira, 7 de Setembro de 2006 4:46
To: Slide Users Mailing List
Subject: RE: Getting All Properties Std. and Custom

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


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



RE: Lucene Words Documents Frequency

2006-09-07 Thread Miguel Figueiredo

 Hello again Aslam,

 From my small experience with DASL and Lucene, I inform you that DASL does
not support score or words frequency. To retrieve that information you have
to access Lucene search API.

 Best regards,
 Miguel Figueiredo


-Original Message-
From: Aslam Bari [mailto:[EMAIL PROTECTED] 
Sent: quinta-feira, 7 de Setembro de 2006 4:56
To: slide-user@jakarta.apache.org
Subject: Lucene Words Documents Frequency


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#a61838
17
Sent from the Jakarta Slide - User forum at Nabble.com.


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


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



Re: Fw: CVS check out timed out

2006-09-07 Thread Henning P. Schmiedehausen
Ha Pham [EMAIL PROTECTED] writes:

Slide is now on Subversion. This doesn't seem to be reflected in the
docs. The old CVS was switched off a while ago.

Get the current code from http://svn.apache.org/repos/asf/jakarta/slide/trunk/

Best regards
Henning



--=_NextPart_000_000B_01C6D1B8.4B90B440
Content-Type: text/plain;
   charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

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 -=20
From: Ha Pham=20
To: Slide Developers Mailing List=20
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 =20
No connection could be made because the target machine actively refused =
it=20

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
 
--=_NextPart_000_000B_01C6D1B8.4B90B440--

-- 
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen  INTERMETA GmbH
[EMAIL PROTECTED]+49 9131 50 654 0   http://www.intermeta.de/

RedHat Certified Engineer -- Jakarta Turbine Development  -- hero for hire
   Linux, Java, perl, Solaris -- Consulting, Training, Development

Social behaviour: Bavarians can be extremely egalitarian and folksy.
-- http://en.wikipedia.org/wiki/Bavaria
Most Franconians do not like to be called Bavarians.
-- http://en.wikipedia.org/wiki/Franconia

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



Re: Fw: CVS check out timed out

2006-09-07 Thread Ha Pham
 Thank you very much.
I could check out the code and build it successfully (to get the build and dist 
folders).

But then I don't know how to config so that the release works on Tomcat 5.0.28. 
I did as following:

1. Copy build/lib and built/slide*.jar to webapps/slide/WEB-INF folder 

2. Keep the old config for the binary release 2.1 in Tomcat bundle that I have 
configured to use J2EE store

-- got error java.sql.SQLException: No suitable driver

Could anyone help me with this issue?

Thank you,

Ha Pham



Ha Pham [EMAIL PROTECTED] writes:

Slide is now on Subversion. This doesn't seem to be reflected in the
docs. The old CVS was switched off a while ago.

Get the current code from http://svn.apache.org/repos/asf/jakarta/slide/trunk/

Best regards
Henning



--=_NextPart_000_000B_01C6D1B8.4B90B440
Content-Type: text/plain;
 charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

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 -=20
From: Ha Pham=20
To: Slide Developers Mailing List=20
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 =20
No connection could be made because the target machine actively refused =
it=20

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
 
--=_NextPart_000_000B_01C6D1B8.4B90B440--

-- 
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen  INTERMETA GmbH
[EMAIL PROTECTED]+49 9131 50 654 0   http://www.intermeta.de/

RedHat Certified Engineer -- Jakarta Turbine Development  -- hero for hire
   Linux, Java, perl, Solaris -- Consulting, Training, Development

Social behaviour: Bavarians can be extremely egalitarian and folksy.
-- http://en.wikipedia.org/wiki/Bavaria
Most Franconians do not like to be called Bavarians.
-- http://en.wikipedia.org/wiki/Franconia

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