SolR : eDismax does not always use the defaultOperator "AND"

2011-08-17 Thread Valentin
I set the defaultOperator at "AND" in shema.xml : I use the defType=eDismax in my query. It works very well, but when I want to use "AND" or "OR" operators, it doesn't use "AND" as the default operator for the blanks I left without operators. Examples: field1:a field2:b does the same thing than

Re: SolR : eDismax does not always use the defaultOperator "AND"

2011-08-17 Thread Valentin
I had put mm at 4<75%, so if i understand it well, for 4 words or less, it has to match all the words. In my tests, i did it with 3 words, so i don't understand the results... thanks for your answer, Valentin -- View this message in context: http://lucene.472066.n3.nabble.com/SolR

Full sentence spellcheck

2011-08-18 Thread Valentin
I'm trying to configure a spellchecker to autocomplete full sentences from my query. I've already been able to get this results: /"american israel" : -> "american something" -> "israel something"/ But i want : /"american israel" : -> "american israel something"/ This is my solrconfig.xml : /

RE: Full sentence spellcheck

2011-08-19 Thread Valentin
Actually, that's not my problem, I do specify "q". Another idea ? It really makes me crazy... -- View this message in context: http://lucene.472066.n3.nabble.com/Full-sentence-spellcheck-tp3265257p3267394.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Full sentence spellcheck

2011-08-19 Thread Valentin
I don't think it wil lhelp me, sorry. I just want my query to not be tokenised, I want it to be considered as a full sentence to correct. But thanks for your answers, I keep searching. -- View this message in context: http://lucene.472066.n3.nabble.com/Full-sentence-spellcheck-tp3265257p3267629.

Re: Full sentence spellcheck

2011-08-19 Thread Valentin
Li Li wrote: > If you don't want to tokenize query, you should pass spellcheck.q > and provide your own analyzer such as keyword analyzer. That's already what I do with my suggestTextFull fieldType, added to my searchComponent, no ? I've copied my fieldType and my searchComponent on my first pos

Re: Full sentence spellcheck

2011-08-19 Thread Valentin
My beautiful NullPointer Exception : SEVERE: java.lang.NullPointerException at org.apache.solr.handler.component.SpellCheckComponent.getTokens(SpellCheckComponent.java:476) at org.apache.solr.handler.component.SpellCheckComponent.process(SpellCheckComponent.java:131) at o

Re: Full sentence spellcheck

2011-08-19 Thread Valentin
My analyser is not empty : / / and i'm sure there is words in it I don't know where to find this file "org.apache.solr.handler.component.SpellCheckComponent.getTokens" -- View this message in context: http://lucene.472066.n3.nabble.com/Full-se

Re: Full sentence spellcheck

2011-08-22 Thread Valentin
I found the thread "Suggester Issues". You said to write a new java class : package com.civicscience; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import org.apache.lucene.analysis.Token; import org.apache.solr.spelling.QueryConverter; /**

Re: Full sentence spellcheck

2011-08-22 Thread Valentin
Thanks, but i have a last question before trying your solution : did you have the same NullPointerException before ? I want to be sure that is the only way to resolve my problem before midifying some java files... -- View this message in context: http://lucene.472066.n3.nabble.com/Full-sentence-s

Re: Full sentence spellcheck

2011-08-23 Thread Valentin
I tried your solution, it works. But it modify all the spellcheckers that I made, so that's not a good solution for me (I have an autocomplete and a regular spellcheck with separated words that I want to keep). I tried to move the line "" *into* the requestHandler, but of course it does not work.

Re: Full sentence spellcheck

2011-08-24 Thread Valentin
I've run some tests, and I found that it makes this error when i add a spellcheck component to a handler and i try to use spellcheck.q So spellcheck.q works with this kind of use : http://localhost:8983/solr/db/suggest_full?q=american%20israel&spellcheck.q=american%20israel&qt=spellchecker (with

Adding a Topics (Scope) pulldown for refined initial searches.

2012-03-15 Thread Valentin, AJ
ented soon. Regards, AJ AJ Valentin Database Design Engineer III SRC-Huntsville o/256.428.9372 http://www.scires.com<http://www.scires.com/> CONFIDENTIALITY NOTICE: This email constitutes an electronic communication within the meaning of the Electronic Com

RE: Adding a Topics (Scope) pulldown for refined initial searches.

2012-03-15 Thread Valentin, AJ
ing field, then you limit adding fq=field_name:value to your Solr requests. And you can get a list of topics using a q=*:*&rows=0&facet=on&facet.field=field_name in the facet area of the response. Hope that helps. Erik On Mar 15, 2012, at 10:36 , Valentin, AJ wrote: > H

RE: Adding a Topics (Scope) pulldown for refined initial searches.

2012-03-15 Thread Valentin, AJ
Here is the link to the screenshot I tried to send about my Topic/Scope issue. http://imageupload.org/en/file/200809/solr-scope.png.html -Original Message- From: Valentin, AJ Sent: Thursday, March 15, 2012 9:47 AM To: 'solr-user@lucene.apache.org' Subject: RE: Adding a Top

Adding a 'Topics' pulldown for refined initial searches.

2012-03-16 Thread Valentin, AJ
Hello all, Yesterday was my first time using this (or any) email list and I think I did something wrong. Anyways, I will try this again. I have installed Solr search on my Drupal 7 installation. Currently, it works as an 'All' search tool. I'd like to limit the scope of the search with an

How to add/remove/customize search tabs

2012-04-18 Thread Valentin, AJ
I have Apache Solr installed with my Drupal 7 site and noticed some default tabs available (Content, Site, Users). Is there a way to add/change that tabs section? CONFIDENTIALITY NOTICE: This email constitutes an electronic communication within the meaning of t

Tabs with Apache Solr using Drupal 7

2012-08-10 Thread Valentin, AJ
Hello Solr Experts, Does anyone know how to active tabs (or scope bar) for the Solr search mechanism within Drupal 7? Thank you. CONFIDENTIALITY NOTICE: This email constitutes an electronic communication within the meaning of the Electronic Communications Priva

Scope bar?

2012-08-14 Thread Valentin, AJ
Can anyone help me out? I've tried a number of support paths, but I'm getting nowhere. I need to add a 'Scope Bar' to my Solr search mechanism, so I can let the user's search within a given Scope instead of 'All'...if they wish. It would be like the Drupal.org search (www.drupal.org

RE: Scope bar?

2012-08-14 Thread Valentin, AJ
- Appinions | 18 East 41st St., Suite 1806 | New York, NY 10017 www.appinions.com Where Influence Isn't a Game On Tue, Aug 14, 2012 at 9:39 AM, Valentin, AJ wrote: > Can anyone help me out? I've tried a number of support paths, but I'm > getting nowhere. > > I n