<?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>Marek Rogoziński &#8211; Solr.pl</title>
	<atom:link href="https://solr.pl/en/author/negativ/feed/" rel="self" type="application/rss+xml" />
	<link>https://solr.pl/en/</link>
	<description>All things to be found - Blog related to Apache Solr &#38; Lucene projects - https://solr.apache.org</description>
	<lastBuildDate>Thu, 12 Nov 2020 12:56:46 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9</generator>
	<item>
		<title>Random documents from result set (Giveaway results !)</title>
		<link>https://solr.pl/en/2013/04/02/random-documents-from-result-set-giveaway-results/</link>
					<comments>https://solr.pl/en/2013/04/02/random-documents-from-result-set-giveaway-results/#respond</comments>
		
		<dc:creator><![CDATA[Marek Rogoziński]]></dc:creator>
		<pubDate>Tue, 02 Apr 2013 11:56:24 +0000</pubDate>
				<category><![CDATA[General]]></category>
		<guid isPermaLink="false">http://sematext.solr.pl/?p=546</guid>

					<description><![CDATA[And now two birds with a single stone &#8211; a new article and the Apache Solr 4 Cookbook giveaway results. In this article we would like to show you how to implement random ordering of documents in the resulting using]]></description>
										<content:encoded><![CDATA[<p>And now two birds with a single stone &#8211; a new article and the <a href="http://solr.pl/en/solr-4-0-cookbook-2/">Apache Solr 4 Cookbook</a> <a href="http://solr.pl/en/2013/03/15/win-free-copies-of-packts-new-book-on-apache-solr/">giveaway</a> results. In this article we would like to show you how to implement random ordering of documents in the resulting using Apache Solr. Our example is real case scenario &#8211; we&#8217;ve used this to draw two <a href="http://solr.pl/en/2013/03/15/win-free-copies-of-packts-new-book-on-apache-solr/">giveaway</a> participants. Those two comment authors that will be of top of the results set will receive the&nbsp;ebook.</p>
<p><span id="more-546"></span></p>
<h2>Documents</h2>
<p>Our documents contain information about participants of the competition &#8211; their <em>id</em>, name (as the <em>author</em> field) and <em>email</em>.. For example one record looks like that:
</p>
<pre class="brush:xml">&lt;doc&gt;
  &lt;field name="id"&gt;1&lt;/id&gt;
  &lt;field name="author"&gt;Solr.pl author&lt;/field&gt;
  &lt;field name="email"&gt;blog(at)solr.pl&lt;/field&gt;
&lt;/doc&gt;</pre>
<p>Our very big data contains <strong>19</strong> records, maybe we should have used map/reduce ? :).</p>
<h2>Schema</h2>
<p>The <em>schema.xml</em> file describing the structure of the index is also very simple. In our case it contains the following fields:
</p>
<pre class="brush:xml">&lt;field name="id" type="string" indexed="true" stored="true" required="true" multiValued="false" /&gt;
&lt;field name="author" type="text_general" indexed="true" stored="true"/&gt;
&lt;field name="email" type="text_general" indexed="true" stored="true"/&gt;</pre>
<h2>Additional configuration</h2>
<p>Now we need to make sure that the <em>schema.xml</em> file contains the following definition type and field definitions:
</p>
<pre class="brush:xml">&lt;fieldType name="random" class="solr.RandomSortField" indexed="true" /&gt;
&lt;dynamicField name="random_*" type="random" /&gt;</pre>
<p>In the example <em>schema.xml</em> file provided with the standard Solr distribution package this type and dynamic field is available by default. We will need those to randomize our result set.</p>
<h2>Running a query with random sorting</h2>
<p>Running a query with a random sorting is a little bit tricky. We build a query like we usually do except for the sorting. For the&nbsp;<em>sort</em> parameter we will use the previously defined dynamic field with the <em>random</em> prefix. For example:
</p>
<pre class="brush:bash">localhost:8983/solr/competition/select?q=*:*&amp;sort=random_12939291%20desc</pre>
<h2>How it works ?</h2>
<p>Solr will calculate ordering of the documents basing on the name of the random field and the index version. This means that every time you use the same field name and the same index (which was not changed between queries), you will get results that are ordered exactly the same way. This is disadvantage of this method, but sometimes this may be quite handy, like when doing paging (we don&#8217;t want to have different results ordering for each page, right ?). Because of this you have to generate the field name in your application that runs queries to Solr.</p>
<h2>And now &#8211; Giveaway results !</h2>
<p>We&#8217;ve used the above-mentioned query. Number used in sort field is absolutely random, that was randomized by saying: &#8220;Dad, tell me some random numbers&#8221; :). So the whole query we&#8217;ve used was:
</p>
<pre class="brush:bash">localhost:8983/solr/collection1/select?q=*:*&amp;indent=true&amp;rows=2&amp;sort=random_3721117253841%20desc</pre>
<p>This above query gave the following results:
</p>
<pre class="brush:xml">&lt;result name="response" numFound="19" start="0"&gt;
  &lt;doc&gt;
    &lt;str name="id"&gt;9&lt;/str&gt;
    &lt;str name="author"&gt;Rajeev Srivastava&lt;/str&gt;
    &lt;str name="email"&gt;[CENSORED]&lt;/str&gt;
    &lt;long name="_version_"&gt;1431017731370516481&lt;/long&gt;&lt;/doc&gt;
  &lt;doc&gt;
    &lt;str name="id"&gt;8&lt;/str&gt;
    &lt;str name="author"&gt;Evgeny&lt;/str&gt;
    &lt;str name="email"&gt;[CENSORED]&lt;/str&gt;
    &lt;long name="_version_"&gt;1431017731370516480&lt;/long&gt;&lt;/doc&gt;
&lt;/result&gt;</pre>
<h2>And the winners are</h2>
<ul>
<li><strong>Rajeev</strong></li>
<li><strong>Evgeny</strong></li>
</ul>
<p>Congratulations ! We will contact you in the very near future with further information about how to receive your awards.&nbsp; Once again congratulations! Also, to all the other participants, thanks for participations and your comments !</p>
]]></content:encoded>
					
					<wfw:commentRss>https://solr.pl/en/2013/04/02/random-documents-from-result-set-giveaway-results/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>SolrCloud HOWTO</title>
		<link>https://solr.pl/en/2013/03/11/solrcloud-howto/</link>
					<comments>https://solr.pl/en/2013/03/11/solrcloud-howto/#respond</comments>
		
		<dc:creator><![CDATA[Marek Rogoziński]]></dc:creator>
		<pubDate>Mon, 11 Mar 2013 12:52:53 +0000</pubDate>
				<category><![CDATA[Solr]]></category>
		<category><![CDATA[solr]]></category>
		<category><![CDATA[solrcloud]]></category>
		<guid isPermaLink="false">http://sematext.solr.pl/?p=538</guid>

					<description><![CDATA[What is the most important change in 4.x version of Apache Solr? I think there are many of them but Solr Cloud is definitely something that changed a lot in Solr architecture. Until now, bigger installations suffered from single point]]></description>
										<content:encoded><![CDATA[<p>What is the most important change in 4.x version of Apache Solr? I think there are many of them but Solr Cloud is definitely something that changed a lot in Solr architecture. Until now, bigger installations suffered from single point of failure (SPOF) – there was only the one master server and when this server was going down, the whole cluster lose the ability to receive new data. Of course you could go for multiple masters, where a single master was responsible for indexing some part of the data, but still, there was a SPOF present in your deployment. Even if everything worked, due to commit interval and the fact that slave instances checked the presence of new data periodically, the solution was far from ideal – the new data in the cluster appeared minutes after commit.</p>
<p><span id="more-538"></span></p>
<p>Solr Cloud changed this behavior. In this article we will setup a new SolrCloud cluster from the scratch and we will see how it work.</p>
<h2>Our example cluster</h2>
<p>In our example we will use three Solr servers. Every server in the cluster is capable of handling both the index and the query requests. This is the main difference from the old-fashioned Solr architecture with single master and multiple slave servers. In the new architecture there is one additional element present: Zookeeper, which is responsible for holding configuration of the cluster and for synchronization of its work. It is crucial to understand that Solr relies on information stored in Zookeeper – if Zookeeper will fail, the whole cluster is useless. Because of this it is very important to have a fault tolerant Zookeeper ensemble and because of this we use three independent instances of Zookeeper that will form the ensemble.</p>
<h2>Zookeeper installation</h2>
<p>As we said previously, Zookeeper is a vital part of SolrCloud cluster. Although we can use embedded Zookeeper, this is only handy for testing. For production you definitely want your Zookeeper to be installed independently from Solr and run in a different Java virtual machine process to avoid those two interrupting each other and influencing each others work.</p>
<p>The installation of Apache Zookeeper is straight forward and may be described by the following steps:</p>
<ol>
<li>Download Zookeeper archive from: <a href="http://www.apache.org/dyn/closer.cgi/zookeeper/" target="_blank" rel="noopener noreferrer">http://www.apache.org/dyn/closer.cgi/zookeeper/</a></li>
<li>Unpack downloaded archive and copy <em>conf/zoo_sample.cfg</em> to <em>conf/zoo.cfg</em></li>
<li>Modify <em>zoo.cfg</em>:
<ol>
<li>Change <em>dataDir</em> to directory where you want to hold all cluster configuration data</li>
<li>Add information about all Zookeeper servers (see below)</li>
</ol>
</li>
</ol>
<p>After mentioned changes my <em>zoo.cfg</em> looks like the following one:
</p>
<pre class="brush:bash">tickTime=2000
initLimit=10
syncLimit=5
dataDir=/var/zookeeper/data
clientPort=2181
server.1=zk1:2888:3888
server.2=zk2:2888:3888
server.3=zk3:2888:3888</pre>
<ol>
<li>Copy this archive to the all servers, where Zookeeper service should be run</li>
<li>Create file <i>/var/zookeeper/data/myid</i> with server identifier. This identifier is different for each instance (for example on <i>zk2</i> this file should contain <em>2</em> number)</li>
<li>Start all instances using “bin/zkServer.sh start-foreground” and verify validity of the installation</li>
<li>Add “bin/zkServer.sh start” to starting scripts and make sure that operation system monitors that Zookeeper service is available.</li>
</ol>
<h2>Solr installation</h2>
<p>The installation of Solr is the following:</p>
<ol>
<li>Download Solr archive from: <a href="http://www.apache.org/dyn/closer.cgi/lucene/solr/4.1.0" target="_blank" rel="noopener noreferrer">http://www.apache.org/dyn/closer.cgi/lucene/solr/4.1.0</a></li>
<li>Unpack downloaded archive</li>
<li>In this tutorial we will use the ready Solr installation from the <em>example</em> directory and all changes are made to this example installation</li>
<li>Copy archive to all servers which are the part of the cluster</li>
<li>Install to Zookeeper configuration data, which will be used by the Solr cluster. For this run the first instance with:
<pre class="brush:bash">java -Dbootstrap_confdir=./solr/collection1/conf -Dcollection.configName=solr1 -DzkHost=zk1:2181 -DnumShards=2 -jar start.jar</pre>
</li>
</ol>
<p>This should be run only once. The next run will use configuration from Zookeeper cluster and local configuration files are not needed.</p>
<ol>
<li>Run all instances using
<pre class="brush:bash">java –DzkHost=zk1:2181 –jar start.jar</pre>
</li>
</ol>
<h2>Verify the installation</h2>
<p>Go into administration panel on any Solr instance. For our deployment the URL should be like <i>http://solr1:8983/solr</i>. When you click on cloud tab, and graph, you should see something similar to the following screen shot:
</p>
<p style="text-align: center;"><a href="http://solr.pl/wp-content/uploads/2013/03/cloud.png"><img decoding="async" class="size-medium wp-image-2909 aligncenter" alt="cloud" src="http://solr.pl/wp-content/uploads/2013/03/cloud-300x138.png" width="300" height="138"></a></p>
<h2>Collection</h2>
<p>Our first collection &#8211; the <em>collection1</em> is divided into two shards (<em>shard1</em> and <em>shard2</em>). Each of those shards is placed on two Solr instances (OK, on the picture you see that every Solr is placed on the same host – I have currently only one physical server available for tests – any volunteers for donation? ;)). You can see that type of the dot tell us if it is a primary shard or replica.</p>
<h2>Summary</h2>
<p>I hope this is the first note about solrCloud. I know it is very short and skips details and information about shards, replicas and architecture of this solution. Treat this as a simple checklist for basic, (but real) configuration of your cloud.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://solr.pl/en/2013/03/11/solrcloud-howto/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>New Book: ElasticSearch Server!</title>
		<link>https://solr.pl/en/2013/01/29/new-book-elasticsearch-server/</link>
					<comments>https://solr.pl/en/2013/01/29/new-book-elasticsearch-server/#respond</comments>
		
		<dc:creator><![CDATA[Marek Rogoziński]]></dc:creator>
		<pubDate>Tue, 29 Jan 2013 11:23:12 +0000</pubDate>
				<category><![CDATA[General]]></category>
		<guid isPermaLink="false">http://sematext.solr.pl/?p=532</guid>

					<description><![CDATA[In the blog post dedicated to Solr 4.0 Cookbook we give a small hint that cookbook was not the only project that occupies our free time. Today we can officially say that a few month of hard work is slowly]]></description>
										<content:encoded><![CDATA[<p><a href="http://solr.pl/wp-content/uploads/2013/01/es_cover.png"><img decoding="async" class="size-full wp-image-2758 alignleft" style="margin: 10px;" alt="es_cover" src="http://solr.pl/wp-content/uploads/2013/01/es_cover.png" width="175" height="213"></a>In the blog <a href="http://solr.pl/en/2012/12/11/solr-4-0-cookbook/">post</a> dedicated to <a href="http://solr.pl/en/solr-4-0-cookbook-2/">Solr 4.0 Cookbook</a> we give a small hint that cookbook was not the only project that occupies our free time. Today we can officially say that a few month of hard work is slowly coming to an end &#8211;&nbsp; we can announce a new book about one of the greatest piece of open-source software &#8211; <a href="http://solr.pl/en/elasticsearch-server/">ElasticSearch Server</a> book!</p>
<p><span id="more-532"></span></p>
<p>ElasticSearch server book describes the most important and commonly used features of ElasticSearch (at least from our perspective). Example of topics discussed:</p>
<ul>
<li>ElasticSearch installation and configuration</li>
<li>Static and dynamic index structure creation</li>
<li>Querying ElasticSearch with Query DSL explained</li>
<li>Using filters</li>
<li>Faceting</li>
<li>Routing</li>
<li>Indexing data that is not flat</li>
</ul>
<p>We also talk about:</p>
<ul>
<li>Autocomplete and how to implement it using ElasticSearch</li>
<li>Percolator &#8211; what is it and how to use it</li>
<li>ElasticSearch monitoring and being a fireman</li>
<li>And much, much more <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></li>
</ul>
<p>Eventhough we work with ElasticSearch everyday, we realized how big it was after digging into all the functionalities and cases. Because of that we were not able to describe all the features, but we hope we were able to choose the ones that are the most interested and needed.</p>
<p>Do you think that we should start writing about new enterprise search engine on solr.pl ? <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p>&nbsp;</p>
]]></content:encoded>
					
					<wfw:commentRss>https://solr.pl/en/2013/01/29/new-book-elasticsearch-server/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Apache Lucene and Solr 4.0 beta</title>
		<link>https://solr.pl/en/2012/08/14/apache-lucene-and-solr-4-0-beta/</link>
					<comments>https://solr.pl/en/2012/08/14/apache-lucene-and-solr-4-0-beta/#respond</comments>
		
		<dc:creator><![CDATA[Marek Rogoziński]]></dc:creator>
		<pubDate>Tue, 14 Aug 2012 21:51:46 +0000</pubDate>
				<category><![CDATA[Lucene]]></category>
		<category><![CDATA[Solr]]></category>
		<category><![CDATA[lucene]]></category>
		<category><![CDATA[release]]></category>
		<category><![CDATA[solr]]></category>
		<guid isPermaLink="false">http://sematext.solr.pl/?p=474</guid>

					<description><![CDATA[We are getting closer and closer to the final release of Apache Lucene and Solr 4.0 as a few minutes ago 4.0 beta of Apache Lucene library and Solr search servers were released. Full list of changes in Apache Lucene]]></description>
										<content:encoded><![CDATA[<p>We are getting closer and closer to the final release of Apache Lucene and Solr 4.0 as a few minutes ago <strong>4.0 beta</strong> of Apache Lucene library and Solr search servers were released.</p>
<p><span id="more-474"></span></p>
<p>Full list of changes in <strong>Apache Lucene</strong> <strong>4.0 beta</strong>, compared to 4.0 alpha version, can be found at the following address: <a href="http://wiki.apache.org/lucene-java/ReleaseNote40beta#referrer=solr.pl" target="_blank" rel="noopener noreferrer">http://wiki.apache.org/lucene-java/ReleaseNote40beta</a>. The full list of changes in <strong>Apache Solr 4.0</strong> can be found at the Solr wiki as well: <a href="http://wiki.apache.org/solr/ReleaseNote40beta#referrer=solr.pl" target="_blank" rel="noopener noreferrer"> http://wiki.apache.org/solr/ReleaseNote40beta</a>.</p>
<p>In order to download Apache Lucene <strong>4.0 beta</strong> library please go to: <a href="http://www.apache.org/dyn/closer.cgi/lucene/java/#referrer=solr.pl" target="_blank" rel="noopener noreferrer">http://www.apache.org/dyn/closer.cgi/lucene/java/</a>. Apache Solr <strong>4.0 beta</strong> can be downloaded at the following address: <a href="http://www.apache.org/dyn/closer.cgi/lucene/solr/#referrer=solr.pl" target="_blank" rel="noopener noreferrer">http://www.apache.org/dyn/closer.cgi/lucene/solr/</a>.</p>
<p>Please note that not all mirrors have to be updated yet.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://solr.pl/en/2012/08/14/apache-lucene-and-solr-4-0-beta/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Autcomplete, part 4 (Ngram and faceting)</title>
		<link>https://solr.pl/en/2012/05/28/autcomplete-part-4-ngram-and-faceting/</link>
					<comments>https://solr.pl/en/2012/05/28/autcomplete-part-4-ngram-and-faceting/#respond</comments>
		
		<dc:creator><![CDATA[Marek Rogoziński]]></dc:creator>
		<pubDate>Mon, 28 May 2012 21:47:24 +0000</pubDate>
				<category><![CDATA[Solr]]></category>
		<category><![CDATA[autocomplete]]></category>
		<guid isPermaLink="false">http://sematext.solr.pl/?p=460</guid>

					<description><![CDATA[In the previous parts of autocomplete series we presented two methods of autocomplete queries. Than we extended one of those with the ability to define returned information. In todays entry we are back to autocomplete with facet and ngram. Requirements]]></description>
										<content:encoded><![CDATA[<p>In the previous parts of autocomplete series we presented two methods of autocomplete queries. Than we extended one of those with the ability to define returned information. In todays entry we are back to autocomplete with facet and ngram.</p>
<p><span id="more-460"></span></p>
<h2>Requirements</h2>
<p align="LEFT">Our autocomplete mechanism has the following requirements:</p>
<ol>
<li>We return whole phrase, not just s single word</li>
<li>Returned phrase can be present multiple times in the index</li>
<li>We want to know the number of results for the returned phrase</li>
<li>Common phrases should be shown higher than the less common ones</li>
<li>Order of words entered by the user doesn&#8217;t matter</li>
</ol>
<h2>Solution</h2>
<p style="text-align: justify;" align="LEFT">Solution given in the first part of the series will not met the requirements because of the first requirement. Of course we could change analysis type, but we wouldn&#8217;t return the whole phrase.</p>
<p style="text-align: justify;" align="LEFT">Solution to the above requirements is the modified faceting method. Instead of searching all the elements and narrowing results with <em>facet.prefix</em> parameter, we can search only for those elements that have the word fragment we are looking for. We don&#8217;t want wildcard query to be used (because of performance) we call ngram&#8217;s for the rescue. This means we need to write the ngrams into the index (of course Solr will do that for us). The obvious flaw is the index size growth, but in this case we can live with that.</p>
<h2 style="text-align: justify;" align="LEFT">Schema.xml</h2>
<p style="text-align: justify;" align="LEFT">We define an additional type:</p>
<pre class="brush:xml">  &lt;fieldType name="text_autocomplete" class="solr.TextField" positionIncrementGap="100"&gt;
    &lt;analyzer type="index"&gt;
      &lt;tokenizer class="solr.WhitespaceTokenizerFactory"/&gt;
      &lt;filter class="solr.LowerCaseFilterFactory"/&gt;
      &lt;filter class="solr.EdgeNGramFilterFactory" minGramSize="1" maxGramSize="25" /&gt;
    &lt;/analyzer&gt;
    &lt;analyzer type="query"&gt;
      &lt;tokenizer class="solr.WhitespaceTokenizerFactory"/&gt;
      &lt;filter class="solr.LowerCaseFilterFactory"/&gt;
    &lt;/analyzer&gt;
  &lt;/fieldType&gt;</pre>
<p align="LEFT">We also define additional fields: one which value we plan to return and one which will be used for searching:</p>
<pre class="brush:xml">&lt;field name="tag_autocomplete" type="text_autocomplete" indexed="true" stored="true" omitNorms="true" omitTermFreqAndPositions="true"/&gt;
&lt;field name="tag" type="string" indexed="true" stored="true" /&gt;</pre>
<p align="LEFT">And one <em>copyField</em> to make things easier:</p>
<pre class="brush:xml">&lt;copyField source="tag" dest="tag_autocomplete"/&gt;</pre>
<h2 class="brush:xml">Query</h2>
<p align="LEFT">After indexation we are ready to test our queries:</p>
<ol>
<li>We are narrowing results, only to those which have the interesting word fragment in the <em>tag_autocomplete</em> field, with: <em>q=tag_autocomplete:(PHRASE)</em></li>
<li>We need all the fragments entered by the user, so we use <em>AND</em> as our logical operator: <em>q.op=AND</em></li>
<li>We not interested in the actual query results, we will use data returned by faceting, so we say: <em>rows=0</em></li>
<li>We need faceting: <em>facet=true</em></li>
<li>We need faceting on the field where we store the original phrase: <em>facet.field=tag</em></li>
<li>We are not interested in empty tags: <em>facet.mincount=1</em></li>
<li>We are only interested in 5 autocomplete values: <em>facet.limit=5</em></li>
</ol>
<p align="LEFT">And the final query:</p>
<pre>?q=tag_autocomplete:(PHRASE)&amp;q.op=AND&amp;rows=0&amp;facet=true&amp;facet.field=tag&amp;facet.mincount=1&amp;facet.limit=5</pre>
<p align="LEFT">If we will configure out search handler to include all the constant parameters, we will have the following query:</p>
<pre>?q=tag_autocomplete:(PHRASE)</pre>
<h2>At the end</h2>
<p align="LEFT">The basic virtue of the presented method is the ability to use one field for searching and other for returning results. Because of that, we were able to return the whole phrase instead of a single word.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://solr.pl/en/2012/05/28/autcomplete-part-4-ngram-and-faceting/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Explain: new version</title>
		<link>https://solr.pl/en/2012/04/16/explain-new-version/</link>
					<comments>https://solr.pl/en/2012/04/16/explain-new-version/#respond</comments>
		
		<dc:creator><![CDATA[Marek Rogoziński]]></dc:creator>
		<pubDate>Mon, 16 Apr 2012 21:45:06 +0000</pubDate>
				<category><![CDATA[General]]></category>
		<category><![CDATA[explain]]></category>
		<guid isPermaLink="false">http://sematext.solr.pl/?p=453</guid>

					<description><![CDATA[We are proud to inform that we deployed a new version of&#160; explain.solr.pl, software for debugging and analyzing Solr queries.&#160;This version contains the following changes: bugfixes initial support for dla Solr 4.0 support for ruby 1.9 Source code is available]]></description>
										<content:encoded><![CDATA[<p>We are proud to inform that we deployed a new version of&nbsp; <a title="Solr Explain " href="http://explain.solr.pl/">explain.solr.pl</a>, software for debugging and analyzing Solr queries.&nbsp;This version contains the following changes:</p>
<ul>
<li>bugfixes</li>
<li>initial support for dla Solr 4.0</li>
<li>support for ruby 1.9</li>
</ul>
<p>Source code is available on our &nbsp;<a href="https://github.com/solrpl/explain">GitHub</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://solr.pl/en/2012/04/16/explain-new-version/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>explain.solr.pl as Open Source!</title>
		<link>https://solr.pl/en/2012/02/22/explain-solr-pl-as-open-source/</link>
					<comments>https://solr.pl/en/2012/02/22/explain-solr-pl-as-open-source/#respond</comments>
		
		<dc:creator><![CDATA[Marek Rogoziński]]></dc:creator>
		<pubDate>Wed, 22 Feb 2012 22:42:04 +0000</pubDate>
				<category><![CDATA[General]]></category>
		<category><![CDATA[explain]]></category>
		<category><![CDATA[explain.solr.pl]]></category>
		<guid isPermaLink="false">http://sematext.solr.pl/?p=443</guid>

					<description><![CDATA[As we promised earlier, source code for explain.solr.pl is now published. To refresh Your memory: it is a tool to visualize Solr search results and get the following information: why a document was placed in the results list, why a]]></description>
										<content:encoded><![CDATA[<p>As we promised earlier, source code for <a title="Explain.solr.pl" href="http://explain.solr.pl/">explain.solr.pl</a> is now published.</p>
<p><span id="more-443"></span></p>
<p>To refresh Your memory: it is a tool to visualize Solr search results and get the following information:</p>
<ul>
<li>why a document was placed in the results list,</li>
<li>why a document wasn&#8217;t placed in the results list.</li>
</ul>
<div>More detailed information can be found <a title="Pomoc do explain.solr.pl" href="http://explain.solr.pl/help">here</a>.</div>
<p>We decided to release the code, even though there are many things left that we would like to change and make better. On the other hand, there will always be places to make code better <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p>As for the application &#8211; it was developed with the use of Ruby On Rails and even though You may see that the code was developed by people using other programming languages, we hope that You will find the application useful.</p>
<p>Source code is available under Apache license (2.0), but it would be very happy to hear from You if You plan to use it. We also encourage to send us corrections and report issues.</p>
<p>You can find the source code on Github: <a title="Github" href="https://github.com/solrpl/explain">https://github.com/solrpl/explain</a></p>
<p>&nbsp;</p>
]]></content:encoded>
					
					<wfw:commentRss>https://solr.pl/en/2012/02/22/explain-solr-pl-as-open-source/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Explain 0.9.1 &#8211; New version</title>
		<link>https://solr.pl/en/2012/01/11/explain-0-9-1-new-version/</link>
					<comments>https://solr.pl/en/2012/01/11/explain-0-9-1-new-version/#respond</comments>
		
		<dc:creator><![CDATA[Marek Rogoziński]]></dc:creator>
		<pubDate>Wed, 11 Jan 2012 20:58:24 +0000</pubDate>
				<category><![CDATA[Conferences]]></category>
		<guid isPermaLink="false">http://sematext.solr.pl/?p=394</guid>

					<description><![CDATA[After a few weeks (counting Christmas, when people don&#8217;t usually analyze theirs Solr queries ;)) we would like to share some thoughts about releasing&#160;explain.solr.pl. We noticed the following: Explain tool have goaded some attention, but most to the explains are]]></description>
										<content:encoded><![CDATA[<p>After a few weeks (counting Christmas, when people don&#8217;t usually analyze theirs Solr queries ;)) we would like to share some thoughts about releasing&nbsp;<a title="Explain.solr.pl" href="http://explain.solr.pl/">explain.solr.pl</a>.</p>
<p><span id="more-394"></span></p>
<p>We noticed the following:</p>
<ul>
<li>Explain tool have goaded some attention, but most to the explains are marked as private.</li>
<li>In relatively large amount of explain only query was submit instead of the whose response.</li>
<li>Often the results don&#8217;t have diagnostic information (<em>debugQuery=true</em>).</li>
<li>Unreleased <a href="http://solr.pl/en/tag/4.0/">Apache Solr 4.0</a> is quite popular <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></li>
<li>Explain parser did a good job (of course without counting the obvious Solr 4.0 explain parsing problems).</li>
</ul>
<div>Our thoughts:</div>
<div>
<ul>
<li>We need to work on clarity of the messages.</li>
<li>We need to focus on enabling <a href="http://solr.pl/en/tag/4.0/">Solr 4.0</a> explain parsing.</li>
</ul>
</div>
<p>Today new version of&nbsp;<a title="Explain.solr.pl" href="http://explain.solr.pl/">explain.solr.pl</a>&nbsp;was deployed. The changes are as follows:</p>
<ul>
<li>Simple analysis of query performance was added.</li>
<li>Displayed messages are now more user friendly.</li>
<li>Explain parser was corrected according to text files generated by Solr 3.5 unit test cases.</li>
<li>Minor GUI enhancements.</li>
</ul>
]]></content:encoded>
					
					<wfw:commentRss>https://solr.pl/en/2012/01/11/explain-0-9-1-new-version/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>explain.solr.pl: Status</title>
		<link>https://solr.pl/en/2011/11/11/explain-solr-pl-status/</link>
					<comments>https://solr.pl/en/2011/11/11/explain-solr-pl-status/#respond</comments>
		
		<dc:creator><![CDATA[Marek Rogoziński]]></dc:creator>
		<pubDate>Fri, 11 Nov 2011 20:52:52 +0000</pubDate>
				<category><![CDATA[Conferences]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[2011]]></category>
		<category><![CDATA[eurocon]]></category>
		<category><![CDATA[explain]]></category>
		<category><![CDATA[explain.solr.pl]]></category>
		<category><![CDATA[lucene]]></category>
		<guid isPermaLink="false">http://sematext.solr.pl/?p=378</guid>

					<description><![CDATA[During the Lucene Eurocon 2011 conference we gave a talk about a tool that will enable you to analyze Solr search results. We promised, that the public version of the tool will be released soon. We would like to ensure]]></description>
										<content:encoded><![CDATA[<p>During the <a href="http://solr.pl/en/2011/11/07/lucene-eurocon-2011-day-one/" target="_blank" rel="noopener noreferrer">Lucene Eurocon 2011</a> conference we gave a talk about a tool that will enable you to analyze Solr search results. We promised, that the public version of the tool will be released soon. We would like to ensure that we are getting close to that moment. Right now we are focusing on the following things:</p>
<p><span id="more-378"></span></p>
<ul>
<li>rebuilding Lucene explain information analyzer so it is ready for the changes in Lucene 4.0 (<em>per field similarity</em> and <em>flexible similarity</em>)</li>
<li>user interface rebuild along with some changes to the usability</li>
<li>code cleaning and preparation for publishing sources</li>
</ul>
<p>Fortunately autumn and winter evenings are just perfect for work <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /> We will try to make <a href="http://explain.solr.pl" target="_blank" rel="noopener noreferrer">http://explain.solr.pl</a> available as soon as possible.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://solr.pl/en/2011/11/11/explain-solr-pl-status/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Another Lucene Eurocon is a history</title>
		<link>https://solr.pl/en/2011/10/31/another-lucene-eurocon-is-a-history/</link>
					<comments>https://solr.pl/en/2011/10/31/another-lucene-eurocon-is-a-history/#respond</comments>
		
		<dc:creator><![CDATA[Marek Rogoziński]]></dc:creator>
		<pubDate>Mon, 31 Oct 2011 20:51:33 +0000</pubDate>
				<category><![CDATA[Conferences]]></category>
		<guid isPermaLink="false">http://sematext.solr.pl/?p=374</guid>

					<description><![CDATA[Another Lucene Eurocon is a history. That was a very intense two days, where the basic problem was: which of the three lectures go to. Sometimes the choice was very difficult, the only hope is that this year all the]]></description>
										<content:encoded><![CDATA[<p>Another Lucene Eurocon is a history. That was a very intense two days, where the basic problem was: which of the three lectures go to. Sometimes the choice was very difficult, the only hope is that this year all the presentations were recorded and will soon be available on the web.</p>
<p><span id="more-374"></span></p>
<p>For us the most important was the second day and the presentation of the results of our work: <strong>Understanding &amp; Visualising Solr &#8216;explain&#8217; Information</strong>. The presentation consisted of two parts. First, the theoretical, described what Solr presents about the validity of the returned document. This information, unfortunately, do not belong to the most readable, especially when the search is done on many fields, often using dedicated query parser (the screenshot contains explain fragment describing a hit in only one document (!)).</p>
<p><img decoding="async" title="explain" src="http://solr.pl/wp-content/uploads/2011/10/explain-300x118.png" alt="Przykładowy explain" width="300" height="118"></p>
<p>The situation gets worse because the questions from the client about the documents positioning are one of the most time consuming ones during the project.</p>
<p>The second part of the presentation showed what we decided to do with this problem. The idea came after seeing <a href="http://explain.depesz.com">explain.depesz.com</a> &#8211; a similar tool for visualization of information provided by the postgreSQL database.</p>
<p>In retrospect, our explain seems to be a good idea. Although its not finished we are using the tool almost everyday. What&#8217;s more &#8211; the Lucene Eurocon presentation showed us that there is also considerable interest in the community for a tool like this. Thank you for your kind words and the promises of sending us your own modules.</p>
<p>The current version explain.solr.pl focuses on reading the information generated by the solr 3.x. We are currently working on going public, and (somewhat later) the opensourcing the code.</p>
<p>To sum up the plans for the nearest future are quite ambitious:)</p>
<ol>
<li>Firstly &#8211; the chronicler&#8217;s duty &#8211; we will try to describe how Lucene Eurocon 2011 looked from our perspective. We plan to publish two entries &#8211; each of which will be dedicated to one day of the conference. That is something to read before they appear on the official videos from the conference.</li>
<li>Opening <a href="http://explain.solr.pl">explain.solr.pl</a> for a wide audience:)</li>
<li>Publication of <a href="http://explain.solr.pl">explain.solr.pl</a> code (github)</li>
<li>Back to more regular posts about Solr.</li>
</ol>
<p>Keep your fingers crossed:)</p>
]]></content:encoded>
					
					<wfw:commentRss>https://solr.pl/en/2011/10/31/another-lucene-eurocon-is-a-history/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
