Solrj throws RuntimeException - Invalid version or the data is not in javabin format

2010-06-23 Thread Villemos, Gert
I have a problem injecting data using SolrJ from a Windows client to an Ubuntu server (see exception below). The same configuration works when injecting from a Windows client to a Windows server. I inject using a standard org.apache.solr.client.solrj.impl.CommonsHttpSolrServer instance, created

RE: Facets vs TermV's

2010-05-03 Thread Villemos, Gert
... I meant; the terms component is faster than using facets. Both of cause provide the autocomplete. From: Villemos, Gert [mailto:gert.ville...@logica.com] Sent: Tue 5/4/2010 8:30 AM To: solr-user@lucene.apache.org Subject: RE: Facets vs TermV's I fo

RE: Facets vs TermV's

2010-05-03 Thread Villemos, Gert
I found a thread ones (sorry; cant remember where) which stated that the issue is performance; the terms component is faster than the autocomplete. I'm no expert but I guess its a question of when the auto complete index gets build. Where as the terms component likely builds it at storage time,

RE: SpellChecking

2010-05-03 Thread Villemos, Gert
We are using copy fields for 40+ fields to do spelling, and it works fine. Are you sure that you actually build the spell index before you try to do spelling? You need to either configure SOLr to build spell index on commit, or manually issue a spell index build request. Regards, Gert. -

RE: Elevation of of part match

2010-04-30 Thread Villemos, Gert
Yes, I restarted. To make sure I just did it again. Same result; "archive" elevates, "packet archive" doesnt. G. From: MitchK [mailto:mitc...@web.de] Sent: Fri 4/30/2010 5:02 PM To: solr-user@lucene.apache.org Subject: RE: Elevation of of part match The e

Elevation of of part match

2010-04-29 Thread Villemos, Gert
I would like to be able to elevate documents if the query matches part of a string. For example, I would like to elevate the document FOO in case the query contains the word 'archive'. So when executing the queries "packet archive" "archive failure" "archive" All leads to the document FOO b

RE: Howto build a function query using the 'query' function

2010-04-25 Thread Villemos, Gert
a count, not a score? Cheers, Gert. From: Koji Sekiguchi [mailto:k...@r.email.ne.jp] Sent: Sun 4/25/2010 2:15 AM To: solr-user@lucene.apache.org Subject: Re: Howto build a function query using the 'query' function Villemos, Gert wrote: > I want

RE: Comparing two queries

2010-04-23 Thread Villemos, Gert
ene.com/ - Original Message > From: "Villemos, Gert" > To: solr-user@lucene.apache.org; solr-user@lucene.apache.org > Sent: Fri, April 23, 2010 5:08:04 PM > Subject: RE: Comparing two queries > > I was thinking along the lines 1. Retrieve the top result for one &g

RE: Comparing two queries

2010-04-23 Thread Villemos, Gert
Hello Gert, > > I think you'd have to apply custom heuristics that involves looking > at top N hits for each query and looking at the % overlap. > > Otis > > Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch > Lucene ecosystem search :: http://search-lucene.c

Comparing two queries

2010-04-23 Thread Villemos, Gert
We want to support that a user can register for interest in information, based on a query he has defined himself. For example that he type in a query, press a save button, provides his email and the system will now email him with a daily digest. As part of this, it would be nice to be able to t

RE: Big problem with solr in an official server.

2010-04-20 Thread Villemos, Gert
http://www.lucidimagination.com/blog/2010/01/21/the-seven-deadly-sins-of-solr/ Regards, Gert. From: MitchK [mailto:mitc...@web.de] Sent: Mon 4/19/2010 7:06 PM To: solr-user@lucene.apache.org Subject: Re: Big problem with solr in an official server. Wasn't th

Howto build a function query using the 'query' function

2010-04-19 Thread Villemos, Gert
I want to build a function expression for a dismax request handler 'bf' field, to boost the documents if it is referenced by other documents. I.e. the more often a document is referenced, the higher the boost. Something like linear(query(myQueryReturningACountOfHowOftenThisDocumentIsReferen

Supporting multiple index / query analyzer stacks

2010-04-15 Thread Villemos, Gert
Having developed a system based on SOLr, we are now optimizing the ranking of the search results to give the user a better search experience. We would like to create multiple index / query analyzer stacks in the SOLr configuration to test how this affects the results. We would index the same te

Spell checking not working

2009-09-17 Thread Villemos, Gert
I'm trying to setup a spell checker but failing misserably. I would like to have a spell check based on actual values injected into the index from other fields. The configuration is shown below. After indexing and running a query with 'spellcheck.build=true' I can see that the spellcheck index fi

Automatically calculate boost factor

2009-09-11 Thread Villemos, Gert
I would like to automatically calculate the boost factor of a document based on the values of other fields. For example; 1.2 1.5 0.8 Document boost = 1.2*1.5*0.8 Is it possible to get SOLr to calculate the boost automatically upon submission based on field values? Cheers, Gert. Please hel

RE: Facet fields and the DisMax query handler

2009-09-11 Thread Villemos, Gert
ys to intermix dismax parsing in the standard query parser syntax, but I am no expert. You can also use these field queries as filter queries; this is a hack but does work. Also, using wildcards interferes with upper/lower case handling. On 9/10/09, Villemos, Gert wrote: > > I'm trying t

Facet fields and the DisMax query handler

2009-09-10 Thread Villemos, Gert
I'm trying to understand the DisMax query handler. I orginally configured it to ensure that the query was mapped onto different fields in the documents and a boost assigned if the fields match. And that works pretty smoothly. However when it comes to facetted searches the results perplexes me. Co

RE: Why dismax isn't the default with 1.4 and why it doesn't support fuzzy search ?

2009-09-09 Thread Villemos, Gert
ith 1.4 and why it doesn't support fuzzy search ? Hi Gert, &qt=dismax in URL works with Solr 1.3 and 1.4 without further configuration. You are right, you should find a "dismax" query parser in solrconfig.xml by default. Erwin On Wed, Sep 9, 2009 at 7:49 AM, Villemos,

RE: Why dismax isn't the default with 1.4 and why it doesn't support fuzzy search ?

2009-09-09 Thread Villemos, Gert
On question to this; Do you need to explicitly configure a 'dismax' queryparser in the solrconfig.xml to enable this, or is a queryparser named 'dismax' available per default? Cheers, Gert. -Original Message- From: Chris Hostetter [mailto:hossman_luc...@fucit.org] Sent: Wednesday, S

Dynamically building the value of a field upon indexing

2009-09-08 Thread Villemos, Gert
I would like to build the value of a field based on the value of multiple other fields at submission time. I.e. I would like to submit a document such as; foo baa And would like SOLR to store the document as foo baa foo:baa Just to complicate matters I would like the aggregated field to be

AW: Concept Expansion

2009-09-05 Thread Villemos, Gert
? Cheers, Gert. Von: Shalin Shekhar Mangar [mailto:shalinman...@gmail.com] Gesendet: Sa 05.09.2009 23:23 An: solr-user@lucene.apache.org Betreff: Re: Concept Expansion On Sun, Sep 6, 2009 at 2:17 AM, Villemos, Gert wrote: > > We would like to s

AW: AW: Concept Expansion

2009-09-05 Thread Villemos, Gert
each language), and, though I haven't made it yet but will soon, I've been suggested to do it as qparser plugin. paul Le 05-sept.-09 à 22:47, Villemos, Gert a écrit : > [Sorry, post submitted as HTML. Proper format below;] > > > We would like to support concept expan

AW: Concept Expansion

2009-09-05 Thread Villemos, Gert
ndler already exist (... looking at the list on the wiki and in the javadocs the answer seems to be no, but maybe its maintained externally)? And is this the right way to go at all? Thanks, Gert. ____ Von: Villemos, Gert [mailto:gert.ville...@logica.com]

Concept Expansion

2009-09-05 Thread Villemos, Gert
We would like to support concept expansion in searches, i.e. when a user searches for 'software' then the system should also search for keywords / phrases such as program

solrj - Log4j and slf4j integration - java.lang.IllegalStateException thrown

2009-09-01 Thread Villemos, Gert
We are using solrj 1.3 (with slf4j) in a client also using Aperture (with log4j 1.2.14). When executing a query I get the error shown below. The request is never received by the server, i.e. the exception is thrown before the request is issued. I think I'm running into a compatibility issue bet

Retrieving the boost factor using Solrj CommonsHttpSolrServer

2009-08-10 Thread Villemos, Gert
I'm using the solrj CommonsHttpSolrServer to retrieve documents from the index for update. I therefore also need to retrieve the boost factor as else each resubmission would reset the boost factor. I just cant figure out how to retrieve the boost factor. The boost factor is available in the So

AW: Where are the facets configured?

2009-02-23 Thread Villemos, Gert
>> My problem is; where are the facets defined? I expect to se them in the >> configuration, yet I dont. >Solr can facet "on the fly". The first time you request faceting on a > field, it may take longer though as internal data structures are built > and cached. The only current requirement is

Where are the facets configured?

2009-02-23 Thread Villemos, Gert
New to Lucene / SOLr, but reading and learning fast. I'm missing some fundamental mental link to understand how the facetted browsing works in SOLr. I have read the Wiki pages on facets and on configuration files. I have looked in the examples provided with SOLr. And searched Google / the mail