Re: Solr Spatial Query Problem Hk.

2017-10-04 Thread David Smiley
Hi, Firstly, if Solr returns an error referencing an exception then you can look in Solr's logs for the stack trace, which helps debugging problems a ton (at least for Solr devs). I suspect that the problem here is that your schema might have a dynamic field where *coordinates is defined to be a

Solr Spatial Query Problem Hk.

2017-09-27 Thread Can Ezgi Aydemir
hi everyone, I am trying spatial query in solr such as intersects, within etc. I write below query but it is wrong. I try 3 different method this query but all query return same error. How to run spatial query in solr? Such as intersect, iswithin etc. Best Regards. 1- http://localhost:8983/s

Re: query problem

2016-08-08 Thread Erick Erickson
If at all possible, denormalize the data But you can also use Solr's Join capability here, see: https://cwiki.apache.org/confluence/display/solr/Other+Parsers#OtherParsers-JoinQueryParser Best, Erick On Mon, Aug 8, 2016 at 8:47 AM, Pithon Philippe wrote: > Hello, > I have two documents type

query problem

2016-08-08 Thread Pithon Philippe
Hello, I have two documents type : - tickets (type_s:"ticket", customerid_i:10) - customers (type_s:customer,customerid_i:10,name_s:"FISHER" ) I want a query to find all tickets for name customer FISHER In document ticket (type_s:"ticket") , I have id customer but not name customer... Any ideas ?

Re: query problem

2014-03-05 Thread Gora Mohanty
On 6 March 2014 11:23, Kishan Parmar wrote: > Thanks, > my documents are xml files i am attaching that document in this and in my > project i have to search from each field defined in schema.xml [...] The type for State in your schema is "string" which is a non-analysed field that stores the te

Re: query problem

2014-03-05 Thread Kishan Parmar
Thanks, my documents are xml files i am attaching that document in this and in my project i have to search from each field defined in schema.xml and my output should be in solr is like { "responseHeader": { "status": 0, "QTime": 1, "params": { "indent": "true", "q": "S

Re: query problem

2014-03-05 Thread Ahmet Arslan
Hi Kishan, can you please give us example document query pair that query should retrieve that document. e.g. query q=State:"tamil nadu" should return what document text? Ahmet On Wednesday, March 5, 2014 9:04 PM, Kishan Parmar wrote: Thanks , but still no change in output  ---> q=State:"tam

Re: query problem

2014-03-05 Thread Kishan Parmar
Thanks , but still no change in output ---> q=State:"tamil nadu" it parse as "q": "State:\"tamil nadu\"" Regards, Kishan Parmar Software Developer +91 95 100 77394 Jay Shree Krishnaa !! 2014-03-06 0:17 GMT+05:30 Ahmet Arslan : > Hi, > > I suspect q=State:tamil nadu parsed as State:tamil te

Re: query problem

2014-03-05 Thread Ahmet Arslan
Hi, I suspect q=State:tamil nadu parsed as State:tamil text:nadu. You can confirm this by adding debugQuery=on. Either use quotes q=State:"tamil nadu" or use term query parser q={!term f=State}tamil nadu Ahmet On Wednesday, March 5, 2014 8:29 PM, Kishan Parmar wrote: hi there my schema file

query problem

2014-03-05 Thread Kishan Parmar
hi there my schema file is this--->

Re: Rogue query killed several replicas with OOM, after recovering - match all docs query problem

2013-04-22 Thread Timothy Potter
Hi Sudhakar, Unfortunately, we don't know the underlying cause and I lost the logs that could have helped diagnose further. FWIW, I think this is an extreme case as I've lost nodes before and haven't had any discrepancies after recovering. In my case, it was a perfect storm of high throughput inde

Re: Rogue query killed several replicas with OOM, after recovering - match all docs query problem

2013-04-22 Thread Sudhakar Maddineni
We had encountered similar issue few days back with 4.0- Beta version. We have 6 node - 3 shard cluster setup.And, one of our replica servers[tomcat] was not responding to any requests because it reached the max no of the threads[200 -default]. To temporarily fix the issue, we had to restart the se

Re: Rogue query killed several replicas with OOM, after recovering - match all docs query problem

2013-04-22 Thread Mark Miller
No worries, thanks for the info. Let me know if you gain any more insight! I'd love to figure out what happened here and address it. And I'm especially interested in knowing if you lost any updates if you are able to determine that. - Mark On Apr 22, 2013, at 5:02 PM, Timothy Potter wrote: >

Re: Rogue query killed several replicas with OOM, after recovering - match all docs query problem

2013-04-22 Thread Timothy Potter
I ended up just nuking the index on the replica with less docs and restarting it - which triggered the snap pull from the leader. So now I'm in sync and have better processes in place to capture the information if it happens again, which given some of the queries my UI team develops, is highly like

Re: Rogue query killed several replicas with OOM, after recovering - match all docs query problem

2013-04-22 Thread Mark Miller
What do you know about the # of docs you *should*? Do you have that mean when taking the bad replica out of the equation? - Mark On Apr 22, 2013, at 4:33 PM, Mark Miller wrote: > Bummer on the log loss :( > > Good info though. Somehow that replica became active without actually > syncing? Th

Re: Rogue query killed several replicas with OOM, after recovering - match all docs query problem

2013-04-22 Thread Mark Miller
Bummer on the log loss :( Good info though. Somehow that replica became active without actually syncing? This is heavily tested (though not with OOM's I suppose), so I'm a little surprised, but it's hard to speculate how it happened without the logs. Specially, the logs from the node that is of

Re: Rogue query killed several replicas with OOM, after recovering - match all docs query problem

2013-04-22 Thread Timothy Potter
nm - can't read my own output - the leader had more docs than the replica ;-) On Mon, Apr 22, 2013 at 11:42 AM, Timothy Potter wrote: > Have a little more info about this ... the numDocs for *:* fluctuates > between two values (difference of 324 docs) depending on which nodes I > hit (distrib=tru

Re: Rogue query killed several replicas with OOM, after recovering - match all docs query problem

2013-04-22 Thread Timothy Potter
Have a little more info about this ... the numDocs for *:* fluctuates between two values (difference of 324 docs) depending on which nodes I hit (distrib=true) 589,674,416 589,674,092 Using distrib=false, I found 1 shard with a mis-match: shard15: { leader = 32,765,254 replica = 32,764,930 d

Re: Rogue query killed several replicas with OOM, after recovering - match all docs query problem

2013-04-20 Thread Timothy Potter
Thanks for responding Mark. I'll collect the information you asked about and open a JIRA once I have a little more understanding of what happened. Hopefully I can piece together some story after going over the logs. As for replica / leader, I suspect some leaders went down but fail-over to new lea

Re: Rogue query killed several replicas with OOM, after recovering - match all docs query problem

2013-04-20 Thread Mark Miller
Yeah, thats no good. You might hit each node with distrib=false to get the doc counts. Which ones have what you think are the right counts and which the wrong - eg is it all replicas that are off, or leaders as well? You say several replicas - do you mean no leaders went down? You might look c

Rogue query killed several replicas with OOM, after recovering - match all docs query problem

2013-04-19 Thread Timothy Potter
We had a rogue query take out several replicas in a large 4.2.0 cluster today, due to OOM's (we use the JVM args to kill the process on OOM). After recovering, when I execute the match all docs query (*:*), I get a different count each time. In other words, if I execute q=*:* several times in a r

Re: Solr 4.0 simultaneous query problem

2012-11-06 Thread Rohit Harchandani
So is it a better approach to query for smaller rows, say 500, and keep increasing the start parameter? wouldnt that be slower since I have an increasing start parameter and I will also be sorting by the same field in each of my queries made to the multiple shards? Also, does it make sense to have

Re: Solr 4.0 simultaneous query problem

2012-11-05 Thread Walter Underwood
Don't query for 5000 documents. That is going to be slow no matter how it is implemented. wunder On Nov 5, 2012, at 1:00 PM, Rohit Harchandani wrote: > Hi, > So it seems that when I query multiple shards with the sort criteria for > 5000 documents, it queries all shards and gets a list of docum

Re: Solr 4.0 simultaneous query problem

2012-11-05 Thread Rohit Harchandani
Hi, So it seems that when I query multiple shards with the sort criteria for 5000 documents, it queries all shards and gets a list of document ids and then adds the document ids to the original query and queries all the shards again. This process of doing the join of query results with the unique i

Re: Solr 4.0 simultaneous query problem

2012-10-19 Thread Rohit Harchandani
Hi, The same query is fired always for 500 rows. The only thing different is the "start" parameter. The 3 shards are in the same instance on the same server. They all have the same schema. But the inherent type of the documents is different. Also most of the apps queries goes to shard "A" which h

Re: Solr 4.0 simultaneous query problem

2012-10-18 Thread Otis Gospodnetic
Hi, Maybe you can narrow this down a little further. Are there some queries that are faster and some slower? Is there a pattern? Can you share examples of slow queries? Have you tried &debugQuery=true? These 3 shards is each of them on its own server or? Is the slow one always the one tha

Re: Remove underscore char when indexing and query problem

2012-03-05 Thread Erick Erickson
Look at the admin/analysis page and be sure to check the "verbose" checkboxes. that'll show you what each filter does to the input. My guess is that WordDelimiterFilterFactory has different parameters and that's what you're seeing. WDFF can be tricky to understand... If that's not helpful, you nee

Remove underscore char when indexing and query problem

2012-03-02 Thread Floyd Wu
Hi there, I have a document and its title is "20111213_solr_apache conference report". When I use analysis web interface to see what tokens exactly solr analyze and the following is the result term text20111213_solrapacheconferencereportterm type Why 20111213_solr tokenized as and "_" char w

Re: Query problem in Solr

2011-06-03 Thread Kurt Sultana
@ Pravesh: It's 2 seperate cores, not 2 indexes. Sorry for that. @ Erick: Yes, I've seen this suggestion and it seems to be the only possible solution. I'll look into it. Thanks for your answers guys! Kurt On Wed, Jun 1, 2011 at 4:24 PM, Erick Erickson wrote: > If I read this correctly, one app

Re: Query problem in Solr

2011-06-01 Thread Erick Erickson
If I read this correctly, one approach is to specify an increment gap in a multiValued field, then search for phrases with a slop less than that increment gap. i.e. incrementGap=100 in your definition, and search for "apple orange"~99 If this is gibberish, please post some examples and we'll try s

Re: Query problem in Solr

2011-06-01 Thread pravesh
ructure, may be, when u post documents, then post a single document for a single product(with fields like title,price,shop-id, etc), instead of single document for a single shop. Hope I make myself clear -- View this message in context: http://lucene.472066.n3.nabble.com/Query-problem-in-Solr-tp300981

Query problem in Solr

2011-06-01 Thread Kurt Sultana
Hi all, We're using Solr to search on a Shop index and a Product index. Currently a Shop has a field `shop_keyword` which also contains the keywords of the products assigned to it. The shop keywords are separated by a space. Consequently, if there is a product which has a keyword "apple" and anot

Re: Query Problem

2010-12-17 Thread Ezequiel Calderara
Well... finally... isn't solr problem. Isn't solr config problem. Is Microsoft's problem: http://flyingtriangles.blogspot.com/2006/08/workaround-to-ssis-strings-are-not.html Thank you very much erick!! you really helped on the solution of this! On Fri, Dec 17, 2010 at 10:52 AM, Erick Erickson wr

Re: Query Problem

2010-12-17 Thread Erick Erickson
Right, I *love* problems like this... NOT You might get some joy out of using TrimFilterFactory along with KeywordAnalyzer, something like this: > but it depends upon what your fields are padded with Best Erick On Fri, Dec 17, 2010 at 8:12 AM, Ezequiel Calderara wrote: > Hi Erick

Re: Query Problem

2010-12-17 Thread Ezequiel Calderara
Hi Erick, you were right. I'm looking the source of the search result (instead of the render of internet explorer :$) and i see this: "Programas_Home " So i think that is the problem is in the SSIS process that retrieves data from the DB and sends it to solr. The data type in the db is VARCHAR(10

Re: Query Problem

2010-12-16 Thread Erick Erickson
OK, it works perfectly for me on a 1.4.1 instance. I've looked over your files a couple of times and see nothing obvious (but you'll never find anyone better at overlooking the obvious than me!). Tokenizing and stemming are irrelevant in this case because your type is "string", which is an untoken

Re: Query Problem

2010-12-16 Thread Ezequiel Calderara
The jars are named like *1.4.1* . So i suppose its the version 1.4.1 Thanks! On Thu, Dec 16, 2010 at 6:54 PM, Erick Erickson wrote: > OK, what version of Solr are you using? I can take a quick check to see > what behavior I get > > Erick > > On Thu, Dec 16, 2010 at 4:44 PM, Ezequiel Calderar

Re: Query Problem

2010-12-16 Thread Erick Erickson
OK, what version of Solr are you using? I can take a quick check to see what behavior I get Erick On Thu, Dec 16, 2010 at 4:44 PM, Ezequiel Calderara wrote: > I'll check the Tokenizer to see if that's the problem. > The results of Analysis Page for "SectionName:Programas_Home" > Query Analy

Re: Query Problem

2010-12-16 Thread Ezequiel Calderara
I'll check the Tokenizer to see if that's the problem. The results of Analysis Page for "SectionName:Programas_Home" Query Analyzer org.apache.solr.schema.FieldType$DefaultAnalyzer {} term position 1 term text Programas_Home term type word source start,end 0,14 payload So it's not having problem

Re: Query Problem

2010-12-16 Thread Erick Erickson
Ezequiel: Nice job of including relevant details, by the way. Unfortunately I'm puzzled too. Your SectionName is a "string" type, so it should be placed in the index as-is. Be a bit cautious about looking at returned results (as I see in one of your xml files) because the returned values are the v

Query Problem

2010-12-16 Thread Ezequiel Calderara
Hi all, I have the following problems. I have this set of data (View data (Pastebin) ) If i do a search for: *SectionName:Programas_Home* i have no results: Returned Data (PasteBin) If i do a search for: *Programas_Home* i have only 1 re

Re: Phrase Query Problem?

2010-11-02 Thread Jonathan Rochkind
Indeed something doesn't seem right about that, quotes are for phrases, you are right, and I get confused even thinking about what happens when you try to "escape" spaces like that. I think there's something odd going on with your URI-escaping in general. Here's what the string should actually

Re: Phrase Query Problem?

2010-11-02 Thread Tod
On 11/2/2010 9:21 AM, Ken Stanley wrote: On Tue, Nov 2, 2010 at 8:19 AM, Erick Ericksonwrote: That's not the response I get when I try your query, so I suspect something's not quite right with your test... But you could also try putting parentheses around the words, like mykeywords:(Compliance

Re: Phrase Query Problem?

2010-11-02 Thread Ken Stanley
On Tue, Nov 2, 2010 at 8:19 AM, Erick Erickson wrote: > That's not the response I get when I try your query, so I suspect > something's not quite right with your test... > > But you could also try putting parentheses around the words, like > mykeywords:(Compliance+With+Conduct+Standards) > > Best

Re: Phrase Query Problem?

2010-11-02 Thread Erick Erickson
That's not the response I get when I try your query, so I suspect something's not quite right with your test... But you could also try putting parentheses around the words, like mykeywords:(Compliance+With+Conduct+Standards) Best Erick On Tue, Nov 2, 2010 at 5:25 AM, Tod wrote: > On 11/1/2010

Re: Phrase Query Problem?

2010-11-02 Thread Tod
On 11/1/2010 11:14 PM, Ken Stanley wrote: On Mon, Nov 1, 2010 at 10:26 PM, Tod wrote: I have a number of fields I need to do an exact match on. I've defined them as 'string' in my schema.xml. I've noticed that I get back query results that don't have all of the words I'm using to search with

Re: Phrase Query Problem?

2010-11-01 Thread Ken Stanley
On Mon, Nov 1, 2010 at 10:26 PM, Tod wrote: > I have a number of fields I need to do an exact match on. I've defined > them as 'string' in my schema.xml. I've noticed that I get back query > results that don't have all of the words I'm using to search with. > > For example: > > > q=(((mykeyword

Phrase Query Problem?

2010-11-01 Thread Tod
I have a number of fields I need to do an exact match on. I've defined them as 'string' in my schema.xml. I've noticed that I get back query results that don't have all of the words I'm using to search with. For example: q=(((mykeywords:Compliance+With+Conduct+Standards)OR(mykeywords:All)OR(

Re: Facet query problem

2010-04-22 Thread Erik Hatcher
I'm taking an educated guess that this field is a "string" field. In that case, range queries are lexicographical (1, 10, 2, 3, 4...). Use a numeric field type to have range queries work properly. See Solr's example schema.xml for details on these types and range queries. Erik

Facet query problem

2010-04-22 Thread ZAROGKIKAS,GIORGOS
Hi there I 'm a new solr user With some problems with facets I have Index a field like that 9 An I get ranges between 1 an 35 When I Use fq=A00053:[16 TO 30] I get an results between 1 and 35 It looks like it ignores the second number of each value in my Range How can I so

Re: Shard Query Problem

2009-03-17 Thread Chris Hostetter
: >> I'm not very shard savy, but if the numFound is coming back non-zero, the : >> best guess i have is that somewhere you are overridding the default "rows" : >> param with a value of 0. : >> : >> if that's not it: can you post your requestHandler configur

Re: Shard Query Problem

2009-03-06 Thread Anshul jain
the numFound is coming back non-zero, the >> best guess i have is that somewhere you are overridding the default "rows" >> param with a value of 0. >> >> if that's not it: can you post your requestHandler configurations >> from solrconfig.xml? that might she

Re: Shard Query Problem

2009-03-06 Thread Anshul jain
o, the > best guess i have is that somewhere you are overridding the default "rows" > param with a value of 0. > > if that's not it: can you post your requestHandler configurations > from solrconfig.xml? that might shed some light on things for people. > > : Date: Thu, 19

Re: Shard Query Problem

2009-03-03 Thread Chris Hostetter
0. if that's not it: can you post your requestHandler configurations from solrconfig.xml? that might shed some light on things for people. : Date: Thu, 19 Feb 2009 22:30:19 +0100 : From: Anshul jain : Subject: Shard Query Problem : : Hi, : : I'm using distributed Solr with two mach

Shard Query Problem

2009-02-19 Thread Anshul jain
Hi, I'm using distributed Solr with two machines. when I query in URL: http://lca2-s5-pc04:8080/solr/select?&q=name:john I get and 10 documents are shown. when I query in URL: http://lca2-s5-pc04:8080/solr/select?shards=lca2-s5-pc04:8080/solr&q=name:john I get and 0 documents are shown. when

Re: Query problem related to * symbol

2008-10-25 Thread Yonik Seeley
On Sat, Oct 25, 2008 at 2:00 PM, Aleksey Gogolev <[EMAIL PROTECTED]> wrote: > I made this query: > http://localhost:8983/solr/select/?q=suggestion:ipod+nano+80* Note that in Lucene syntax, this query is equivalent to suggestion:ipod default_field:nano default_field:80* For debugging, add debugQue

Query problem related to * symbol

2008-10-25 Thread Aleksey Gogolev
Hello. I made this query: http://localhost:8983/solr/select/?q=suggestion:ipod+nano+80* and response contains the following doc: - 04adea06fcfdc939feec63799045076c apple ma045 for ipod 80gb nano

RE: Analysis / Query problem

2007-11-07 Thread Wagner,Harry
Thanks Erik. That helps. -Original Message- From: Erik Hatcher [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 07, 2007 11:36 AM To: solr-user@lucene.apache.org Subject: Re: Analysis / Query problem On Nov 7, 2007, at 10:26 AM, Wagner,Harry wrote: > I have the following cus

Re: Analysis / Query problem

2007-11-07 Thread Erik Hatcher
On Nov 7, 2007, at 10:26 AM, Wagner,Harry wrote: I have the following custom field defined for author names. After indexing the 2 documents below the admin analysis tool looks right for field-name=au and field-value=Schröder, Jürgen The highlight matching also seems right. However, if

Analysis / Query problem

2007-11-07 Thread Wagner,Harry
I have the following custom field defined for author names. After indexing the 2 documents below the admin analysis tool looks right for field-name=au and field-value=Schröder, Jürgen The highlight matching also seems right. However, if I search for au:Schröder, Jürgen using the admin tool

Re: phrase query problem .. how to?

2007-02-04 Thread Yonik Seeley
On 2/4/07, rubdabadub <[EMAIL PROTECTED]> wrote: Suppose you have a field name with data - Sony CLT2134 handheld camera. When doing a phrase search like "Sony Camera" or "sony handheld" -- Solr returns 0 results. Often time our searchers doesn't know the model number but perform phrase search.. H

phrase query problem .. how to?

2007-02-04 Thread rubdabadub
Hi Suppose you have a field name with data - Sony CLT2134 handheld camera. When doing a phrase search like "Sony Camera" or "sony handheld" -- Solr returns 0 results. Often time our searchers doesn't know the model number but perform phrase search.. How do I solve this issue? Regards