Sort by exact match

2014-03-19 Thread Rok Rejc
Hi all, I have a field in the index - lets call it Name. Name can have one or more words. I want to query all documents which match by name (full or partial match), and order the results: - first display result(s) with exact matches - after that display results with partial matched and order them

Re: Exception when optimizing index

2012-06-18 Thread Rok Rejc
ideas (and out of time for experimenting). Many thanks for further suggestions. Rok On Wed, Jun 13, 2012 at 1:31 PM, Robert Muir wrote: > On Thu, Jun 7, 2012 at 5:50 AM, Rok Rejc wrote: > > - java.runtime.nameOpenJDK Runtime Environment > > - java.runtime.version1.6.0_22-

Re: Exception when optimizing index

2012-06-11 Thread Rok Rejc
Mon, Jun 11, 2012 at 8:32 AM, Rok Rejc wrote: > Hi all, > > I have run CheckIndex. It seems that the index is currupted. I've got > plenty of exceptions like: > > test: terms, freq, prox...ERROR: java.lang.ArrayIndexOutOfBoundsException > java.lang.ArrayIndexOutOfBo

Re: Exception when optimizing index

2012-06-10 Thread Rok Rejc
g[])<https://builds.apache.org/job/Lucene-trunk/javadoc/core/org/apache/lucene/index/CheckIndex.html#main%28java.lang.String[]%29> > > > -- Jack Krupansky > > -Original Message- From: Rok Rejc > Sent: Thursday, June 07, 2012 5:50 AM > To: solr-user@lucene.apache.or

Re: Exception when optimizing index

2012-06-07 Thread Rok Rejc
tected (too many bits) > at org.apache.lucene.store.**DataInput.readVInt(DataInput.**java:112)" > > What hardware and Java version are you running? > > -- Jack Krupansky > > -Original Message- From: Rok Rejc > Sent: Wednesday, June 06, 2012 3:45 AM > To: solr-user

Re: Distributed search component.

2011-05-13 Thread Rok Rejc
I am still fighting (after a month of doing other things) with the first part of the problem. Any ideas? Many thanks, Rok On Mon, Apr 4, 2011 at 9:06 AM, Rok Rejc wrote: > Hi all, > > I am trying to create a distributed search component in solr which is quite > difficult (at

Distributed search component.

2011-04-04 Thread Rok Rejc
Hi all, I am trying to create a distributed search component in solr which is quite difficult (at least for me, because I am new in solr and java). Anyway I have looked into solr source (FacetComponent, TermsComponent...) and created my own search component (it extends SearchComponent) but I still

Groupped results

2011-03-02 Thread Rok Rejc
I have an index with a number of documents. For example (this example is representative and contains many others fields): IdType1Type2Title 1abxfg 2acabd 3adthm 4baefd 5bbikj 6bcazd ... I want to query an index on

Document level security

2011-01-20 Thread Rok Rejc
Hi all, I have an index containing a couple of million documents. Documents are grouped into "groups", each group contains from 1000-2 documents. The problem: Each group has defined permission settings. It can be viewed by public, viewed by registred users, or viewed by a list of users (each

Re: Optimizing to only 1 segment

2010-12-27 Thread Rok Rejc
e what else should I set? On Mon, Dec 27, 2010 at 8:08 AM, Rok Rejc wrote: > Hi, there is nothing in the log, and the optimize finishes successfully: > > > > 0 > 17 > > > > I run optmize through browser by entering url > > http://localhost:8080/myindex/u

Re: Optimizing to only 1 segment

2010-12-26 Thread Rok Rejc
: > maybe you can consult log files and it may show you something > btw how do you post your command? > do you use curl 'http://localhost:8983/solr/update?optimize=true' ? > or posting a xml file? > > 2010/12/27 Rok Rejc : > > On Mon, Dec 27, 2010 at 3:26 AM, Li Li

Re: Optimizing to only 1 segment

2010-12-26 Thread Rok Rejc
On Mon, Dec 27, 2010 at 3:26 AM, Li Li wrote: > see maxMergeDocs(maxMergeSize) in solrconfig.xml. if the segment's > documents size is larger than this value, it will not be merged. > I see that in my solrconfig.xml, but it is commented and marked as deprecated. I have uncommented this setting (

Optimizing to only 1 segment

2010-12-26 Thread Rok Rejc
Hi all, I have created an index, commited the data and after that I had run the optimize with default parameters: http://localhost:8080/myindex/update?stream.body= I was suprised that after the optimizing was finished there was 21 segments in the index: reader : SolrIndexReader{this=724a2dd4,r

Map failed at getSearcher

2010-12-23 Thread Rok Rejc
Hi all, I have created a new index (using Solr trunk version from 17th December, running on Windows 7 & Tomcat 6, 64 bit JVM) with around 1.1 billion of documents (index size around 550GB, mergeFactor=20). After the (csv) import I have commited the data and got this error: HTTP Status 500 - Seve

Faceting memory requirements

2010-12-21 Thread Rok Rejc
Dear all, I have created an index with aprox. 1.1 billion of documents (around 500GB) running on Solr 1.4.1. (64 bit JVM). I want to enable faceted navigation on am int field, which contains around 250 unique values. According to the wiki there are two methods: facet.method=fc which uses field c