Solr 4.0 Levenshtein distance algorithm for DirectSpellChecker

2011-11-29 Thread elisabeth benoit
Hello, I'd like to know if the Levensthein distance algorithm used by Solr 4.0 DirectSpellChecker (working quite well I must say) is considering an inversion as distance = 1 or distance = 2? For instance, if I write Monteruil and I meant Montreuil, is the distance 1 or 2? Thanks, Elisabeth

Re: Solr 4.0 Levenshtein distance algorithm for DirectSpellChecker

2011-11-29 Thread elisabeth benoit
). Best, Elisabeth one error the DirectSpellChecker couldn't make the right suggestion for is joile for jolie, I guess because transposition is 2, and because the word is just five letters long so the inversion 2011/11/29 Robert Muir rcm...@gmail.com On Tue, Nov 29, 2011 at 8:07 AM, elisabeth

NGramFilterFactory - proximity and percentage of ngrams found

2011-11-15 Thread elisabeth benoit
Hello, I'm trying to use NGramFilterFactory for spell correction. I have three questions. 1) I use an edismax request handler. In this case, what is the relation between my ngrams and my default operator (q.op), if there is any? 2) Is there a way to control the proximity and percentage of

Re: Solr 4.0 indexing NoSuchMethodError

2011-11-10 Thread elisabeth benoit
. 2011/11/9 elisabeth benoit elisaelisael...@gmail.com Hello, I've just installed Solr 4.0, and I am getting an error when indexing. *GRAVE: java.lang.NoSuchMethodError: org.apache.lucene.util.CodecUtil.writeHeader(Lorg/apache/lucene/store/DataOutput;Ljava/lang/String;I)Lorg/apache

Solr 4.0 indexing NoSuchMethodError

2011-11-09 Thread elisabeth benoit
Hello, I've just installed Solr 4.0, and I am getting an error when indexing. *GRAVE: java.lang.NoSuchMethodError: org.apache.lucene.util.CodecUtil.writeHeader(Lorg/apache/lucene/store/DataOutput;Ljava/lang/String;I)Lorg/apache/lucene/store/DataOutput; at

Re: help with phrase query

2011-10-18 Thread elisabeth benoit
I think you can use pf2 and pf3 in your requestHandler. Best regards, Elisabeth 2011/10/16 Vijay Ramachandran vijay...@gmail.com Hello. I have an application where I try to match longer queries (sentences) to short documents (search phrases). Typically, the documents are 3-5 terms in

is there a way to know which mm value was used?

2011-10-05 Thread elisabeth benoit
Hello, I'd like to be able to know programmaticaly what value mm was set to for one request (to avoid having to parse the query, identify stopwords, calculate mm based on solrconfig.xml). Is there a way to get mm value in solr response? Thanks, Elisabeth

Re: is there a way to know which mm value was used?

2011-10-05 Thread elisabeth benoit
possible to calculate mm in my own code, but this would necessitate to be synchronize with mm default value in solrconfig.xml + with stopwords.txt + identifying all stopwords in request. Best regards, Elisabeth 2011/10/5 Shawn Heisey s...@elyograg.org On 10/5/2011 1:01 AM, elisabeth benoit

Re: How do i get results for quering with separated words?

2011-10-05 Thread elisabeth benoit
I think you could define star wars and starwars as synonyms in synonyms.txt... maybe not generic enough? 2011/10/5 Mike Mander wicket-m...@gmx.de Isn't this more a problem of the query string? Let's assume i have a game name like Nintentdo 3DS - 'Star Wars - Clone Wars'. Can i copy that

Re: getting answers starting with a requested string first

2011-09-28 Thread elisabeth benoit
Thanks a lot for your advice. What really matters to me is that answers with NAME_ANALYZED=Tour Eiffel appear first. Then, if Tour Eiffel Tower By Helicopter appears before or after Hotel la tour Eiffel doesn't really matter. Since I send fq=NAME_ANALYZED:tour eiffel, I am sure NAME_ANALYZED

fuzzy search by default

2011-09-20 Thread elisabeth benoit
Hello, Does anynone know if it is possible to configure Solr to do by default fuzzy search on every query word? All examples I've seen are ponctual (ie the tilde operator follows one specific word in q parameter). Best regards, Elisabeth

Re: getting answers starting with a requested string first

2011-09-20 Thread elisabeth benoit
solution I can think of. Any comment would be appreciated, Thanks, Elisabeth 2011/9/16 elisabeth benoit elisaelisael...@gmail.com Hello, Iif I have a request with fq=NAME_ANALYZED:tour eiffel and I have different answers like Restaurant la tour Eiffel Hotel la tour Eiffel Tour Eiffel

getting answers starting with a requested string first

2011-09-16 Thread elisabeth benoit
Hello, Iif I have a request with fq=NAME_ANALYZED:tour eiffel and I have different answers like Restaurant la tour Eiffel Hotel la tour Eiffel Tour Eiffel ... Is there a way to get answers with NAME_ANALYZED beginning with tour Eiffel first? Thanks, Elisabeth

no result with q

2011-09-08 Thread elisabeth benoit
Hello, I have a query /select?q=49q.alt=*:*fq=NAME_ANALYZED:decorasol AND WAY_ANALYZED:rue charonne AND (TOWN_ANALYZED:paris OR DEPARTMENT_ANALYZED:paris)rows=50fl=*,score returning no answer because of the q=49 parameter. The query /select?q=q.alt=*:*fq=NAME_ANALYZED:decorasol AND

Re: no result with q

2011-09-08 Thread elisabeth benoit
ok, I guess I found how q=49 OR * 2011/9/8 elisabeth benoit elisaelisael...@gmail.com Hello, I have a query /select?q=49q.alt=*:*fq=NAME_ANALYZED:decorasol AND WAY_ANALYZED:rue charonne AND (TOWN_ANALYZED:paris OR DEPARTMENT_ANALYZED:paris)rows=50fl=*,score returning no answer because

Re: filter query parameter not working as expected

2011-07-25 Thread elisabeth benoit
, elisabeth benoit elisaelisael...@gmail.com wrote: Hello, There is something I don't quite get with fq parameter. I have this query select?q=VINCI Parkfq=WAY_ANALYZED:de l hotel de ville AND (TOWN_ANALYZED:paris OR DEPARTEMENT_ANALYZED:paris)rows=200fl=*,score and two answers

filter query parameter not working as expected

2011-07-21 Thread elisabeth benoit
and the other called Vinci Park but having WAY_ANALYZED = 143 r lecourbe. Is there something I didn't understand about fq parameter? I'm using Solr 3.2. Thanks, Elisabeth Benoit

Re: faceting on field with two values

2011-07-06 Thread elisabeth benoit
Thanks for your advice and for your comments. In fact, we don't use facets to offer a facet UI to user, but to analyze user request, then send a second request to Solr. Lot of requests have lot of answers (often more then a thousand), so we need to filter user request with fq parameter, if

faceting on field with two values

2011-07-05 Thread elisabeth benoit
Hello, I have two fields TOWN and POSTALCODE and I want to concat those two in one field to do faceting My two fields are declared as followed: field name=TOWN type=string indexed=true stored=true/ field name=POSTALCODE type=string indexed=true stored=true/ The concat field is declared as

Re: faceting on field with two values

2011-07-05 Thread elisabeth benoit
hmmm... that sounds interesting and brings me somewhere else. we are actually reindexing data every night but the whole process is done by talend (reading and formatting data from a database) and this makes me wondering if we should use Solr instead to do this. in this case, concat two fields,

no answer with q empty q parameter

2011-06-27 Thread elisabeth benoit
Hello, When I send a request to Solr with fq parameter defined and an empty q parameter, I get no answer. I use edismax with mm = 4-1 6-2. Any clues? Thanks, Elisabeth

Re: no answer with q empty q parameter

2011-06-27 Thread elisabeth benoit
thanks! 2011/6/27 Ahmet Arslan iori...@yahoo.com When I send a request to Solr with fq parameter defined and an empty q parameter, I get no answer. I use edismax with mm = 4-1 6-2. Any clues? You can use q.alt=*:* http://wiki.apache.org/solr/DisMaxQParserPlugin#q.alt

Re: fq parameter with partial value

2011-05-03 Thread elisabeth benoit
, and one that is not tokenized (and usually not analyzed at all) for facetting. Hope this helps. On 5/2/2011 2:43 AM, elisabeth benoit wrote: I'm a bit confused here. What is the difference between CATEGORY and CATEGORY_TOKENIZED if I just do a copyField from what field to another

Re: Dismax scoring multiple fields TIE

2011-05-03 Thread elisabeth benoit
for category:chelsea, you have a fieldNorm=1.0, so your category field must have a type with omitNorms=true. if you don't have omitNorms=true, then shorter field will score higher. I'm new to Solr, but from what I've experienced, this is the cause. Regards, Elisabeth 2011/5/3 roySolr

Re: fq parameter with partial value

2011-05-02 Thread elisabeth benoit
, if I want this to work. And from what I understand, this means I should do more then just copy field name=*CATEGORY*Restaurant Hotel/field to CATEGORY_TOKENIZED. Thanks, Elisabeth 2011/4/28 Erick Erickson erickerick...@gmail.com See below: On Thu, Apr 28, 2011 at 9:03 AM, elisabeth benoit

fq parameter with partial value

2011-04-28 Thread elisabeth benoit
Hello, I would like to know if there is a way to use the fq parameter with a partial value. For instance, if I have a request with fq=NAME:Joe, and I would like to retrieve all answers where NAME contains Joe, including those with NAME = Joe Smith. Thanks, Elisabeth

Re: fq parameter with partial value

2011-04-28 Thread elisabeth benoit
, 2011 at 9:09 AM, elisabeth benoit elisaelisael...@gmail.com wrote: Hello, I would like to know if there is a way to use the fq parameter with a partial value. For instance, if I have a request with fq=NAME:Joe, and I would like to retrieve all answers where NAME contains Joe

Re: fq parameter with partial value

2011-04-28 Thread elisabeth benoit
to prevent matches across separate entries and have your fq do a proximity search where the proximity was less than the increment gap Best Erick On Thu, Apr 28, 2011 at 6:03 AM, elisabeth benoit elisaelisael...@gmail.com wrote: Hi Stefan, Thanks for answering. In more details

<    1   2