Re: solr benchmarks

2011-01-02 Thread Toke Eskildsen
On Sat, 2011-01-01 at 03:06 +0100, Tri Nguyen wrote:
 I remember going through some page that had graphs of response times based on 
 index size for solr.
  
 Anyone know of such pages?

Sorry, no. Some small scale tests with our corpus showed that response
times suffered less than proportionally to index size, with regard to
the raw searches: Doubling the index size did not halve the response
time. On the other hand, faceting time was proportional to the index
size. As always, your mileage will vary.

 Internally, we have some requirements for response times and I'm trying to 
 figure out when to shard the index.

If you discover that your searches are primarily IO-bound, which is
often the case, and if you're still using spinning disks, I highly
recommend that you upgrade to SDD's. They are very cheap compared to
RAM, you don't need to change your code or workflow and they work
beautifully with Lucene/SOLR: They gave us 2-4 times speedup, compared
to 2 * 15.000 RPM harddisks in RAID 1. Compared to holding the index
fully in RAM (with a 14GB index) they gave us 80% on a dual core machine
- more CPU cores might benefit more from the RAM solution.



Unable to build the SolrCloud branch - SOLR-1873

2011-01-02 Thread siddharth

Hi,

I am trying out SolrCloud by following the instructions on the wiki page
http://wiki.apache.org/solr/SolrCloud

I checked out the branch from
https://svn.apache.org/repos/asf/lucene/solr/branches/cloud/

When I run ant example in the folder. The build fails with the following log
messages

BUILD FAILED
/home/student/Solr/cloud/common-build.xml:361: The following error occurred
while executing this line:
/home/student/Solr/cloud/common-build.xml:219: The following error occurred
while executing this line:
/home/student/Solr/cloud/contrib/clustering/build.xml:66: The following
error occurred while executing this line:
/home/student/Solr/cloud/build.xml:129: The following error occurred while
executing this line:
/home/student/Solr/cloud/common-build.xml:159: Compile failed; see the
compiler error output for details.

Am I missing something over here? Also do I need to know to check out some
older stable revision in this branch for building SolrCloud.

Thank You.
Siddharth
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Unable-to-build-the-SolrCloud-branch-SOLR-1873-tp2180635p2180635.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Unable to build the SolrCloud branch - SOLR-1873

2011-01-02 Thread siddharth

I seemed to have figured out the problem. I think it was an issue with the
JAVA_HOME being set. The build was failing while compiling the module solrj
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Unable-to-build-the-SolrCloud-branch-SOLR-1873-tp2180635p2180800.html
Sent from the Solr - User mailing list archive at Nabble.com.


uuid, COMB uuid, distributed farms

2011-01-02 Thread Dennis Gearon
Planning ahead here.

Anyone have experience with UUIDs, COMB UUIDs (sequential) in large, 
internatiionally distributed Solr/Database project.

 Dennis Gearon


Signature Warning

It is always a good idea to learn from your own mistakes. It is usually a 
better 
idea to learn from others’ mistakes, so you do not have to make them yourself. 
from 'http://blogs.techrepublic.com.com/security/?p=4501tag=nl.e036'


EARTH has a Right To Life,
otherwise we all die.



Apply a patch

2011-01-02 Thread Darx Oman
Hi guys
would someone please explain to me how to apply a patch to solr
lets say for example SOLR-2129-version3.patch

i'm Running Solr Trunk apache-solr-4.0-2011-01-02_08-06-03
on Windows environment


Re: Apply a patch

2011-01-02 Thread Gora Mohanty
On Mon, Jan 3, 2011 at 10:33 AM, Darx Oman darxo...@gmail.com wrote:
 Hi guys
 would someone please explain to me how to apply a patch to solr
 lets say for example SOLR-2129-version3.patch

 i'm Running Solr Trunk apache-solr-4.0-2011-01-02_08-06-03
 on Windows environment

This link, http://wiki.apache.org/solr/HowToContribute , in particular,
http://wiki.apache.org/solr/HowToContribute#Working_With_Patches
should be of help.

Alternatively, a patch file is just a text file that should have instructions
at the beginning on how to apply the patch.

Regards,
Gora


Re: Different behavior for q=goo.com vs q=@goo.com in queries?

2011-01-02 Thread Grijesh.singh

Provide us what Analyzers/Filters are you using for Analysis of email field.

-
Grijesh
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Different-behavior-for-q-goo-com-vs-q-goo-com-in-queries-tp2168935p2183256.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Apply a patch

2011-01-02 Thread Darx Oman
Hi Gora
Thanx for your quick respnse.

I checked out source code svn, and applied the patch
but when I build the source code I've got the following error

C:\trunk\solr\common-build.xml:245:   C\trunk\modules\analysis\phonetic does
not exist.


Problem while creating Polish supported SOLR artifact creation

2011-01-02 Thread johnnyisrael

Hi,

I am new to do SOLR patching, Can anyone help me to do this?

I am trying to apply this patch [SOLR-2237.patch] to include polish
character support in SOLR.

https://issues.apache.org/jira/browse/SOLR-2237

I did the following steps:

1) svn co -r {2010-11-15} http://svn.apache.org/repos/asf/lucene/dev/trunk
lucene-dev-trunk

2) cd lucene-dev-trunk

3) wget
https://issues.apache.org/jira/secure/attachment/12459598/SOLR-2237.patch

4) patch -p0 -i SOLR-2237.patch --dry-run

(Stripping trailing CRs from patch.)
patching file
solr/contrib/analysis-extras/src/test/org/apache/solr/analysis/TestStempelPolishStemFilterFactory.java
(Stripping trailing CRs from patch.)
patching file
solr/contrib/analysis-extras/src/java/org/apache/solr/analysis/StempelPolishStemFilterFactory.java
(Stripping trailing CRs from patch.)
patching file
modules/analysis/stempel/src/java/org/apache/lucene/analysis/stempel/StempelStemmer.java
(Stripping trailing CRs from patch.)
patching file
modules/analysis/stempel/src/java/org/apache/lucene/analysis/pl/PolishAnalyzer.java

I believe patch was successfully completed.

5) ant

I got the following compilation errors.

common.compile-core:
[javac] Compiling 123 source files to
/home/test/lucene-dev-trunk-Nov-2010-exported_test/lucene/build/classes/java
[javac]
/home/test/lucene-dev-trunk-Nov-2010-exported_test/lucene/src/java/org/apache/lucene/search/SortField.java:472:
inconvertible types
[javac] found   :
org.apache.lucene.search.cache.CachedArrayCreatorcapture of ?
[javac] required: org.apache.lucene.search.cache.IntValuesCreator
[javac]   return new FieldComparator.IntComparator(numHits,
(IntValuesCreator)creator, (Integer)missingValue );
[javac] 
 
^
[javac]
/home/test/lucene-dev-trunk-Nov-2010-exported_test/lucene/src/java/org/apache/lucene/search/SortField.java:475:
inconvertible types
[javac] found   :
org.apache.lucene.search.cache.CachedArrayCreatorcapture of ?
[javac] required: org.apache.lucene.search.cache.FloatValuesCreator
[javac]   return new FieldComparator.FloatComparator(numHits,
(FloatValuesCreator)creator, (Float)missingValue );
[javac] 
 
^
[javac]
/home/test/lucene-dev-trunk-Nov-2010-exported_test/lucene/src/java/org/apache/lucene/search/SortField.java:478:
inconvertible types
[javac] found   :
org.apache.lucene.search.cache.CachedArrayCreatorcapture of ?
[javac] required: org.apache.lucene.search.cache.LongValuesCreator
[javac]   return new FieldComparator.LongComparator(numHits,
(LongValuesCreator)creator, (Long)missingValue );
[javac] 
   
^
[javac]
/home/test/lucene-dev-trunk-Nov-2010-exported_test/lucene/src/java/org/apache/lucene/search/SortField.java:481:
inconvertible types
[javac] found   :
org.apache.lucene.search.cache.CachedArrayCreatorcapture of ?
[javac] required: org.apache.lucene.search.cache.DoubleValuesCreator
[javac]   return new FieldComparator.DoubleComparator(numHits,
(DoubleValuesCreator)creator, (Double)missingValue );
[javac] 
   
^
[javac]
/home/test/lucene-dev-trunk-Nov-2010-exported_test/lucene/src/java/org/apache/lucene/search/SortField.java:484:
inconvertible types
[javac] found   :
org.apache.lucene.search.cache.CachedArrayCreatorcapture of ?
[javac] required: org.apache.lucene.search.cache.ByteValuesCreator
[javac]   return new FieldComparator.ByteComparator(numHits,
(ByteValuesCreator)creator, (Byte)missingValue );
[javac] 
   
^
[javac]
/home/test/lucene-dev-trunk-Nov-2010-exported_test/lucene/src/java/org/apache/lucene/search/SortField.java:487:
inconvertible types
[javac] found   :
org.apache.lucene.search.cache.CachedArrayCreatorcapture of ?
[javac] required: org.apache.lucene.search.cache.ShortValuesCreator
[javac]   return new FieldComparator.ShortComparator(numHits,
(ShortValuesCreator)creator, (Short)missingValue );
[javac] 
 
^
[javac] 6 errors

Again I tried the following

5) cd solr

6) ant dist

Again I got the same above six error messages. I also tried the checkout the
latest code from lucene trunk, Still I could not able to make it up.

Can anyone provide a solution for this?

It would be really helpful if I get latest polish supported solr war file
readily available.

Thanks,

Johnny
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Problem-while-creating-Polish-supported-SOLR-artifact-creation-tp2183507p2183507.html
Sent from the Solr - User mailing list archive at Nabble.com.


names of index files

2011-01-02 Thread Bernd Fehling
Dear list,

some questions about the names of the index files.
With an older Solr 4.x version from trunk my index looks like:
_2t1.fdt
_2t1.fdx
_2t1.fnm
_2t1.frq
_2t1.nrm
_2t1.prx
_2t1.tii
_2t1.tis
segments_2
segments.gen

With a most recent version from trunk it looks like:
_3a9.fdt
_3a9.fdx
_3a9.fnm
_3a9_0.frq
_3a9.nrm
_3a9_0.prx
_3a9_0.tii
_3a9_0.tis
segments_4
segments.gen

Why is there an _0 at some files?
Is it from Lucene or from Solr or a fault in my system?

Both indexes are optimized, any idea?

Regards, Bernd