Re: Problem with relating values in two multi value fields

2012-10-07 Thread Torben Honigbaum
Hi Mikhail, sorry, my fault. This was one of my first ideas. My problem is, that I've 1.000.000 documents, each with about 20 attributes. Additionally each document has between 200 and 500 option-value pairs. So if I denormalize the data, it means that I've 1.000.000 x 350 (200 + 500 / 2) = 350

solr 1.4.1 -> 3.6.1; SOLR-758

2012-10-07 Thread Patrick Kirsch
Regarding https://issues.apache.org/jira/browse/SOLR-758 (Enhance DisMaxQParserPlugin to support full-Solr syntax and to support alternate escaping strategies.) I'm updating from solr 1.4.1 to 3.6.1 (I'm aware that it is not beautiful). After applying the attached patches to 3.6.1 I'm experienc

Re: QueryElevationComponent not working in Distributed Search

2012-10-07 Thread vasokan
Hi Erick, I cannot migrate to 4.0-ALPHA or 4.0-BETA because of the dependency in configuration as part of indexing in solrconfig.xml and schema.xml. When I try to use 4.0 version, I get a series of errors that pops up. Also I cannot change the entire configuration files that are available to me.

Re: long query response time in shards search

2012-10-07 Thread Jason
Hi, Otis Thanks your reply. yes, all cores are in same server. * what do you consider "too long"? just id(key) query response takes too long. almost id(key) query response takes under 10ms. example - 2012-10-05 16:38:32,078 [http-8080-exec-3979] INFO org.apache.solr.core.Solr

Re: Adding a new pseudo field

2012-10-07 Thread deniz
well basically i was about to explain and ask once more for your opinions but this morning i just wanted to try something in the source code and it succeeded... so here is what i want and i did for getting it: What I wanted: . The exact thing I want to is similar to "score" field. Normally it al

Re: One index or multiple?

2012-10-07 Thread Billy Newman
Erik, Thanks for all the help, what a great community. Unfortunately the 2 data sets I want to use the DIH for change a ton and are changed by a web app accessible to a number of people, as well as a few other internal server applications. Since the data sets were a small figured re-indexin

long query response time in shards search

2012-10-07 Thread Jason
We're running 10 solr cores(c00,c01,...,c09) in a box and querying like http://x.x.x.x/c00/select?q=test&shards=c00,c01,..,c09 This means all of the result are merged in core c00. Is this not good use in shards search? When we analyze log file, query response time in core c00 is often too long. How

add shard to index

2012-10-07 Thread Radim Kolar
i am reading this: http://wiki.apache.org/solr/SolrCloud section Re-sizing a Cluster Its possible to add shard to an existing index? I do not need to get data redistributed, they can stay where they are, its enough for me if new entries will be distributed into new number of shards. restarting

Storing queries in Solr

2012-10-07 Thread Jorge Luis Betancourt Gonzalez
Hi! I was wondering if there are any built-in mechanism that allow me to store the queries made to a solr server inside the index itself. I know that the suggester module exist, but as far as I know it only works for terms existing in the index, and not with queries. I remember reading about us

Re: queryResultWindowSize vs rows

2012-10-07 Thread Erick Erickson
Yep, the query results are stored on the server. All you get back on the client side is the XML you see, there's nothing else magically stored on the client. Best Erick On Sun, Oct 7, 2012 at 12:45 PM, Jie Sun wrote: > Hi Erik, > no I dont have any evidence, just a precaution question. > So acco

Re: queryResultWindowSize vs rows

2012-10-07 Thread Jie Sun
Hi Erik, no I dont have any evidence, just a precaution question. So according to your explanation, this cache only keep the document ID, so if client paying to next group of document in the window, there will be another query to solr server to retrieve these docs, correct? ok that is good to kno

Re: queryResultWindowSize vs rows

2012-10-07 Thread Erick Erickson
I wouldn't worry about it too much. The search result cache is really cheap, each entry is simply a long value so even if you cache a lot of values it's not much memory... It does _not_ cache the entire document. Do you have any evidence that this will cause you problems or is this theoretical?

Re: One index or multiple?

2012-10-07 Thread Erick Erickson
My personal approach would be to take DIH out of the mix entirely and do the whole thing in SolrJ where you can exercise control to whatever degree you want. DIH is a fine tool, but sometimes it's wrong for a particular situation. Here's some code to get you started if you want to go that route.

Re: queryResultWindowSize vs rows

2012-10-07 Thread Jie Sun
any suggestions? -- View this message in context: http://lucene.472066.n3.nabble.com/queryResultWindowSize-vs-rows-tp401p4012336.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Queryparser works when specified as q parameter but not as defType

2012-10-07 Thread Erik Hatcher
There's a difference between q={!myparser f=field}value and q=field:value&defType=myparser in that the latter requires that your parser do the splitting of "field" at the colon. Does your parser do this? The former allows for a local param to specify the f(ield) through a params construct au

Re: One index or multiple?

2012-10-07 Thread Billy Newman
Walter, Thanks! You bring up a very important 'commit' problem which I had not thought about. So I am running a DIH that is wiping out part of the index (ie all animals), then re-indexing/re-importing. I have another DIH that is wiping out part if the index (minerals), then re-indexing/re-impor

Re: Get report of keywords searched.

2012-10-07 Thread Mikhail Khludnev
Rajani, IIRC solrmeter can grab search phrases from log. There is a special command for doing it there. Right - Tool/Extract Queries. Regards On Sun, Oct 7, 2012 at 10:02 AM, Rajani Maski wrote: > Hi Davide, Yes right. This can be done. > > Just one question, I am not sure if I had to cr