Re: multivalued filed question (FieldCache error)

2012-10-01 Thread giovanni.bricc...@banzai.it
I'm also using that field for a facet: | dismax explicit 1 many field but not store_slug |many field but not store_slug||| ..., store_slug 2 2 *:* default true tr

Re: Understanding fieldCache SUBREADER "insanity"

2012-10-01 Thread Aaron Daubman
Hi Yonik, I've been attempting to fix the SUBREADER insanity in our custom component, and have made perhaps some progress (or is this worse?) - I've gone from SUBREADER to VALUEMISMATCH insanity: ---snip--- entries_count : 12 entry#0 : 'MMapIndexInput(path="/io01/p/solr/playlist/c/playlist/index/

Re: Synonyms Phrase not working

2012-10-01 Thread Bernd Fehling
Hi, because your search for /?q=produto_nome:"lubrificante intimo" is a phrase search and will be handled different. Your other search gets the synonyms, but the last synonym is a multi-word synonym and not a phrase ... produto_nome:lubrificante intimo) )) See also: http://wiki.apache.org/solr/

Problem with spellchecker

2012-10-01 Thread Jose Aguilar
We have configured 2 spellcheckers English and French in solr 4 BETA. Each spellchecker works with a specific search handler. The English spellchecker is working as expected with any word regardless of the case. On the other hand, the French spellchecker works with lowercase words. If the firs

RE: Zookeeper setup for solr cloud

2012-10-01 Thread Markus Jelsma
Hi Varun, Running many Zookeeper instances improves read time but has a negative impact on writing states to Zookeeper. Having a node only talk to the local Zookeeper instance limits availability, your Zookeeper daemon will die at some point and that will cut off your Solr node from the entire

Re: Zookeeper setup for solr cloud

2012-10-01 Thread varun srivastava
Hi, Rephrasing my question ... Let me know if anyone feel some problem with following deployment of solrcloud 1) Have 200 solrcloud nodes ( serv1, serv2, .. serv200) with each machine having both zookeeper and solr both. 2) zookeeper config contain the list of all servers server.1=serv1:2888:38

DIH - ssl/https support

2012-10-01 Thread Billy Newman
I am trying to hit a an https url from the DIH and am having problems. Basically I would like to give the DIH my server certificate (since it is really the server that is running the DIH) to use to query my https URL. Currently the DIH throws exceptions when trying to request the https URL. Any

Re: Lifecycle of a TokenFilter from TokenFilterFactory

2012-10-01 Thread Mikhail Khludnev
Ok. I might get what you are looking for. Extends SolrTestCase4J (see plenty samples in codebase). Obtain request via req(), obtain schema from it by getSchema(), then getAnalyzer() or getQueryAnalyzer() and ask for analysis org.apache.lucene.analysis.Analyzer.tokenStream(String, Reader). You'll fi

Re: "Indexed without position data" - strange exception in eDisMax (Solr 4.0beta)

2012-10-01 Thread Jack Krupansky
"autoGeneratePhraseQueries" simply means that terms with embedded punctuation that gets filtered to be whitespace will treat the resulting sub-terms as if they were a quoted phrase, so A-D gets treated as "A D", a phrase. Did you maybe index the initial data with different field types and then

Re: Lifecycle of a TokenFilter from TokenFilterFactory

2012-10-01 Thread Em
That's exactly the way I do it when I have to write some custom stuff. My problem is that I do not know how to integrate an Analyzer's reusability-feature into a Unit-Test to see what happens if - i.e. - a TokenFilter-instance is going to be reused. Some TokenFilter-prototypes I've seen are state

Re: Solr 4 spatial queries, jts and polygons

2012-10-01 Thread Smiley, David W.
Looks like this important bug fix is making it into 4.0 ! http://lucene.472066.n3.nabble.com/VOTE-release-4-0-take-two-tp4010808p4011255.html On Oct 1, 2012, at 10:26 AM, David Smiley (@MITRE.org) wrote: > Hi Ere, > > You are using it correctly. The problem is this: > https://issues.apache.org/

Re: Lifecycle of a TokenFilter from TokenFilterFactory

2012-10-01 Thread Mikhail Khludnev
It's not clear what you want to achieve. I don't always create custom TokenStreams, but if I do I use Lucenes as a prototype to start from. On Mon, Oct 1, 2012 at 6:07 PM, Em wrote: > Hi Mikhail, > > thanks for your feedback. > > If so, how can I write UnitTests which respect the Reuse strategy?

Re: multivalued filed question (FieldCache error)

2012-10-01 Thread Erik Hatcher
How is your request handler defined? Using store_slug for anything but fl? Erik On Oct 1, 2012, at 10:51, "giovanni.bricc...@banzai.it" wrote: > Hello, > > I would like to put a multivalued field into a qt definition as output field. > to do this I edit the current solrconfig.xml definit

Re: "Indexed without position data" - strange exception in eDisMax (Solr 4.0beta)

2012-10-01 Thread Alexandre Rafalovitch
I use text_en_splitting from example distribution, which does have autoGeneratePhraseQueries: But I do not see the other omit options anywhere in solr.config and definitely not for the field or field type definition: I am not sure what the defaults are either. I am using version 1.5 of

Re: "Indexed without position data" - strange exception in eDisMax (Solr 4.0beta)

2012-10-01 Thread Jack Krupansky
You probably have omitTermFreqAndPositions=true or omitPositions=true in your schema for that field. You MUST have position info to use phrase query. -- Jack Krupansky -Original Message- From: Alexandre Rafalovitch Sent: Monday, October 01, 2012 11:53 AM To: solr-user@lucene.apache.or

RE: "Indexed without position data" - strange exception in eDisMax (Solr 4.0beta)

2012-10-01 Thread Markus Jelsma
-Original message- > From:Alexandre Rafalovitch > Sent: Mon 01-Oct-2012 17:58 > To: solr-user@lucene.apache.org > Subject: "Indexed without position data" - strange exception in > eDisMax (Solr 4.0beta) > > I am getting a very strange exception when I use edismax handler and > search qu

Re: Connection refused when excecuting the query

2012-10-01 Thread Erick Erickson
bq: I have the same problem. can you help me how to solve this? CommonsHttpSolrServer is running very well. So I don't understand your problem. You say "CommonsHttpSolrServer is running very well", so are you seeing the "connection refused" message or not? And did you follow Shalin's clue and insu

Deploying and securing Solr war in JBoss AS

2012-10-01 Thread Billy Newman
I am struggling with how to protect the Solr URLs (esp. the admin page(s)) when I deploy solr to JBoss. I know that I can extract the web.xml from the war and mess with that, but was wondering if there was a way to deploy the war as-is and modify some JBoss config file to protect that wars URL(s).

Re: Connection refused when excecuting the query

2012-10-01 Thread Bhavesh jogi
Shalin Shekhar Mangar gmail.com> writes: > > On Thu, Sep 10, 2009 at 4:52 PM, dharhsana gmail.com>wrote: > > > > > Hi to all, > > when i try to execute my query i get Connection refused ,can any one please > > tell me what should be done for this ,to make my solr run. > > > > org.apache.solr.

multivalued filed question (FieldCache error)

2012-10-01 Thread giovanni.bricc...@banzai.it
Hello, I would like to put a multivalued field into a qt definition as output field. to do this I edit the current solrconfig.xml definition and add the field in the fl specification. Unexpectedly when I do the query q=*:*&qt=mytype I get the error can not use FieldCache on multivalued fiel

Re: Solr 4 spatial queries, jts and polygons

2012-10-01 Thread David Smiley (@MITRE.org)
Hi Ere, You are using it correctly. The problem is this: https://issues.apache.org/jira/browse/LUCENE- Sadly, this just missed the 4.0 release which appears to be imminent. If the release needs to be "respun" then I'll get this simple fix in it. Yeah this sucks and it's very frustrating to

Re: Lifecycle of a TokenFilter from TokenFilterFactory

2012-10-01 Thread Em
Hi Mikhail, thanks for your feedback. If so, how can I write UnitTests which respect the Reuse strategy? What's the recommended way when creating custom Tokenizers and TokenFilters? Kind regards, Em Am 01.10.2012 10:54, schrieb Mikhail Khludnev: > Hello, > > Analyzers are reused. Analyzer is T

Re: Question searching

2012-10-01 Thread Jack Krupansky
Store the literal question as the title or another separate field of the document/answer and then do an edismax query using the query question with q.op set to "OR" and pf2 and pf3 set to the field that contains the question as well as the answer body field, with an extra boost for the question

Re: How does negative query boosting works in solr 3.6.1

2012-10-01 Thread Jack Krupansky
The field reference applies only to the single term, quoted phrase, or parenthesized sub-query that follows it, so maybe you meant: (*:* -field1:"ABC XYZ")^1000 or (*:* -field1:(ABC XYZ))^1000 Your pick as to whether you require the terms to be adjacent or merely somewhere in the field. You

Re: RES: Boosting in query level the relevance based in content of any fields

2012-10-01 Thread Toke Eskildsen
On Mon, 2012-10-01 at 14:20 +0200, Claudio Ranieri wrote: > Is there a way to omit the cities with boosting 1? > The number of cities is big, but the number of "important" cities is small. Sorry, not with this simple trick. Maybe a function query, as 曹霖 suggests, can help you, but I have no exper

RES: Boosting in query level the relevance based in content of any fields

2012-10-01 Thread Claudio Ranieri
Hi Toke, Is there a way to omit the cities with boosting 1? The number of cities is big, but the number of "important" cities is small. -Mensagem original- De: Toke Eskildsen [mailto:t...@statsbiblioteket.dk] Enviada em: segunda-feira, 1 de outubro de 2012 09:13 Para: solr-user@lucene.ap

Re: Boosting in query level the relevance based in content of any fields

2012-10-01 Thread Toke Eskildsen
On Fri, 2012-09-28 at 14:43 +0200, Claudio Ranieri wrote: > name | city > Jose | Campinas > Jose | São Paulo > Jose | Rio de Janeiro > Jose | Rio Branco > Jose | Ourinhos > > In search by "Jose", I wish return on top the documents (Jose | São > Paulo and Jose | Rio de Janeiro). If all documents h

How does negative query boosting works in solr 3.6.1

2012-10-01 Thread mechravi25
I am using a negative query boosting for a particular field as given in the solr wiki (*:* -field1:ABC XYZ)^1000 When I do a search now, the top results does not contain value "ABC XYZ" from field1. When I give a search value as ABC DEF and accordingly change the negative query boosting in bq pa

RES: Boosting in query level the relevance based in content of any fields

2012-10-01 Thread Claudio Ranieri
Hi Erick The user will search in "name" field, not in "city" field. I will create a third field "important" and I will sort by this field. -Mensagem original- De: Erick Erickson [mailto:erickerick...@gmail.com] Enviada em: segunda-feira, 1 de outubro de 2012 08:43 Para: solr-user@lucen

Re: Boosting in query level the relevance based in content of any fields

2012-10-01 Thread Erick Erickson
Unless I'm misreading something, this sounds like simple boosting at query time, see: https://lucene.apache.org/core/3_6_0/queryparsersyntax.html#Boosting a Term Best Erick On Mon, Oct 1, 2012 at 6:58 AM, Claudio Ranieri wrote: > Hi Erick. > > When I set up the query, I will inform the cities th

RES: Boosting in query level the relevance based in content of any fields

2012-10-01 Thread Claudio Ranieri
Hi Erick. When I set up the query, I will inform the cities that I wish the weight has increased. Is there any way I can do this? How would I do for the contents of some fields increase the relevance (not increasing for all values ​​of the field)? Is there any function to do this? How would I do

AUTO: Ryan J Minniear is out of the office. (returning 10/08/2012)

2012-10-01 Thread Ryan J Minniear
I am out of the office until 10/08/2012. I will respond to your message when I return. Note: This is an automated response to your message "Re: Lifecycle of a TokenFilter from TokenFilterFactory" sent on 10/01/2012 2:54:17. This is the only notification you will receive while this person is

Re: Lifecycle of a TokenFilter from TokenFilterFactory

2012-10-01 Thread Mikhail Khludnev
Hello, Analyzers are reused. Analyzer is Tokenizer and several TokenFilters. Check the source org.apache.lucene.analysis.Analyzer, pay attention to reuseStrategy. Best regards On Sun, Sep 30, 2012 at 5:37 PM, Em wrote: > Hello list, > > I saw a bug in a TokenFilter that only works, if there is