RE: Best use of wildcard searches

2007-08-11 Thread Jonathan Woods
Thanks, Lance. I recall reading that Lucene is used in a superfast RDF query engine: http://www.deri.ie/about/press/releases/details/?uid=55ref=213. Jon -Original Message- From: Lance Norskog [mailto:[EMAIL PROTECTED] The Protégé project at Stanford has nice tools for editing

Re: Best use of wildcard searches

2007-08-10 Thread Matthew Runo
-Original Message- From: Yonik Seeley [mailto:[EMAIL PROTECTED] Sent: 09 August 2007 21:50 To: solr-user@lucene.apache.org Subject: Re: Best use of wildcard searches On 8/9/07, Matthew Runo [EMAIL PROTECTED] wrote: http://66.209.92.171:8080/solr/select/?q=department_exact:Apparel% 3EMen's%20Apparel

Re: Best use of wildcard searches

2007-08-10 Thread Erik Hatcher
On Aug 9, 2007, at 4:49 PM, Yonik Seeley wrote: lo - these things can happen when you get too many levels of escaping needed. Hopefully we can improve the situation in the future to get rid of the query parser escaping for certain queries such as prefix and term. +1 :) this is

RE: Best use of wildcard searches

2007-08-10 Thread Lance Norskog
PathAnalyzer I cna't help thinking it might have lots of applications Jon -Original Message- From: Yonik Seeley [mailto:[EMAIL PROTECTED] Sent: 09 August 2007 21:50 To: solr-user@lucene.apache.org Subject: Re: Best use of wildcard searches On 8/9/07, Matthew Runo [EMAIL PROTECTED

RE: Best use of wildcard searches

2007-08-09 Thread Pierre-Yves LANDRON
Landron From: [EMAIL PROTECTED] Subject: Re: Best use of wildcard searches Date: Wed, 8 Aug 2007 14:59:36 -0700 To: solr-user@lucene.apache.org OK. So a followup question.. ?q=department_exact:Apparel%3EMen's% 20Apparel*fq=country_code:USfq=brand_exact:adidasfq=hibernated:true returns 0

Re: Best use of wildcard searches

2007-08-09 Thread Erick Erickson
I just saw an e-mail from Yonik suggesting escaping the space. I know so little about Solr that all I can do is parrot Yonik... Erick On 8/8/07, Matthew Runo [EMAIL PROTECTED] wrote: OK. So a followup question.. ?q=department_exact:Apparel%3EMen's%

Re: Best use of wildcard searches

2007-08-09 Thread Yonik Seeley
On 8/9/07, Matthew Runo [EMAIL PROTECTED] wrote: Hmm.. I just tried the following three queries... /?q=department_exact:ApparelMen's? ApparelJackets*fq=country_code:USfq=brand_exact:adidas... (no results) /?q=department_exact:ApparelMen's\

Re: Best use of wildcard searches

2007-08-09 Thread Matthew Runo
Here you go.. I thought that string wasn't munged, so I used that... field name=department type=text indexed=true stored=true/ field name=department_exact type=string indexed=true stored=true/ copyField source=department dest=department_exact/

Re: Best use of wildcard searches

2007-08-09 Thread Yonik Seeley
On 8/9/07, Matthew Runo [EMAIL PROTECTED] wrote: Here you go.. I thought that string wasn't munged, so I used that... field name=department type=text indexed=true stored=true/ field name=department_exact type=string indexed=true stored=true/ copyField source=department dest=department_exact/

Re: Best use of wildcard searches

2007-08-09 Thread Matthew Runo
Yes, we've reindexed several times. Here are three sample result sets.. 1 - ?q=department_exact:ApparelMen's? ApparelJackets*fq=country_code:USfq=brand_exact:adidas 2 - ?q=department_exact:ApparelMen's\ ApparelJackets*fq=country_code:USfq=brand_exact:adidas 3 -

Re: Best use of wildcard searches

2007-08-09 Thread Yonik Seeley
On 8/9/07, Matthew Runo [EMAIL PROTECTED] wrote: Yes, we've reindexed several times. Here are three sample result sets.. 1 - ?q=department_exact:ApparelMen's? ApparelJackets*fq=country_code:USfq=brand_exact:adidas 2 - ?q=department_exact:ApparelMen's\

Re: Best use of wildcard searches

2007-08-09 Thread Yonik Seeley
On 8/9/07, Yonik Seeley [EMAIL PROTECTED] wrote: They translate to different queries. But can I see the XML output for 1 and 2 with debugQuery=onindent=on appended? Or perhaps with wt=python would be less confusing seeing that there are '' chars in there that would otherwise be escaped.

Re: Best use of wildcard searches

2007-08-09 Thread Matthew Runo
Sure thing! Heres 1, and 2. 1 - just a space. 2 - a \ . ++ | Matthew Runo | Zappos Development | [EMAIL PROTECTED] | 702-943-7833 ++ On Aug 9, 2007, at 1:14 PM, Yonik Seeley

Re: Best use of wildcard searches

2007-08-09 Thread Matthew Runo
Hm, I don't see any attachments, I'm forwarding them to you directly. Would anyone else like to see them? ++ | Matthew Runo | Zappos Development | [EMAIL PROTECTED] | 702-943-7833

Re: Best use of wildcard searches

2007-08-09 Thread Matthew Runo
Feel free to run some queries yourself. We opened the firewall for this box... http://66.209.92.171:8080/solr/select/?q=department_exact:Apparel% 3EMen's\%20Apparel% 3EJackets*fq=country_code:USfq=brand_exact:adidaswt=python ++ |

Re: Best use of wildcard searches

2007-08-09 Thread Yonik Seeley
On 8/9/07, Matthew Runo [EMAIL PROTECTED] wrote: Feel free to run some queries yourself. We opened the firewall for this box... http://66.209.92.171:8080/solr/select/?q=department_exact:Apparel% 3EMen's\%20Apparel% 3EJackets*fq=country_code:USfq=brand_exact:adidaswt=python OK, so this query

Re: Best use of wildcard searches

2007-08-09 Thread Matthew Runo
http://66.209.92.171:8080/solr/select/?q=department_exact:Apparel% 3EMen's%20Apparel% 3EJackets*fq=country_code:USfq=brand_exact:adidaswt=python The same exact query, with... wait.. Wow. I'm making myself look like an idiot. I swear that these queries didn't work the first time I ran them...

Re: Best use of wildcard searches

2007-08-09 Thread Yonik Seeley
On 8/9/07, Matthew Runo [EMAIL PROTECTED] wrote: http://66.209.92.171:8080/solr/select/?q=department_exact:Apparel% 3EMen's%20Apparel% 3EJackets*fq=country_code:USfq=brand_exact:adidaswt=python The same exact query, with... wait.. Wow. I'm making myself look like an idiot. I swear that

RE: Best use of wildcard searches

2007-08-09 Thread Jonathan Woods
help thinking it might have lots of applications Jon -Original Message- From: Yonik Seeley [mailto:[EMAIL PROTECTED] Sent: 09 August 2007 21:50 To: solr-user@lucene.apache.org Subject: Re: Best use of wildcard searches On 8/9/07, Matthew Runo [EMAIL PROTECTED] wrote: http

Re: Best use of wildcard searches

2007-08-08 Thread Yonik Seeley
On 8/8/07, Matthew Runo [EMAIL PROTECTED] wrote: I've been using the standard query handler to do searches like q=department_exact:FooBarBazQux Now, lets assume I have lots of records, with various department trees... 1. FooBarBazQux 2. FooBarBazPut 3. FooBarSomething With SpacesElese 4.

Re: Best use of wildcard searches

2007-08-08 Thread Matthew Runo
OK. So a followup question.. ?q=department_exact:Apparel%3EMen's% 20Apparel*fq=country_code:USfq=brand_exact:adidasfq=hibernated:true returns 0 results. Note the %20 in there for the space character. ?q=department_exact:Apparel%