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

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

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: 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

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
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
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, 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-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-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
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

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

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

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: 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

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-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-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: 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

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-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 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 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 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: 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

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

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

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-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

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

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

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

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