<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>(code segment) &#187; search</title>
	<atom:link href="http://oldblog.ideseg.com/category/sharepoint/search/feed" rel="self" type="application/rss+xml" />
	<link>http://oldblog.ideseg.com</link>
	<description>se acabarón las espinacas</description>
	<lastBuildDate>Thu, 26 Jan 2012 17:27:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>SharePoint &#8211; csegSearch update 1.5</title>
		<link>http://oldblog.ideseg.com/2007/sharepoint-csegsearch-update-1-5</link>
		<comments>http://oldblog.ideseg.com/2007/sharepoint-csegsearch-update-1-5#comments</comments>
		<pubDate>Mon, 12 Feb 2007 17:48:12 +0000</pubDate>
		<dc:creator>cseg</dc:creator>
				<category><![CDATA[search]]></category>
		<category><![CDATA[sharepoint]]></category>

		<guid isPermaLink="false">/post/SharePoint-csegSearch-update-15.aspx</guid>
		<description><![CDATA[This is a small update of my webpart csegSearch (for SPS 2003) that solves some issues with the custom results. Now are correctly displayed and you can short this. For more info see: csegSearch Installation Guide csegSearch update and TIP csegSearch v1.1 csegSearch &#8211; Adds google type searches to your Sharepoint site &#8211; boolean searches [...]]]></description>
			<content:encoded><![CDATA[<p><P>This is a small update of my webpart csegSearch (for SPS 2003) that solves some issues with the custom results. Now are correctly displayed and you can short this.</P><br />
<P>For more info see:</P><br />
<UL><br />
<LI><A class=TitleLinkStyle href="http://www.ideseg.com/SharePointCsegSearchInstallationGuide.aspx" rel=bookmark>csegSearch Installation Guide</A><br />
<LI>c<A class=TitleLinkStyle href="http://www.ideseg.com/SharePointCsegSearchUpdateAndTIP.aspx" rel=bookmark>segSearch update and TIP</A><br />
<LI><A class=TitleLinkStyle href="http://www.ideseg.com/SharePointCsegSearchV11.aspx" rel=bookmark>csegSearch v1.1 </A><br />
<LI><A class=TitleLinkStyle href="http://www.ideseg.com/SharePointCsegSearchAddsGoogleTypeSearchesToYourSharepointSiteBooleanSearches.aspx" rel=bookmark>csegSearch &#8211; Adds google type searches to your Sharepoint site &#8211; boolean searches </A></LI></UL><br />
<CENTER><IMG src="http://oldblog.ideseg.com/content//csegSearchResults.gif" border=0></CENTER><br />
<P><IMG src="http://oldblog.ideseg.com/content//save_16.gif">&nbsp;<A href="http://oldblog.ideseg.com/content//csegSearchWebPart15.zip"><STRONG>csegSearchWebPart15.zip (12,7 KB)</STRONG></A></P><br />
<P>Prior to update this release, you need uninstall previous versions of csegSearch. </P></p>
]]></content:encoded>
			<wfw:commentRss>http://oldblog.ideseg.com/2007/sharepoint-csegsearch-update-1-5/feed</wfw:commentRss>
		<slash:comments>432</slash:comments>
		</item>
		<item>
		<title>SharePoint &#8211; Using Ajax to retry SPS query results</title>
		<link>http://oldblog.ideseg.com/2006/sharepoint-using-ajax-to-retry-sps-query-results</link>
		<comments>http://oldblog.ideseg.com/2006/sharepoint-using-ajax-to-retry-sps-query-results#comments</comments>
		<pubDate>Fri, 28 Apr 2006 17:44:30 +0000</pubDate>
		<dc:creator>cseg</dc:creator>
				<category><![CDATA[search]]></category>
		<category><![CDATA[sharepoint]]></category>

		<guid isPermaLink="false">/post/SharePoint-Using-Ajax-to-retry-SPS-query-results.aspx</guid>
		<description><![CDATA[This is other sample of how I am using Ajax in&#160;my SharePoint environment (see Using Ajax to query Exchange Server Part 1 and Part 2) , now I&#8217;m using it to improve&#160;my searches&#160;in SPS. First I have added a new page to make the searches, this new page runs under SPS context and it is [...]]]></description>
			<content:encoded><![CDATA[<p><P>This is other sample of how I am using Ajax in&nbsp;my SharePoint environment (see Using Ajax to query Exchange Server <A href="http://www.ideseg.com/SharePointUsingAjaxToQueryExchangeServer1.aspx"><STRONG>Part 1</STRONG></A> and <A href="http://www.ideseg.com/SharePointUsingAjaxToQueryExchangeServer2.aspx"><STRONG>Part 2</STRONG></A>) , now I&#8217;m using it to improve&nbsp;my searches&nbsp;in SPS. </P><br />
<P align=center><IMG src="http://oldblog.ideseg.com/content//ajax_search.gif" border=0></P><br />
<P><BR><BR>First I have added a new page to make the searches, this new page runs under SPS context and it is stored under Layouts directory. This is very&nbsp;basic search page that look at the &#8220;DAV:displayname&#8221; field to locate files that contains a keyword in the name. This page use a query string to get the keyword and the results are written in HTML. (You can use other queries here).<BR>&nbsp;</P><br />
<P>csegAjaxSearch.aspx</P><br />
<DIV class=csharpcode><PRE class=alt><SPAN class=asp>&lt;%@ Page language=&#8221;C#&#8221; Inherits=&#8221;Microsoft.SharePoint.WebPartPages.WebPartPage,<br />
Microsoft.SharePoint,Version=11.0.0.0, Culture=neutral,PublicKeyToken=71e9bce111e9429c&#8221; %&gt;</SPAN></PRE><PRE><SPAN class=asp>&lt;%@ Register Tagprefix=&#8221;SharePoint&#8221; Namespace=&#8221;Microsoft.SharePoint.WebControls&#8221;<br />
Assembly=&#8221;Microsoft.SharePoint, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c&#8221; %&gt;</SPAN> </PRE><PRE class=alt><SPAN class=asp>&lt;%@ Register Tagprefix=&#8221;SharePointPortal&#8221; Namespace=&#8221;Microsoft.SharePoint.Portal&#8221;<br />
Assembly=&#8221;Microsoft.SharePoint.Portal, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c&#8221; %&gt;</SPAN> </PRE><PRE><SPAN class=asp>&lt;%@ Import Namespace=&#8221;Microsoft.SharePoint&#8221; %&gt;</SPAN> </PRE><PRE class=alt><SPAN class=asp>&lt;%@ Import Namespace=&#8221;Microsoft.SharePoint.Utilities&#8221; %&gt;</SPAN> </PRE><PRE><SPAN class=asp>&lt;%@ Import Namespace=&#8221;Microsoft.SharePoint.Portal&#8221; %&gt;</SPAN></PRE><PRE class=alt><SPAN class=asp>&lt;%@ Import Namespace=&#8221;Microsoft.SharePoint.Portal.Topology&#8221; %&gt;</SPAN></PRE><PRE><SPAN class=asp>&lt;%@ Import Namespace=&#8221;Microsoft.SharePoint.Portal.Search&#8221; %&gt;</SPAN></PRE><PRE class=alt><SPAN class=asp>&lt;%@ Import Namespace=&#8221;System.Data&#8221; %&gt;</SPAN></PRE><PRE><SPAN class=asp>&lt;%@ Import Namespace=&#8221;System.Text&#8221; %&gt;</SPAN></PRE><PRE class=alt>&nbsp;</PRE><PRE><SPAN class=asp>&lt;%</SPAN></PRE><PRE class=alt>    TopologyManager topology = <SPAN class=kwrd>new</SPAN> TopologyManager();</PRE><PRE>    PortalSite portal = topology.PortalSites[<SPAN class=kwrd>new</SPAN> Uri(<SPAN class=str>"&lt;USE YOUR SERVER HERE&gt;"</SPAN>)];</PRE><PRE class=alt>    PortalContext context = PortalApplication.GetContext(portal);</PRE><PRE>    QueryProvider qp = <SPAN class=kwrd>new</SPAN> QueryProvider(context.SearchApplicationName);</PRE><PRE class=alt>&nbsp;</PRE><PRE>    <SPAN class=kwrd>string</SPAN> keyword = Request[<SPAN class=str>"k"</SPAN>];</PRE><PRE class=alt>    </PRE><PRE>    <SPAN class=kwrd>if</SPAN>(keyword!=<SPAN class=kwrd>null</SPAN> &amp;&amp; keyword.Trim()!=<SPAN class=str>&#8220;&#8221;</SPAN>)</PRE><PRE class=alt>    {</PRE><PRE>        <SPAN class=kwrd>string</SPAN> queryTemplate = <SPAN class=str>&#8220;SELECT \&#8221;DAV:href\&#8221;, &#8220;</SPAN> +</PRE><PRE class=alt>                               <SPAN class=str>&#8220;\&#8221;DAV:displayname\&#8221;, &#8220;</SPAN> +</PRE><PRE>                               <SPAN class=str>&#8220;\&#8221;urn:schemas.microsoft.com:fulltextqueryinfo:description\&#8221;, &#8220;</SPAN> +</PRE><PRE class=alt>                               <SPAN class=str>&#8220;\&#8221;urn:schemas-microsoft-com:office:office#ows_SiteName\&#8221; &#8220;</SPAN> +</PRE><PRE>                               <SPAN class=str>&#8220;FROM ( TABLE Portal_Content..Scope() &#8220;</SPAN> +</PRE><PRE class=alt>                               <SPAN class=str>&#8220;UNION ALL TABLE Non_Portal_Content..Scope() ) &#8220;</SPAN> +</PRE><PRE>                               <SPAN class=str>&#8220;WHERE CONTAINS(\&#8221;DAV:displayname\&#8221;, &#8216;\&#8221;*&#8221;</SPAN> + <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;keyword.Replace(<SPAN class=str>&#8220;&#8216;&#8221;</SPAN>, <SPAN class=str>&#8220;&#8221;&#8221;</SPAN>).Replace(<SPAN class=str>&#8220;\&#8221;"</SPAN>, <SPAN class=str>&#8220;\&#8221;\&#8221;"</SPAN>) + <SPAN class=str>&#8220;*\&#8221;&#8216;) &#8220;</SPAN>;</PRE><PRE class=alt>        Response.Write(queryTemplate);</PRE><PRE>        </PRE><PRE class=alt>        DataSet ds = qp.Execute(queryTemplate);</PRE><PRE>&nbsp;</PRE><PRE class=alt>        StringBuilder sb = <SPAN class=kwrd>new</SPAN> StringBuilder();</PRE><PRE>    </PRE><PRE class=alt>        <SPAN class=kwrd>if</SPAN>(ds != <SPAN class=kwrd>null</SPAN>)</PRE><PRE>        {</PRE><PRE class=alt>           sb.Append(<SPAN class=str>&#8220;&lt;UL&gt;&#8221;</SPAN>);</PRE><PRE>           <SPAN class=kwrd>foreach</SPAN>(DataRow dr <SPAN class=kwrd>in</SPAN> ds.Tables[0].Rows)</PRE><PRE class=alt>           {</PRE><PRE>              sb.AppendFormat(<SPAN class=str>&#8220;&lt;LI&gt;&lt;A href=&#8217;{0}&#8217;&gt;{1}&lt;/A&gt;&lt;BR/&gt;{2}&lt;BR/&gt;{3}&lt;BR/&gt;&lt;/LI&gt;&#8221;</SPAN>,</PRE><PRE class=alt>                 SPEncode.HtmlEncode(dr[<SPAN class=str>"DAV:href"</SPAN>].ToString()),</PRE><PRE>                 SPEncode.HtmlEncode(dr[<SPAN class=str>"DAV:displayname"</SPAN>].ToString()),</PRE><PRE class=alt>                 SPEncode.HtmlEncode(dr[<SPAN class=str>"urn:schemas.microsoft.com:fulltextqueryinfo:description"</SPAN>].ToString()),</PRE><PRE>                 SPEncode.HtmlEncode(dr[<SPAN class=str>"urn:schemas-microsoft-com:office:office#ows_SiteName"</SPAN>].ToString()));</PRE><PRE class=alt>           }</PRE><PRE>           sb.Append(<SPAN class=str>&#8220;&lt;/UL&gt;&#8221;</SPAN>);</PRE><PRE class=alt>        }</PRE><PRE>        <SPAN class=kwrd>else</SPAN></PRE><PRE class=alt>        {</PRE><PRE>           sb.Append(<SPAN class=str>&#8220;&lt;P&gt;No results&lt;/P&gt;&#8221;</SPAN>);</PRE><PRE class=alt>        }</PRE><PRE>      </PRE><PRE class=alt>        Response.Write(sb.ToString());</PRE><PRE>    }</PRE><PRE class=alt><SPAN class=asp>%&gt;</SPAN>   </PRE></DIV><BR><br />
<P>In a new area of my SPS server I have added a Html Form webpart, that use ajax to return the results. Here is the code.</P><BR><br />
<DIV class=csharpcode><PRE class=alt><SPAN class=kwrd>&lt;</SPAN><SPAN class=html>script</SPAN> <SPAN class=attr>language</SPAN><SPAN class=kwrd>=&#8221;javascript&#8221;</SPAN><SPAN class=kwrd>&gt;</SPAN></PRE><PRE><SPAN class=kwrd>var</SPAN> xmlHttpReq;</PRE><PRE class=alt>&nbsp;</PRE><PRE><SPAN class=kwrd>function</SPAN> initHttpRequest()</PRE><PRE class=alt>{</PRE><PRE>    <SPAN class=kwrd>try</SPAN> </PRE><PRE class=alt>    {</PRE><PRE>        xmlHttpReq = <SPAN class=kwrd>new</SPAN> ActiveXObject(<SPAN class=str>&#8220;Microsoft.XMLHTTP&#8221;</SPAN>);</PRE><PRE class=alt>    }</PRE><PRE>    <SPAN class=kwrd>catch</SPAN>(ex)</PRE><PRE class=alt>    {</PRE><PRE>        xmlHttpReq = <SPAN class=kwrd>null</SPAN>;</PRE><PRE class=alt>    }    </PRE><PRE>}</PRE><PRE class=alt>&nbsp;</PRE><PRE><SPAN class=kwrd>function</SPAN> sendQuery(keywords)</PRE><PRE class=alt>{</PRE><PRE>    <SPAN class=kwrd>var</SPAN> serverUrl = <SPAN class=str>&#8220;http://YOUR SERVER/_layouts/csegAjaxSearch.aspx?k=&#8221;</SPAN> + keywords;</PRE><PRE class=alt>    </PRE><PRE>    initHttpRequest();</PRE><PRE class=alt>   </PRE><PRE>    <SPAN class=kwrd>if</SPAN> (xmlHttpReq != <SPAN class=kwrd>null</SPAN>)</PRE><PRE class=alt>    {</PRE><PRE>        xmlHttpReq.onreadystatechange = checkState;</PRE><PRE class=alt>        xmlHttpReq.open(<SPAN class=str>&#8220;GET&#8221;</SPAN>, serverUrl, <SPAN class=kwrd>true</SPAN>);</PRE><PRE>        xmlHttpReq.send(<SPAN class=kwrd>null</SPAN>);</PRE><PRE class=alt>    }    </PRE><PRE>}</PRE><PRE class=alt>&nbsp;</PRE><PRE><SPAN class=kwrd>function</SPAN> checkState()</PRE><PRE class=alt>{</PRE><PRE>    <SPAN class=rem>// Load completed</SPAN></PRE><PRE class=alt>    <SPAN class=kwrd>if</SPAN> (xmlHttpReq.readyState == 4)  </PRE><PRE>    {</PRE><PRE class=alt>        <SPAN class=rem>// Status OK</SPAN></PRE><PRE>        <SPAN class=kwrd>if</SPAN> (xmlHttpReq.status == 200)</PRE><PRE class=alt>        {</PRE><PRE>            document.getElementById(<SPAN class=str>&#8220;Results&#8221;</SPAN>).innerHTML = xmlHttpReq.responseText;</PRE><PRE class=alt>        }</PRE><PRE>        <SPAN class=rem>// Error</SPAN></PRE><PRE class=alt>        <SPAN class=kwrd>else</SPAN></PRE><PRE>        {</PRE><PRE class=alt>           document.getElementById(<SPAN class=str>&#8220;Results&#8221;</SPAN>).innerHTML = <SPAN class=str>&#8220;&lt;b&gt;There is an error in the service&lt;/b&gt;&#8221;</SPAN>;</PRE><PRE>        }</PRE><PRE class=alt>    }</PRE><PRE>}</PRE><PRE class=alt><SPAN class=kwrd>&lt;/</SPAN><SPAN class=html>script</SPAN><SPAN class=kwrd>&gt;</SPAN></PRE><PRE>&nbsp;</PRE><PRE class=alt><SPAN class=kwrd>&lt;</SPAN><SPAN class=html>form</SPAN> <SPAN class=attr>name</SPAN><SPAN class=kwrd>=&#8221;form&#8221;</SPAN><SPAN class=kwrd>&gt;</SPAN></PRE><PRE>  <SPAN class=kwrd>&lt;</SPAN><SPAN class=html>input</SPAN> <SPAN class=attr>name</SPAN><SPAN class=kwrd>=&#8221;keyword&#8221;</SPAN> <SPAN class=attr>onKeyUp</SPAN><SPAN class=kwrd>=&#8221;sendQuery(this.value)&#8221;</SPAN> <SPAN class=attr>style</SPAN><SPAN class=kwrd>=&#8221;WIDTH:500px&#8221;</SPAN> <SPAN class=attr>autocomplete</SPAN><SPAN class=kwrd>=&#8221;off&#8221;</SPAN><SPAN class=kwrd>&gt;</SPAN></PRE><PRE class=alt>  <SPAN class=kwrd>&lt;</SPAN><SPAN class=html>div</SPAN> <SPAN class=attr>align</SPAN><SPAN class=kwrd>=&#8221;left&#8221;</SPAN> <SPAN class=attr>id</SPAN><SPAN class=kwrd>=&#8221;Results&#8221;</SPAN> <SPAN class=attr>style</SPAN><SPAN class=kwrd>=&#8221;width:100%&#8221;</SPAN><SPAN class=kwrd>&gt;&lt;/</SPAN><SPAN class=html>div</SPAN><SPAN class=kwrd>&gt;</SPAN></PRE><PRE><SPAN class=kwrd>&lt;/</SPAN><SPAN class=html>form</SPAN><SPAN class=kwrd>&gt;</SPAN></PRE></DIV></p>
]]></content:encoded>
			<wfw:commentRss>http://oldblog.ideseg.com/2006/sharepoint-using-ajax-to-retry-sps-query-results/feed</wfw:commentRss>
		<slash:comments>2455</slash:comments>
		</item>
		<item>
		<title>SharePoint &#8211; csegSearch Installation Guide</title>
		<link>http://oldblog.ideseg.com/2005/sharepoint-csegsearch-installation-guide</link>
		<comments>http://oldblog.ideseg.com/2005/sharepoint-csegsearch-installation-guide#comments</comments>
		<pubDate>Thu, 20 Oct 2005 18:11:51 +0000</pubDate>
		<dc:creator>cseg</dc:creator>
				<category><![CDATA[search]]></category>

		<guid isPermaLink="false">/post/SharePoint-csegSearch-Installation-Guide.aspx</guid>
		<description><![CDATA[1.- Load your search.aspx with http://server/search.aspx&#38;Mode=Edit?PageView=Shared 2.- Enter in design mode using &#8220;Modify Shared Page&#8221; menu 3.- Select the csegSearch Webpart and put it on page 4.- Go to the original &#8220;Search Results&#8221; webpart and modify properties, at the end there is a property called ResultListID, it has a list name, remember the name. 5.- [...]]]></description>
			<content:encoded><![CDATA[<p><P>1.- Load your search.aspx with <A href="http://server/search.aspx&amp;Mode=Edit?PageView=Shared">http://server/search.aspx&amp;Mode=Edit?PageView=Shared</A></P><br />
<P>2.- Enter in design mode using &#8220;<STRONG>Modify Shared Page</STRONG>&#8221; menu</P><br />
<P>3.- Select the csegSearch Webpart and put it on page</P><br />
<P align=center><IMG src="http://oldblog.ideseg.com/content//csegSearchInstall-1.gif" border=0></P><br />
<P>4.- Go to the original &#8220;<STRONG>Search Results</STRONG>&#8221; webpart and modify properties, at the end there is a property called <STRONG>ResultListID</STRONG>, it has a list name, remember the name.</P><br />
<P align=center><IMG src="http://oldblog.ideseg.com/content//csegSearchInstall-2.gif" border=0></P><br />
<P>5.- Now delete the original &#8220;<STRONG>Search Results</STRONG>&#8221; </P><br />
<P>6.- Edit the csegSearch properties and locate the <STRONG>ResultListID</STRONG>, write the same name that the old webpart.</P><br />
<P>7.- Add your extended rsults and the colorize color. </P><br />
<P>8.- Apply changes.</P><br />
<P>Try to search anything&#8230;</P></p>
]]></content:encoded>
			<wfw:commentRss>http://oldblog.ideseg.com/2005/sharepoint-csegsearch-installation-guide/feed</wfw:commentRss>
		<slash:comments>2506</slash:comments>
		</item>
		<item>
		<title>SharePoint &#8211; csegSearch update and TIP</title>
		<link>http://oldblog.ideseg.com/2005/sharepoint-csegsearch-update-and-tip</link>
		<comments>http://oldblog.ideseg.com/2005/sharepoint-csegsearch-update-and-tip#comments</comments>
		<pubDate>Wed, 03 Aug 2005 05:54:46 +0000</pubDate>
		<dc:creator>cseg</dc:creator>
				<category><![CDATA[search]]></category>

		<guid isPermaLink="false">/post/SharePoint-csegSearch-update-and-TIP.aspx</guid>
		<description><![CDATA[Some users have reported some small errors with csegSearch, and some doubts, -&#160;the colorize results only runs in the first set of results (fixed)&#160; -&#160;some extended results are in incorrect site (fixed) Try this new version (with care this is not the 1.2 final), first uninstall previous version csegSearchWebPart12.zip (11,45 KB) stsadm –o deletewppack –name [...]]]></description>
			<content:encoded><![CDATA[<p><P>Some users have reported some small errors with csegSearch, and some doubts,</P><br />
<P>-&nbsp;the colorize results only runs in the first set of results (<STRONG><FONT color=#006400>f</FONT><FONT color=#008000>ixed</FONT></STRONG>)&nbsp; <BR>-&nbsp;some extended results are in incorrect site (<STRONG><FONT color=#008000>fixed</FONT></STRONG>)</P><br />
<P>Try this new version (with care this is not the 1.2 final), first uninstall previous version </P><br />
<P><A href="http://oldblog.ideseg.com/content//csegSearchWebPart12.zip">csegSearchWebPart12.zip (11,45 KB)</A></P><br />
<P><EM>stsadm –o deletewppack –name csegSearchWebPart.cab<BR>iisreset</EM></P><br />
<P><EM>Stsadm –a addwppack –filename csegSearchWebPart.cab [-globalinstall –force]<BR>iisreset</EM></P><br />
<P>Plase use the forums to comment bugs and the doubts in <A href="http://foros.ideseg.com">foros.ideseg.com</A></P><br />
<P><STRONG>TIPO: To add a custom property (metadata) in the csegSearchResults</STRONG></P><br />
<P>1.- In “Site Configuration” go to &#8220;Manage Properties of Crawled Content&#8221;, locate the value-type properties in the urn:schemas-microsoft-com:office:office namespace, select the desired custom metadata (ows_METADATA) and check the option, &#8220;Included in the Advanced Search options&#8221;, which exposes the meta property to the Sharepoint Search Service.</P><br />
<P>2.- Edit the Search.aspx with Search.aspx?Mode=Edit&amp;PageView=Shared </P><br />
<P>3.- Export the csegSearch webpart</P><br />
<P>4.- Edit the .dwp file (add your custom metadata to the &lt;QueryTemplateSelectPart&gt;) This is the select part in the query</P><br />
<P>“urn:schemas-microsoft-com:office:office:ows_METADATA”</P><br />
<P>5.- Import the .dwp and put in the Search.aspx page</P><br />
<P>6.- Then in extended results put</P><br />
<P>MyMetadata; urn:schemas-microsoft-com:office:office:ows_METADATA</P></p>
]]></content:encoded>
			<wfw:commentRss>http://oldblog.ideseg.com/2005/sharepoint-csegsearch-update-and-tip/feed</wfw:commentRss>
		<slash:comments>2030</slash:comments>
		</item>
		<item>
		<title>SharePoint &#8211; csegSearch v1.1</title>
		<link>http://oldblog.ideseg.com/2005/sharepoint-csegsearch-v1-1</link>
		<comments>http://oldblog.ideseg.com/2005/sharepoint-csegsearch-v1-1#comments</comments>
		<pubDate>Tue, 26 Jul 2005 22:07:37 +0000</pubDate>
		<dc:creator>cseg</dc:creator>
				<category><![CDATA[search]]></category>

		<guid isPermaLink="false">/post/SharePoint-csegSearch-v11-.aspx</guid>
		<description><![CDATA[Buff, finally csegSearch 1.1 Thanks to Henrik, Raphael, André, Klaus&#160;and Mario for your comments. Fixed/Improvements - Add support to display custom attributes in results view. - Fix the query string parameters- Fix empty Hilight color- Hilight keywords in document title and author- Parser optimization and autofix&#160; OperationWebpart will transform the keywords into sharepoint joining&#160; the [...]]]></description>
			<content:encoded><![CDATA[<p><P>Buff, finally csegSearch 1.1 </P><br />
<P>Thanks to Henrik, Raphael, André, Klaus&nbsp;and Mario for your comments.</P><br />
<P align=center><STRONG><U><IMG src="http://oldblog.ideseg.com/content//csegSearchResults.gif" border=0></U></STRONG></P><br />
<P><STRONG><U>Fixed/Improvements</U></STRONG></P><br />
<P>- Add support to display custom attributes in results view. <BR>- Fix the query string parameters<BR>- Fix empty Hilight color<BR>- Hilight keywords in document title and author<BR>- Parser optimization and autofix&nbsp;</P><br />
<P><STRONG><U>Operation<BR><BR></U></STRONG>Webpart will transform the keywords into sharepoint joining&nbsp; the words with the nexus AND as in google.&nbsp; Internally csegSearch uses a parser engine that tries to correct the syntax of queries. </P><br />
<P></P><br />
<UL><br />
<LI>&nbsp;&nbsp;&nbsp; Supports&nbsp; <B>AND</B>, <B>OR</B> and <B>NOT</B> operators (also short form &amp;,| and !)<br />
<LI>&nbsp;&nbsp;&nbsp; Supports&nbsp; <B>NEAR </B>operator<br />
<LI>&nbsp;&nbsp;&nbsp; Supports&nbsp; Wildcars and brackets<br />
<LI>&nbsp;&nbsp;&nbsp; Supports Special keywords (site, file, status, author)<br />
<LI>&nbsp;&nbsp;&nbsp; Hilights results (now client mode via javascript, support wildcards)<br />
<LI>&nbsp;&nbsp;&nbsp; Extend results easily (add custom)<br />
<LI>&nbsp;&nbsp;&nbsp; Go to folder button</LI></UL><br />
<P><U><B>Special keywords</B>:</U> </P><br />
<P>&nbsp;&nbsp;&nbsp; They are added to the main query using <B>AND</B> operator. And always are considered using the nexus <B>OR</B> among them. Special keywords only works with simple queries.</P><br />
<P>&nbsp;&nbsp;&nbsp; site,&nbsp;author, status, file<BR><BR>&nbsp;&nbsp;&nbsp; Both accept wildcards ej: site:Demo*, file:*.doc</P><br />
<P><U><B>Custom properties</P><br />
<P align=center><IMG src="http://oldblog.ideseg.com/content//csegSearchResults-properties.gif" border=0></P></B></U><br />
<P><FONT color=#0066cc><I>Show Query</I>:</FONT> If checked show the current query (debug purposes)<I><FONT color=#0066cc>.</FONT></I></P><br />
<P><I><FONT color=#0066cc>Show keywords:</FONT></I> If checked show the keywords after parser it.</P><br />
<P><I><FONT color=#0066cc>Extend Results:</FONT></I> To show others attributes in your query results you need edit this property.</P><br />
<P>&lt;Title&gt;;&lt;Search Attribute&gt;,&lt;Tile&gt;;&lt;Search Attribute&gt; &#8230;</P><br />
<P>Example: Modified;DAV:getlastmodified,Description2;urn:schemas.microsoft.com:fulltextqueryinfo</P><br />
<P><BR><I><FONT color=#0066cc>Query where part</FONT></I>: Where part used in queries, you can modify it to use a custom where part.</P><br />
<P><I><FONT color=#0066cc>Colorize color</FONT></I>: Name of the color to hilights results (red, blue etc&#8230;) if empty not colorize.</P><br />
<P><I><FONT color=#0066cc>Go to folder text</FONT></I>: Query results show a new button under documents to go to the folder of document this is the text of button, if empty this button is not showed.</P><br />
<P><I><FONT color=#0066cc>Search text</FONT></I>: If show keywords is enabled this is the text before keywords.</P><br />
<P align=center>Download <A href="http://oldblog.ideseg.com/content//csegSearchWebPart.zip">csegSearchWebPart.zip (12,07 KB)</A></P></p>
]]></content:encoded>
			<wfw:commentRss>http://oldblog.ideseg.com/2005/sharepoint-csegsearch-v1-1/feed</wfw:commentRss>
		<slash:comments>2586</slash:comments>
		</item>
		<item>
		<title>SharePoint &#8211; csegSearch &#8211; Adds google type searches to your Sharepoint site &#8211; boolean searches</title>
		<link>http://oldblog.ideseg.com/2005/sharepoint-csegsearch-adds-google-type-searches-to-your-sharepoint-site-boolean-searches</link>
		<comments>http://oldblog.ideseg.com/2005/sharepoint-csegsearch-adds-google-type-searches-to-your-sharepoint-site-boolean-searches#comments</comments>
		<pubDate>Tue, 26 Jul 2005 17:46:56 +0000</pubDate>
		<dc:creator>cseg</dc:creator>
				<category><![CDATA[search]]></category>
		<category><![CDATA[sharepoint]]></category>

		<guid isPermaLink="false">/post/SharePoint-csegSearch-Adds-google-type-searches-to-your-Sharepoint-site-boolean-searches-.aspx</guid>
		<description><![CDATA[This webpart allows to make searches GOOGLE&#160; type in sharepoint. In the first place I would like to thank&#160; Mattiew Cosier since to a large extent I have been inspired by his work. And Gustavo to test the webpart in your systems.This webpart is a subclass of the webpart included in sharepoint called SearchResults. Baically, [...]]]></description>
			<content:encoded><![CDATA[<p>This webpart allows to make searches <FONT color=#0000ff><B>GOOGLE</B></FONT>&nbsp; type in sharepoint. <BR><BR>In the first place I would like to thank&nbsp; Mattiew Cosier since to a large extent I have been inspired by his work. And Gustavo to test the webpart in your systems.<BR><BR>This webpart is a subclass of the webpart included in sharepoint called SearchResults. Baically, csegSearch&nbsp;&nbsp; transforms the keywords and&nbsp; gives them the correct syntax to be used with the predicate CONTAINS of the Sharepoint searches..<BR><BR>Being a subclass of SearchResults we can interchange them and&nbsp; continue using the adavanced searches and the management searches.<BR><br />
<P align=center><IMG src="http://oldblog.ideseg.com/content//r_csegSearch1.jpg" border=0> </P><BR><B><U>Installation</U><BR></B><BR>This webpart settles like a normal webpart..<BR><B><FONT face="Lucida Console" size=2><BR>Stsadm -o addwppack -filename csegSearchWebPart.cab [ -globalinstall -force ]</FONT></B><BR><BR>Once installed we need to modify the search.aspx page and to change webpart SearchResults by csegSearch (<A href="http://www.ideseg.com/files/csegSearchInstall.wmv">see installation video</A>)<BR><BR>In the properties of csegSearch, we will change the name of the list by &#8220;sch&#8221; in order to use advanced search management (sort and group)<BR><br />
<P align=center><IMG src="http://oldblog.ideseg.com/content//o_csegSearch.jpg" border=0></P><BR><U><B>Operation</B><BR></U><BR>Webpart will transform the keywords into sharepoint joining&nbsp; the words with the nexus AND as in google.&nbsp; Internally csegSearch uses a parser engine that tries to correct the syntax of queries.<br />
<P></P><br />
<UL><br />
<LI>&nbsp;&nbsp;&nbsp; Supports&nbsp; <B>AND</B>, <B>OR</B> and <B>NOT</B> operators (also short form &amp;,| and !)<br />
<LI>&nbsp;&nbsp;&nbsp; Supports&nbsp; <B>NEAR </B>operator<br />
<LI>&nbsp;&nbsp;&nbsp; Supports&nbsp; Wildcars and brackets<br />
<LI>&nbsp;&nbsp;&nbsp; Supports Special keywords (site and file)<br />
<LI>&nbsp;&nbsp;&nbsp; Hilights results.</LI></UL><br />
<P><B>Special keywords</B>: </P><br />
<P>&nbsp;&nbsp;&nbsp; They are added to the main query using <B>AND</B> operator. And always are considered using the nexus <B>OR</B> among them. Special keywords only works with simple queries.</P><br />
<P>&nbsp;&nbsp;&nbsp; site:<SITENAME> <BR>&nbsp;&nbsp;&nbsp; file:<FILETYPE name="" the="" of="" part="" or=""></FILETYPE></SITENAME></P><br />
<P>&nbsp;&nbsp;&nbsp; Both accept wildcards ej: site:Demo*, file:*.doc</P><br />
<P><U><B>Custom properties</B></U></P><br />
<P><FONT color=#0066cc><I>Debug query</I>:</FONT> If checked show the current query<I><FONT color=#0066cc>.</FONT></I></P><br />
<P><I><FONT color=#0066cc>Debug keywords:</FONT></I> If checked show the keywords after parser it.</P><br />
<P><I><FONT color=#0066cc>Query where part</FONT></I>: Where part used in queries, you can modify it to use a custom where part.</P><br />
<P><I><FONT color=#0066cc>Open links in a new window</FONT></I>: If checked when click a result its show in a new window.</P><br />
<P><I><FONT color=#0066cc>Colorize color</FONT></I>: Name of the color to hilights results (red, blue etc&#8230;) if empty not colorize.</P><br />
<P><I><FONT color=#0066cc>Go to folder text</FONT></I>: Query results show a new button under documents to go to the folder of document this is the text of button, if empty this button is not showed.</P><br />
<P>Sample Queries</P><br />
<CENTER><br />
<TABLE id=table1 width="60%" border=0><br />
<TBODY><br />
<TR style="BACKGROUND-COLOR: #9999ff"><br />
<TD width="30%"><B><FONT face=Tahoma size=2>Input Keywords </FONT></B></TD><br />
<TD width="30%"><B><FONT face=Tahoma size=2>Result Query</FONT></B></TD></TR><br />
<TR><br />
<TD><FONT face=Tahoma size=2>red car</FONT></TD><br />
<TD width=1028><FONT face=Tahoma size=2>&#8220;red&#8221; AND &#8220;car&#8221;</FONT></TD></TR><br />
<TR><br />
<TD><FONT face=Tahoma size=2>&#8220;red car&#8221;</FONT></TD><br />
<TD width=1028><FONT face=Tahoma size=2>&#8220;red car&#8221;</FONT></TD></TR><br />
<TR><br />
<TD><FONT face=Tahoma size=2>red car big</FONT></TD><br />
<TD><FONT face=Tahoma size=2>&#8220;red&#8221; AND &#8220;car&#8221; AND &#8220;big&#8221;</FONT></TD></TR><br />
<TR><br />
<TD><FONT face=Tahoma size=2>red car or big</FONT></TD><br />
<TD><FONT face=Tahoma size=2>&#8220;red&#8221; AND &#8220;car&#8221; OR &#8220;big&#8221;</FONT></TD></TR><br />
<TR><br />
<TD><FONT face=Tahoma size=2>red (car or moto)</FONT></TD><br />
<TD><FONT face=Tahoma size=2>&#8220;red&#8221; AND (&#8220;car&#8221; OR &#8220;moto&#8221;)</FONT></TD></TR><br />
<TR><br />
<TD><FONT face=Tahoma size=2>red car not big</FONT></TD><br />
<TD><FONT face=Tahoma size=2>(&#8220;red&#8221; AND &#8220;car&#8221;) AND NOT &#8220;big&#8221; </FONT></TD></TR><br />
<TR><br />
<TD><FONT face=Tahoma size=2>red and and car</FONT></TD><br />
<TD><FONT face=Tahoma size=2>&#8220;red&#8221; AND &#8220;car&#8221;</FONT></TD></TR><br />
<TR><br />
<TD><FONT face=Tahoma size=2>red car&nbsp; or not big</FONT></TD><br />
<TD><FONT face=Tahoma size=2>&#8220;red&#8221; AND &#8220;car&#8221; OR &#8220;big&#8221; </FONT></TD></TR><br />
<TR><br />
<TD><FONT face=Tahoma size=2>red car site:Demo* site:Test* file:doc</FONT></TD><br />
<TD><FONT face=Tahoma size=2>&#8220;red&#8221; AND &#8220;car&#8221; AND (Site contains Demo* OR Site contains Test*) AND file contains doc</FONT></TD></TR></TBODY></TABLE></CENTER><br />
<P>I wait for your commentaries and suggestions for future versions</P><br />
<P><A href="http://www.ideseg.com/CategoryView,category,csegSearch.aspx"><STRIKE>Download csegSearch</STRIKE>&nbsp;&nbsp; <FONT face=Arial color=#ff0000 size=3><STRONG>Updated</STRONG></FONT></A></P></p>
]]></content:encoded>
			<wfw:commentRss>http://oldblog.ideseg.com/2005/sharepoint-csegsearch-adds-google-type-searches-to-your-sharepoint-site-boolean-searches/feed</wfw:commentRss>
		<slash:comments>2047</slash:comments>
<enclosure url="http://www.ideseg.com/files/csegSearchInstall.wmv" length="1921" type="video/asf" />
		</item>
	</channel>
</rss>

