Facet.query and collapsing

2010-11-25 Thread Jean-Sebastien Vachon
Hi All, I'm in a situation where I need to perform a facet on a query with field collapsing. Let's say the main query is something like this title:apple&fq={!tag=sources}source_id:(33 OR 44)&facet=on&facet.field={!ex=sources}source_id&facet.query=source_id:(33 OR 44)&collapse=on&collapse.fie

Using synonyms in combination with facets

2010-11-25 Thread kirchheimer
Hello, I have a field that I use for facetting. I do not tokenize this field. It has entries like: AWB artikel 2, lid 1 AWB artikel 8:75 Algemene Wet Bestuursrecht artikel 8:75 Now, I don't want to get hundreds of facets, but I would rather like to have a facet for each law, instead for each p

Re: SOLR 1.4.1 : Indexing DateField time zone problem

2010-11-25 Thread Erik Fäßler
Hm - but I observed this, too. And I didn't do anything with SQL at all. I was parsing date strings out of XML, creating a string which could be formatted using DIH's DateFormatTransformer. But the indexed dates have been a few hours too early in my case, switching back the dates to one day befo

Re: boosting

2010-11-25 Thread Otis Gospodnetic
Hi, If a field always has a numeric value, does boosting it make any difference? I never tested this explicitly, but assuming there is a single numerical token in a field, I'd think that field can either match or not match, so its contribution to the score will always have one of 2 possible v

Re: SOLR 1.4.1 : Indexing DateField time zone problem

2010-11-25 Thread Erick Erickson
I don't believe this is a Solr issue at all. I suspect your MySql query is doing the timezone change. Solr doesn't apply any processing to the date, it doesn't need to because times are all Zulu. There's a little known debug console for DIH, see: http://wiki.apache.org/solr/DataImportHandler#inter

Re: Invoke directUpdateHandler2.deleteByQuery

2010-11-25 Thread Erick Erickson
I can think of two quick possibilities: 1> Just do a delete by query via XML, something like specfield:value. You could use curl or put it on the http request (separate from the delta import). There's an example of posting via post.jar here: http://lucene.apache.org/solr/tutorial.html curl example:

Re: DisMaxQParserPlugin and Tokenization

2010-11-25 Thread Jan Kurella
Ok, I think I found it: the Queryparser used in the background "chunks" by whitespaces (and {}). Each of these chunks are then treated as "Phrases". This is complete useless for non-whitespace tokenizing languages. So I started a simple DisMaxQueryParser. Can someone verify, that this codes pr

Re: About Solr Query help

2010-11-25 Thread Ahmet Arslan
--- On Thu, 11/25/10, Himanshu Tatariya wrote: > From: Himanshu Tatariya > Subject: About Solr Query help > To: solr-user@lucene.apache.org > Date: Thursday, November 25, 2010, 4:02 PM > Hello, > > Greetings ! > > I am working on one project which is used solr search > facilities and its is g

About Solr Query help

2010-11-25 Thread Himanshu Tatariya
Hello, Greetings ! I am working on one project which is used solr search facilities and its is good for searching and indexing it. I have one query regarding searching facets, so please guide me. I search color just for example : "*attr_color_sm:blue*" which i send in query but now I want p

Re: MoreLikeThis and two field in mlt.fl

2010-11-25 Thread Jens Grivolla
On 11/25/2010 10:06 AM, Damien Fontaine wrote: I have a problem with MoreLikeThis on Solr 1.4.1. I can't put two field on mlt.fl. Example : text and title, only text is in interestingTerms It should work. My guess is that the terms from the title simply don't make the cut due to mlt.mintf, whi

DIH : Delta import don't process the updated documents

2010-11-25 Thread yaumix
Hi, I want to use the delta import, then i have configured the DIH like this :

SOLR 1.4.1 : Indexing DateField time zone problem

2010-11-25 Thread Shanmugavel SRD
I am using SOLR 1.4.1. My SOLR runs in a server which is in EST zone. I am trying to index a date field which is in MySQL as '2007-08-08T05:36:50Z' but while indexing it becomes '2007-08-08T09:36:50Z' where 4 hours got increased. But I want the date as is while indexing, means, after indexing I wa

Re: How to use polish stemmer - Stempel - in schema.xml?

2010-11-25 Thread Jakub Godawa
After all I choose hunspell-solr as a Polish language interpreter. It "understands" Polish and is much easier to install. But look out! I does not work with current nightly build - works good with solr 1.4.1! It just works well, and hey! I got Ukrainian out of the box too. I am thinking of replaci

MoreLikeThis and two field in mlt.fl

2010-11-25 Thread Damien Fontaine
Hello, I have a problem with MoreLikeThis on Solr 1.4.1. I can't put two field on mlt.fl. Example : text and title, only text is in interestingTerms /Damien

Re: DIH delta, deltaQuery

2010-11-25 Thread Sven Almgren
Are you running optimization after this query? If you check the command=status page I'd guess that the document count has stopped after a few seconds? /Sven On Wed, Nov 24, 2010 at 13:06, stockii wrote: > > Hello. > > i wonder why this deltaQuery takes over a minute: > > deltaQuery="SELECT id F