Re: Iso accents and wildcards

2009-11-01 Thread Nicolas Leconte
Tks for the tips, I will try to do exactly what u suggest. Avlesh Singh a écrit : When I request with title:econ* I can have the correct answers, but if I request with title:écon* I have no answers. If I request with title:économ (the exact word of the index) it works, so there might be s

Re: Iso accents and wildcards

2009-11-01 Thread Nicolas Leconte
Tks for the explain now I can clearly understand why it doesn't work as I was expecting :) jfmel...@free.fr a écrit : if the request contains any wilcard then filters are not called : no ISOLatin1AccentFilterFactory and no SnowballPorterFilterFactory ! "économie" is indexed to "econom" solr

Re: Greater-than and less-than in data import SQL queries

2009-11-01 Thread Amit Nithian
A thought I had on this from a DIH design perspective. Would it be better to have the SQL queries stored in an element rather than an attribute so that you can wrap it in a CDATA block without having to mess up the look of query with <, >? Makes debugging easier (I know find and replace is trivial

Re: Solr YUI autocomplete

2009-11-01 Thread Amit Nithian
I've used the YUI auto complete (albeit not with Solr which shouldn't matter here) and it should work with JSON. I did one that simply made XHR calls over to a method on my server which returned pipe delimited text which worked fine. Are you using the XHR Data source and if so, what type are you t

Re: multiple sql queries for one index?

2009-11-01 Thread Amit Nithian
I don't particularly like the nested entities approach because from what I recall it will execute separate SQL queries for each top level record which, to me, doesn't seem very ideal for large scale indexing. I know it's a pain to do a ton of joins.. believe me our dataset has a boat load of joins

Re: Question about DIH execution order

2009-11-01 Thread Noble Paul നോബിള്‍ नोब्ळ्
On Sun, Nov 1, 2009 at 11:59 PM, Bertie Shen wrote: > Hi folks, > >  I have the following data-config.xml. Is there a way to > let transformation take place after executing SQL "select comment from > Rating where Rating.CourseId = ${Course.CourseId}"?  In MySQL database, > column CourseId in table

Re: Programmatically configuring SLF4J for Solr 1.4?

2009-11-01 Thread Ryan McKinley
I'm sure it is possible to configure JDK logging (java.util.loging) programatically... but I have never had much luck with it. It is very easy to configure log4j programatically, and this works great with solr. To use log4j rather then JDK logging, simply add slf4j- log4j12-1.5.8.jar (from

Programmatically configuring SLF4J for Solr 1.4?

2009-11-01 Thread Don Werve
So, I've spent a bit of the day banging my head against this, and can't get it sorted. I'm using a DirectSolrConnection embedded in a JRuby application, and everything works great, except I can't seem to get it to do anything except log to the console. I've tried pointing 'java.util.logging.confi

latest lucene libraries in maven repo

2009-11-01 Thread Uri Boness
Hi, It seems the the latest lucene libraries are not up to date in the Solr maven repo (http://people.apache.org/repo/m2-snapshot-repository/org/apache/solr/solr-lucene-core/1.4-SNAPSHOT/) Can we expect them to be updated soon? Cheers, Uri

RE: autocomplete

2009-11-01 Thread Ankit Bhatnagar
Hey Avlesh, Thanks for your reply. -Ankit -Original Message- From: Avlesh Singh [mailto:avl...@gmail.com] Sent: Saturday, October 31, 2009 10:08 PM To: solr-user@lucene.apache.org Subject: Re: autocomplete > > > "q=*:*&fq=ac:*all*&wt=json&rows=15&start=0&indent=on&omitHeader=true&jso

Question about DIH execution order

2009-11-01 Thread Bertie Shen
Hi folks, I have the following data-config.xml. Is there a way to let transformation take place after executing SQL "select comment from Rating where Rating.CourseId = ${Course.CourseId}"? In MySQL database, column CourseId in table Course is integer 1, 2, etc; template transformation will make

Re: problems with PhraseHighlighter

2009-11-01 Thread AHMET ARSLAN
> Copy-paste your field definition for > the field you are trying to > highlight/search on. > > Cheers > Avlesh Thank you for your interest Avlesh, My field type mostly contains custom filters and tokenizers. Firstly I tried to use solr.HTMLStripC

Re: problems with PhraseHighlighter

2009-11-01 Thread Avlesh Singh
Copy-paste your field definition for the field you are trying to highlight/search on. Cheers Avlesh On Sun, Nov 1, 2009 at 8:24 PM, AHMET ARSLAN wrote: > Hello everyone, > > I am having problems with highlighting the complete text of a field. I have > an xml field. I am querying proximity searc

problems with PhraseHighlighter

2009-11-01 Thread AHMET ARSLAN
Hello everyone, I am having problems with highlighting the complete text of a field. I have an xml field. I am querying proximity searches on this field. xml: ( proximity1 AND/OR proximity2 AND/OR …) Results are returned successfully satisfying the proximity query. However when I request hig

Re: Indexing multiple entities

2009-11-01 Thread Christian López Espínola
On Sun, Nov 1, 2009 at 5:30 AM, Avlesh Singh wrote: >> >> The use case on DocumentObjectBinder is that I could override >> toSolrInputDocument, and if field = ID, I could do: setField("id", >> obj.getClass().getName() + obj.getId()) or something like that. >> > > Unless I am missing something here