import solr source to eclipse

2014-10-12 Thread Ali Nazemian
Hi, I am going to import solr source code to eclipse for some development purpose. Unfortunately every tutorial that I found for this purpose is outdated and did not work. So would you please give me some hint about how can I import solr source code to eclipse? Thank you very much. -- A.Nazemian

Re: import solr source to eclipse

2014-10-12 Thread Anurag Sharma
I recently tried to run eclipse in debug mode and followed http://wiki.apache.org/solr/HowToConfigureEclipse. It worked for me. On Sun, Oct 12, 2014 at 7:39 PM, Ali Nazemian wrote: > Hi, > I am going to import solr source code to eclipse for some development > purpose. Unfortunately every tutor

Mismatch in numFound in q=*:* query

2014-10-12 Thread vidit.asthana
Dear Experts, I have a strange problem where select q=*:* is returning different number of documents. Sometime its returning numFound = 5866712 and sometimes it returns numFound = 5852274. *numFound is always one of these 2 values.* Here is the query: *http://localhost:5011/solr/mycollection/s

Shard not accessible after restarting

2014-10-12 Thread nabil Kouici
Hi All, I'm evaluating solr performance. I've created implicit collection with 2 shards in different server. first shard contains 100 million documents (30GB), second contain one million document.When I restart the second solr instance, shard become immediately available. However, when I restart

Re: Mismatch in numFound in q=*:* query

2014-10-12 Thread Shawn Heisey
On 10/12/2014 12:26 PM, vidit.asthana wrote: > I have a strange problem where select q=*:* is returning different number of > documents. Sometime its returning numFound = 5866712 and sometimes it > returns numFound = 5852274. *numFound is always one of these 2 values.* > > Here is the query: > >

Re: Shard not accessible after restarting

2014-10-12 Thread Shawn Heisey
On 10/12/2014 12:46 PM, nabil Kouici wrote: > I'm evaluating solr performance. I've created implicit collection with 2 > shards in different server. first shard contains 100 million documents > (30GB), second contain one million document.When I restart the second solr > instance, shard become im

Re: Mismatch in numFound in q=*:* query

2014-10-12 Thread Jan Høydahl
If you don't want "downtime", you could add a field to your schema, reload, do a full re-index on top of your existing index, and then delete all documents that were not updated, via a delelteByQuery, e.g.: indextime:[* TO NOW-1DAY] -- Jan Høydahl, search solution architect Cominvent AS - www.c

What happens if you don't set positionIncrementGap

2014-10-12 Thread Alexandre Rafalovitch
Hello, I am working on - yet another - minimal schema, which involves the settings that are matching defaults (or non-harming if defaults are used). The one I am trying to figure out now is: positionIncrementGap We set it to a 100 in all text field definitions. Does it mean it is NOT some reasona

Re: import solr source to eclipse

2014-10-12 Thread Tomás Fernández Löbbe
The way I do this: >From a terminal: svn checkout https://svn.apache.org/repos/asf/lucene/dev/trunk/ lucene-solr-trunk cd lucene-solr-trunk ant eclipse ... And then, from your Eclipse "import existing java project", and select the directory where you placed lucene-solr-trunk On Sun, Oct 12, 2014

Re: What happens if you don't set positionIncrementGap

2014-10-12 Thread Jack Krupansky
Read the Lucene analysis package summary section entitled "Field Section Boundaries": http://lucene.apache.org/core/4_10_0/core/org/apache/lucene/analysis/package-summary.html TL;DR - if you leave it as the default, then a word at the end of one section and a word at the start of the next secti

Re: What happens if you don't set positionIncrementGap

2014-10-12 Thread Alexandre Rafalovitch
Thanks Jack, this makes sense for text. But what about for the ints, dates, and floats? The package web page does not seem to say anything. And your book (at least in my release 7) is also only talking about the text field. Yet, we seem to have a need to define the value (still as zero) in the sch

Get cache statistics via rest

2014-10-12 Thread SolrUser1543
I want to monitor my solr cache efficiency : Filter cache , queryresultcache, fieldvaluecache. This information available on plugin/stats page for specific core. How can I get this information via Rest ? -- View this message in context: http://lucene.472066.n3.nabble.com/Get-cache-statis