From nohinder@yahoo.com Mon May 5 08:43:33 2008 From: Gabriela Radu To: xwiki-users@xwiki.org Subject: [xwiki-users] looking for answers? Date: Sun, 04 May 2008 23:43:08 -0700 Message-ID: <634907.72900.qm@web36107.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8798432555623581833==" --===============8798432555623581833== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable hello. i found this on the official website of xwiki ( http://dev.xwiki.org/x= wiki/bin/view/Design/DistributedXWikiSearchEngine ) - was this developed? " Week 11-12: Implementation of customized search depe= nding on document types, Code documentation and User documentation" still in strungle with search thing. if i copy the code from the FAq from the= website. it does absolutely nothing. if i use Lucene Search it appears to do= the search but it does not show them. does anyone have a clue about these things? and why the don't work? :-| Take care , Gabriela Radu :) www.gabrielaradu.com =20 --------------------------------- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it no= w. --===============8798432555623581833==-- From vincent@massol.net Tue May 6 00:23:09 2008 From: Vincent Massol To: xwiki-users@xwiki.org Subject: Re: [xwiki-users] looking for answers? Date: Tue, 06 May 2008 00:22:59 +0200 Message-ID: <4E339F9F-A79F-4322-9CA4-80883990B98D@massol.net> In-Reply-To: <634907.72900.qm@web36107.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4904230214576377734==" --===============4904230214576377734== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi Gabriela, On May 5, 2008, at 8:43 AM, Gabriela Radu wrote: > hello. i found this on the official website of xwiki ( http://dev.xwiki.org= /xwiki/bin/view/Design/DistributedXWikiSearchEngine=20 > ) > > - was this developed? " Week 11-12: Implementation of customized =20 > search depending on document types, Code documentation and User =20 > documentation" Not yet. It's a google summer of code 2008 that will start in a few =20 days/weeks. > > still in strungle with search thing. if i copy the code from the FAq =20 > from the website. it does absolutely nothing. if i use Lucene Search =20 > it appears to do the search but it does not show them. > > does anyone have a clue about these things? and why the don't =20 > work? :-| They do work, since it works on xwiki.org and on any XWiki Enterprise =20 that you install. As I told you in some previous email the best is to look at how it's =20 done in the Main.WebSearch page for example. Thanks -Vincent --===============4904230214576377734==-- From nohinder@yahoo.com Tue May 6 08:57:00 2008 From: Gabriela Radu To: xwiki-users@xwiki.org Subject: [xwiki-users] show results Date: Mon, 05 May 2008 23:56:36 -0700 Message-ID: <619759.93586.qm@web36102.mail.mud.yahoo.com> In-Reply-To: <4E339F9F-A79F-4322-9CA4-80883990B98D@massol.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4217638380655354152==" --===============4217638380655354152== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable i was blabling about XWiki.Results and asked about it. this is what i needed = and asked: (the code from the results so that i can see my results).(did not have this c= ode) #set($showdata =3D 0) #set($formatDate =3D "yyyy MMMM dd, HH:mm") ## WARNING: Do not add any empty line inside the table element. This will pot= entially break=20 ## the Javascript we're using for filtering/sorting columns. It might work in= FF but will break ## in other browsers like IE. This is because empty lines add

elements ## when rendered. #if($isScored) #end #if($xwiki.hasAdminRights()) #end #foreach ($item in $list) #set($troubi =3D "non") #if ($xwiki.hasAccessLevel("view", $context.user, "${context.database}:= ${item}")) #if ($item.class =3D=3D "class java.lang.String") #set($bentrydoc =3D $xwiki.getDocument($item)) #elseif ($item.class =3D=3D "class com.xpn.xwiki.plugin.lucene.Search= Result") =20 #set($bentrydoc =3D $item) #end #set($cclass =3D $xwiki.getDocument("XWiki.XWikiComments").getxWikiCl= ass()) #set($comment =3D $cclass.newObject()) #if($xwiki.getWebPreferenceAsInt("commentsorder",1)=3D=3D0) #set($comments =3D $bentrydoc.getComments()) #else #set($comments =3D $bentrydoc.getComments(false)) #end #set($createur =3D $xwiki.getUserName($bentrydoc.author)) #set($ptitle =3D $bentrydoc.getDisplayTitle()) #if ($isScored) #set ($bentrydoc =3D $xwiki.getDocument("${bentrydoc.web}.${bentryd= oc.name}")) #end #if($xwiki.hasAdminRights()) #end #end #end
Page Space Date Last AuthorScoreActions
=20 ## LUCENE : entries are typed #if ($bentrydoc.type) #if ($bentrydoc.type =3D=3D "attachment") 3D"download" ${bentrydoc.file= name}\\ Attachment of=20 #end #end #if($comments.size()>0) =20 #set($i =3D 0) =20 #set($cobj =3D $comments.get($i)) =20 #set($comment =3D $bentrydoc.display("comment", "view", $cobj)) = #set($date =3D $cobj.getXWikiObject().get("date").value) #if($date) #set($date2 =3D $!xwiki.formatDate($date,"yyyy MM dd HH:mm:ss")= ) #end #if($bentrydoc) #set($date1 =3D $!xwiki.formatDate($!bentrydoc.date,"yyyy MM dd= HH:mm:ss") ) #end #if($date1.equals($date2) ) [$ptitle>${bentrydoc.web}.$bentrydoc.name] - 1 new comment<= /em> #set($troubi =3D"oui") #set($desc =3D $cobj.getXWikiObject().get("comment").value) #else [$bentrydoc.name>${bentrydoc.web}.$bentrydoc.name] #if ($ptitle= !=3D $bentrydoc.name) - $ptitle#end #end #else =20 #set($comment =3D "") =20 [$bentrydoc.name>${bentrydoc.web}.$bentrydoc.name.replaceAll("@",= "%40")] #if ($ptitle !=3D $bentrydoc.name) - $ptitle#end #end =20 [$bentrydoc.web>${bentrydoc.web}.WebHome] =20 $xwiki.formatDate($bentrydoc.date,"yyyy MMM dd") at $xwiki.formatDa= te($bentrydoc.date,"HH:mm") #if($troubi =3D=3D"oui") #set($createur =3D $xwiki.getUserName($cobj.author) ) #end #if ($createur =3D=3D "XWikiGuest") Guest #else $createur #end #set($resval=3D$bentrydoc.score*100) #set($starurl=3D$xwiki.getSkinFile("icons/search/star.png")) #set($star =3D "3D'$resval'") $bentrydoc.score #if($resval>10) $star #end #if($resval>20) $star #end #if($resval>40) $star #end #if($resval>60) $star #end #if($resval>90) $star #end #set ($perc =3D $resval.toString()) =20 ${perc.substring(0, $perc.indexOf("."))}% =20 Copy - Delete - Rename - Righ= ts
Take care , Gabriela Radu :) www.gabrielaradu.com =20 --------------------------------- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it no= w. --===============4217638380655354152==-- From vincent@massol.net Tue May 6 16:27:01 2008 From: Vincent Massol To: xwiki-users@xwiki.org Subject: Re: [xwiki-users] show results Date: Tue, 06 May 2008 16:26:52 +0200 Message-ID: <48302186-B491-4CAB-B661-7C9EDE437960@massol.net> In-Reply-To: <619759.93586.qm@web36102.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3367955545622465658==" --===============3367955545622465658== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Hi Gabriela, On May 6, 2008, at 8:56 AM, Gabriela Radu wrote: > i was blabling about XWiki.Results and asked about it. this is what > i needed and asked: > (the code from the results so that i can see my results).(did not > have this code) Sorry can you tell us exactly what is your problem? You seem to have copied the XWiki.Results page below but I'm not sure why you did that... Thanks -Vincent [snip - XWiki.Results here] --===============3367955545622465658==-- From nohinder@yahoo.com Tue May 6 16:30:37 2008 From: Gabriela Radu To: xwiki-users@xwiki.org Subject: Re: [xwiki-users] show results Date: Tue, 06 May 2008 07:30:17 -0700 Message-ID: <801891.38754.qm@web36102.mail.mud.yahoo.com> In-Reply-To: <48302186-B491-4CAB-B661-7C9EDE437960@massol.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2005691599092581223==" --===============2005691599092581223== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable i did not have that page. i have a changed xwiki platform and this page was d= eleted. that is what i wanted Vincent Massol wrote: Hi Gabriela, On May 6, 2008, at 8:56 AM, Gabriela Radu wrote: > i was blabling about XWiki.Results and asked about it. this is what =20 > i needed and asked: > (the code from the results so that i can see my results).(did not =20 > have this code) Sorry can you tell us exactly what is your problem? You seem to have =20 copied the XWiki.Results page below but I'm not sure why you did that... Thanks -Vincent [snip - XWiki.Results here] _______________________________________________ users mailing list users(a)xwiki.org http://lists.xwiki.org/mailman/listinfo/users Take care , Gabriela Radu :) www.gabrielaradu.com =20 --------------------------------- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it no= w. --===============2005691599092581223==-- From vincent@massol.net Tue May 6 17:07:27 2008 From: Vincent Massol To: xwiki-users@xwiki.org Subject: Re: [xwiki-users] show results Date: Tue, 06 May 2008 17:07:21 +0200 Message-ID: In-Reply-To: <801891.38754.qm@web36102.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3728766249541375872==" --===============3728766249541375872== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit On May 6, 2008, at 4:30 PM, Gabriela Radu wrote: > i did not have that page. i have a changed xwiki platform and this > page was deleted. that is what i wanted Sorry I still don't understand what question you are asking the community... Thanks -Vincent > Vincent Massol wrote: Hi Gabriela, > > On May 6, 2008, at 8:56 AM, Gabriela Radu wrote: > >> i was blabling about XWiki.Results and asked about it. this is what >> i needed and asked: >> (the code from the results so that i can see my results).(did not >> have this code) > > Sorry can you tell us exactly what is your problem? You seem to have > copied the XWiki.Results page below but I'm not sure why you did > that... > > Thanks > -Vincent > > [snip - XWiki.Results here] --===============3728766249541375872==-- From webmaster@environmentalchange.net Wed May 7 09:09:33 2008 From: "[Ricardo Rodriguez] Your EPEC Network ICT Team" To: xwiki-users@xwiki.org Subject: Re: [xwiki-users] show results Date: Wed, 07 May 2008 09:09:08 +0200 Message-ID: <48215594.4000302@environmentalchange.net> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2868072986100414437==" --===============2868072986100414437== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Hi Vincent, Vincent Massol wrote: > On May 6, 2008, at 4:30 PM, Gabriela Radu wrote: > > >> i did not have that page. i have a changed xwiki platform and this >> page was deleted. that is what i wanted >> > > Sorry I still don't understand what question you are asking the > community... > > Thanks > -Vincent I think, Gabriela will confirm or deny this, that the "only" problem was that she deleted by error the page XWiki.Results and she was struggling to get it back. Finally she created it again by copy-pasting the code (I don't know why she didn't use the trash bin or reimport it from the default xar). Hope this helps to close this issue, Ricardo -- Ricardo Rodríguez Your EPEC Network ICT Team --===============2868072986100414437==--