This link has been bookmarked by 63 people . It was first bookmarked on 14 Sep 2007, by Harjeet Singh.
-
30 Mar 12
-
25 Jan 12
-
27 Sep 11
-
Jochen FrommSolr is an enterprise-ready, Lucene-based search server that supports faceted searching, hit highlighting, and multiple output formats. In this two-part article, Lucene Java™ committer Grant Ingersoll introduces Solr and shows you how to easily incorporat
-
14 Jul 11
-
20 May 11
-
29 Apr 11
-
26 Mar 11
-
27 Dec 10
-
06 Dec 10
-
08 Oct 10
-
Connecting your users with the content they need when they need it isn't just optional anymore. With the rise of Google and similarly sophisticated search engines, users expect high-quality search results that help them find what they're looking for quickly and easily. Your manager has equally high expectations for your online shopping site -- a scalable, highly available, easy-to-maintain search solution that doesn't cost a fortune to install. As for you, you just want to advance your career, keep your employer and customers happy, and hold on to your sanity.
You can meet all these needs with Apache Solr, an open source, Lucene
-
-
09 Aug 10
-
09 Apr 10
-
02 Feb 10
-
22 Dec 09
-
12 Dec 09
-
18 Nov 09
-
12 Nov 09
-
16 Oct 09
-
22 Sep 09
-
20 Jul 09
-
29 Jun 09
-
22 Apr 09
-
16 Mar 09
-
10 Jan 09
-
03 Oct 08
Danny armstrongSolr is an enterprise-ready, Lucene-based search server that supports faceted searching, hit highlighting, and multiple output formats. In this two-part article, Lucene Java committer Grant Ingersoll introduces Solr and shows you how to easily incorporate its impressive full-text search functionality into your Web applications." /><meta name="Keywords" content="Solr, Lucene, Lucene-based, Apache, Jakarta, open source, search engine library, search server, full-text, text-based, searching, whitespace removal, stemming, synonym expansion, case folding, tokenizer, indexing, faceted browsing, hit highlighting, index, fields, types, Ant, Jetty, Curl, Tomcat, declarations, search parameters, schema, config, schema.xml, enterprise, Web application, output, XML/XSLT, JSON, administration, configuration, performance, caching, replication, logging, Grant Ingersoll, tttjca, tttosca" /><meta name="DC.Date" scheme="iso8601" content="2007-05-29" /><meta name="DC.Type" scheme="IBM_ContentClassTaxonomy" content="CT316" /><meta name="DC.Subject" scheme="IBM_SubjectTaxonomy" content="TT300" /><meta name="DC.Rights" content="Copyright (c) 2007 by IBM Corporation" /> <meta name="Robots" content="index,follow" /><meta name="IBM.Effective" scheme="W3CDTF" content="2007-05-29" /><meta name="Last update" content="02062008mwfergus@us.ibm.com
-
Search smarter with Apache Solr, Part 1: Essential features and the Solr schema
-
q=myField:Java AND otherField:developerWorks; date asc
This query searches the two fields specified and sorts the results based on a date field. -
When
hl=true, highlight snippets in the query response.
-
-
10 Sep 08
-
09 Sep 08
-
31 Aug 08
-
17 Jul 08
-
12 Mar 08
-
Listing 2. Example of a search result
-
<!-- catchall field, containing many of the other searchable text fields (implemented via copyField further on in this schema) --> <field name="all" type="text" indexed="true" stored="true" multiValued="true"/>
-
-
11 Mar 08
-
03 Mar 08
-
06 Feb 08
-
05 Feb 08
-
21 Jan 08
-
04 Jan 08
-
20 Dec 07
-
26 Nov 07
-
16 Nov 07
-
24 Oct 07
-
23 Oct 07
-
10 Oct 07
-
08 Oct 07
-
14 Sep 07
-
<table border="0" cellpadding="0" width="100%" cellspacing="0" id="content-table"><tbody><tr valign="top"><td width="100%"><table border="0" cellpadding="0" width="100%" cellspacing="0"><tbody><tr valign="top"><td width="100%"><h1><span style="color: rgb(153, 153, 153);">Search smarter with Apache Solr, Part 1: </span>Essential features and the Solr schema</h1><p id="subtitle"><em>Indexing, searching, and faceted browsing with Solr</em></p><img class="display-img" src="http://www.ibm.com/i/c.gif" height="6" width="1" alt=""></td><td class="no-print" width="192"><a rel="nofollow" href="http://www.ibm.com/developerworks/"><img border="0" src="http:/developerworks/i/dw.gif" height="18" width="192" alt="developerWorks"></a></td></tr></tbody></table></td></tr></tbody></table><table border="0" cellpadding="0" width="100%" cellspacing="0"><tbody><tr valign="top"><td width="10"><img src="http://www.ibm.com/i/c.gif" height="1" width="10" alt=""></td><td width="100%"><table class="no-print" border="0" cellpadding="0" width="160" cellspacing="0" align="right"><tbody><tr><td width="10"><img src="http://www.ibm.com/i/c.gif" height="1" width="10" alt=""></td><td><table border="0" cellpadding="0" width="150" cellspacing="0"><tbody><tr><td class="v14-header-1-small">Document options</td></tr></tbody></table><table class="v14-gray-table-border" border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="no-padding" width="150"><noscript></noscript><noscript><tr valign="top"><td width="8"><img src="http://www.ibm.com/i/c.gif" height="1" width="8" alt="" /></td><td width="16"><img src="http://www.ibm.com/i/c.gif" height="16" width="16" alt="" /></td><td class="small" width="122"><p><span class="ast">Document options requiring JavaScript are not displayed</span></p></td></tr></noscript><table border="0" cellpadding="0" width="143" cellspacing="0"><script language="JavaScript" type="text/javascript"><br/><!--<br/>document.write('<tr valign="top"><td width="8"><img src="http://www.ibm.com/i/c.gif" width="8" height="1" alt=""/></td><td width="16"><img alt="Set printer orientation to landscape mode" height="16" src="http://www.ibm.com/i/v14/icons/printer.gif" width="16" vspace="3" /></td><td width="122"><p><b><a class="smallplainlink" href="http://www.ibm.com/javascript:print()">Print this page</a></b></p></td></tr>');<br/>//--><br/></script><tbody><tr valign="top"><td width="8"><img src="http://www.ibm.com/i/c.gif" height="1" width="8" alt=""></td><td width="16"><img src="http://www.ibm.com/i/v14/icons/printer.gif" vspace="3" height="16" width="16" alt="Set printer orientation to landscape mode"></td><td width="122"><p><b><a rel="nofollow" href="http://www.ibm.com/javascript:print()" class="smallplainlink">Print this page</a></b></p></td></tr><br/><script language="JavaScript" type="text/javascript"><br/><!-- 5.6 10/24 llk: added cdata around the subdirectory path of email gif--><br/><!--<br/>document.write('<tr valign="top"><td width="8"><img src="http://www.ibm.com/i/c.gif" width="8" height="1" alt=""/></td><td width="16"><img src="http://www.ibm.com/i/v14/icons/em.gif" height="16" width="16" vspace="3" alt="Email this page" /></td><td width="122"><p><a class="smallplainlink" href="http://www.ibm.com/javascript:void newWindow()"><b>E-mail this page</b></a></p></td></tr>');<br/>//--><br/></script><tr valign="top"><td width="8"><img src="http://www.ibm.com/i/c.gif" height="1" width="8" alt=""></td><td width="16"><img src="http://www.ibm.com/i/v14/icons/em.gif" vspace="3" height="16" width="16" alt="Email this page"></td><td width="122"><p><a rel="nofollow" href="http://www.ibm.com/javascript:void newWindow()" class="smallplainlink"><b>E-mail this page</b></a></p></td></tr><tr valign="top"><td width="8"><img src="http://www.ibm.com/i/c.gif" height="1" width="8" alt=""></td><td width="16"><img border="0" src="http://www.ibm.com/i/v14/icons/dn.gif" vspace="3" height="16" width="16" alt=""></td><td width="122"><p><a rel="nofollow" class="smallplainlink" href="http://www.ibm.com/#download"><b>Sample code</b></a></p></td></tr></tbody></table></td></tr></tbody></table><!--START RESERVED FOR FUTURE USE INCLUDE FILES--><!-- 08/27/07 refreshed by jill, per MOC --> <br/><br/><br><table border="0" cellpadding="0" width="150" cellspacing="0"><tbody><tr><td class="v14-header-2-small">Watch these demos</td></tr></tbody></table><table class="v14-gray-table-border" border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="no-padding" width="150"><table border="0" cellpadding="0" width="143" cellspacing="0"><tbody><tr valign="top"><td width="8"><img src="http://www.ibm.com/i/c.gif" height="1" width="8" alt=""></td><td><img border="0" src="http://www.ibm.com/i/v14/icons/fw_bold.gif" vspace="3" height="16" width="16" alt=""></td><td width="125"><p><a rel="nofollow" class="smallplainlink" href="http://www.ibm.com/developerworks/integrate/demos/index.html?S_TACT=105AGX01&S_CMP=HP">Integrate new tools and architectures into your environment -- fast!</a><br/></p></td></tr></tbody></table></td></tr></tbody></table><!--END RESERVED FOR FUTURE USE INCLUDE FILES--><br><table border="0" cellpadding="0" width="150" cellspacing="0"><tbody><tr><td class="v14-header-2-small">Rate this page</td></tr></tbody></table><table class="v14-gray-table-border" border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="no-padding" width="150"><table border="0" cellpadding="0" width="143" cellspacing="0"><tbody><tr valign="top"><td width="8"><img src="http://www.ibm.com/i/c.gif" height="1" width="8" alt=""></td><td><img border="0" src="http://www.ibm.com/i/v14/icons/d_bold.gif" vspace="3" height="16" width="16" alt=""></td><td width="125"><p><a rel="nofollow" class="smallplainlink" href="http://www.ibm.com/#rate"><b>Help us improve this content</b></a></p></td></tr></tbody></table></td></tr></tbody></table><br></td></tr></tbody></table><p>Level: Intermediate</p><p><a rel="nofollow" href="http://www.ibm.com/#author">Grant Ingersoll</a> (<a rel="nofollow" href="http://www.ibm.com/mailto:solr@grantingersoll.com?subject=Essential%20features%20and%20the%20Solr%20schema&cc=jaloi@us.ibm.com">solr@grantingersoll.com</a>), Senior software engineer, Center for Natural Language Processing at Syracuse University<br></p><p> 29 May 2007</p><blockquote>Solr is an enterprise-ready, Lucene-based search server<br/>that supports faceted searching, hit highlighting, and multiple output<br/>formats. In this two-part article, Lucene Java™ committer Grant Ingersoll<br/>introduces Solr and shows you how to easily incorporate its impressive full-text search functionality into your Web applications.</blockquote><!--START RESERVED FOR FUTURE USE INCLUDE FILES--><script language="JavaScript" type="text/javascript"><br/><!--<br/>if (document.referrer&&document.referrer!="") { <br/> // document.write(document.referrer);<br/> var q = document.referrer;<br/> var engine = q;<br/> var isG = engine.search(/google\.com/i);<br/> var searchTerms;<br/> //var searchTermsForDisplay;<br/> if (isG != -1) { <br/> var i = q.search(/q=/);<br/> var q2 = q.substring(i+2);<br/> var j = q2.search(/&/);<br/> j = (j == -1)?q2.length:j;<br/> searchTerms = q.substring(i+2,i+2+j);<br/> if (searchTerms.length != 0) {<br/> searchQuery(searchTerms);<br/> document.write("<div id=\"contents\"></div>");<br/> }<br/> } <br/>}<br/>//--><br/></script><!--END RESERVED FOR FUTURE USE INCLUDE FILES--><br/> <p>Connecting your users with the content they need when they need it isn't<br/>just optional anymore. With the rise of Google and similarly sophisticated<br/>search engines, users expect high-quality search results that help them find<br/>what they're looking for quickly and easily. Your manager has equally high<br/>expectations for your online shopping site -- a scalable, highly available,<br/>easy-to-maintain search solution that doesn't cost a fortune to install. As<br/>for you, you just want to advance your career, keep your employer and<br/>customers happy, and hold on to your sanity.</p><br/> <p>You can meet all these needs with Apache Solr, an open source, Lucene<br/>Java-based search server that is easy to incorporate into your Web<br/>applications. Solr offers faceted searching, hit highlighting, and support<br/>for multiple output formats, including XML/XSLT and JSON. It is easy to<br/>install and configure and comes with an HTTP-based administration interface.<br/>You can stick with Solr's basic search functionality, which is impressive,<br/>or extend it to meet the needs of your enterprise. Solr also has a vibrant<br/>developer community that you can call on for help if you need it.</p><br/> <p>This two-part article introduces Solr, demonstrates its features,<br/>and shows you how to fully incorporate it into an example Web application.<br/>I'll start with a basic introduction to Solr, including installation and<br/>configuration instructions. I'll then introduce an example application (a<br/>blogging interface) that you can use to familiarize yourself with Solr's<br/>features. You'll learn how to use Solr to index and search content and<br/>explore Solr's support for faceted browsing. I'll conclude Part 1 with a<br/>look at Solr's schema and an explanation of how it is configured for the<br/>example application's index structure.</p><br/> <table border="0" cellpadding="0" width="40%" cellspacing="0" align="right"><tbody><tr><td width="10"><img src="http://www.ibm.com/i/c.gif" height="1" width="10" alt=""></td><td><table border="1" cellpadding="5" width="100%" cellspacing="0"><tbody><tr><td bgcolor="#eeeeee"><br/> <a rel="nofollow" name="N1007B"><b>Solr's history</b></a><br><br/>Solr was first developed at CNET Networks and donated to the Apache Software<br/>Foundation in early 2006 under the Lucene top-level project umbrella. During<br/>its incubation period, which ended in January 2007, Solr steadily<br/>accumulated features and attracted a robust community of users,<br/>contributors, and committers. Done with incubation, Solr is now a<br/>subproject of <a rel="nofollow" href="http://www.ibm.com/#lucene">Lucene</a>, Apache's Java-based full-text<br/>search engine library.</td></tr></tbody></table></td></tr></tbody></table><br/> <p><a rel="nofollow" name="N10085"><span class="atitle">Installation and configuration</span></a></p><br/> <p>You must have the following software installed to get started<br/>with Solr:</p><br/> <ul><br/> <li><br/> <a rel="nofollow" href="http://www.ibm.com/#resources">Java 1.5</a> or higher.<br><br/> <br><br/> </li><br/> <li><br/> <a rel="nofollow" href="http://www.ibm.com/#resources">Ant 1.6.x</a> or higher. <br><br/> <br><br/> </li><br/><br/> <li>A Web browser, which you will use to view the administration pages. <a rel="nofollow" href="http://www.ibm.com/#resources">Firefox</a> is recommended; your mileage may vary with<br/>Internet Explorer.<br><br/> <br><br/> </li><br/> <li>A servlet container such as <a rel="nofollow" href="http://www.ibm.com/#resources">Tomcat 5.5</a>. The<br/>examples in this article assume you have Tomcat running on port 8080, which<br/>is the default for Tomcat. If you are running a different servlet container<br/>or if you're running on a different port, you may have to alter the URLs<br/>provided to access the sample application and Solr. I have assumed all<br/>parts of the sample application are running on Tomcat's localhost. Also<br/>note that Solr comes packaged with Jetty.</li><br/> </ul><br/> <p>See <a rel="nofollow" href="http://www.ibm.com/#resources">Resources</a> to download and<br/>install any of these applications.</p></td></tr></tbody></table>
-
-
23 Jul 07
-
19 Jun 07
-
14 Jun 07
-
09 Jun 07
-
06 Jun 07
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.