Re: faceted query not working as i expected

2009-09-16 Thread Jonathan Vanasco
Thank you Ahmet. I forgot to encapuslate the searched string in quotations. On Sep 15, 2009, at 5:19 PM, AHMET ARSLAN wrote: --- On Tue, 9/15/09, Jonathan Vanasco jvana...@2xlp.com wrote: From: Jonathan Vanasco jvana...@2xlp.com Subject: faceted query not working as i expected To: solr

faceted query not working as i expected

2009-09-15 Thread Jonathan Vanasco
I'm trying to request documents that have facet.venue_type as Private Collection Instead I'm also getting items where another field is marked Permanent Collection My schema has: fields field name=venue_type type=text indexed=true stored=true required=false / field

documentation deficiency : case sensitivity of boolean operators

2009-09-15 Thread Jonathan Vanasco
I couldn't find this anywhere on solr's docs / faq i finally found a reference on lucene http://lucene.apache.org/java/2_4_0/queryparsersyntax.html this should really be added somewhere. i'm not sure where, but I thought this was worth bringing up to the list -- as it really

Is it possible to query for everything ?

2009-09-14 Thread Jonathan Vanasco
I'm using Solr for seach and faceted browsing Is it possible to have solr search for 'everything' , at least as far as q is concerned ? The request handlers I've found don't like it if I don't pass in a q parameter

Re: Is it possible to query for everything ?

2009-09-14 Thread Jonathan Vanasco
Thanks Jay Matt I tried *:* on my app, and it didn't work I tried it on the solr admin, and it did I checked the solr config file, and realized that it works on standard, but not on dismax, queries So i have my app checking *:* on a standard qt, and then filtering what I need on other

Re: switching between requestHandler

2009-08-16 Thread Jonathan Vanasco
On Aug 16, 2009, at 1:44 AM, Shalin Shekhar Mangar wrote: Use the qt parameter and specify the name of the handler. e.g. qt=site_search_main Thanks! I totally overlooked forgot about that!

how do i - include the items without a facet

2009-08-16 Thread Jonathan Vanasco
My result set for a query has 451 records 293 of them do not have a value set on 'facet.location_name' how can i specify searching for these items? i've tried: fq=facet.location_name: and based on

Re: how do i - include the items without a facet

2009-08-16 Thread Jonathan Vanasco
On Aug 16, 2009, at 9:59 PM, Avlesh Singh wrote: how can i specify searching for these items? fq=-location_name:[* TO *] Your field name is location_name and not facet.location_name. its both. and that didn't work on either. location_name is a text field , copyto puts it in

switching between requestHandler

2009-08-15 Thread Jonathan Vanasco
I'm assuming this is simple, and I'm just completely not finding the answer in the docs... I have two request handlers based on dismax requestHandler name=site_search_main class=solr.SearchHandler /requestHandler requestHandler name=site_search_main_extended_fields

Re: are there any good samples / tutorials on making queries facets ?

2009-06-21 Thread Jonathan Vanasco
Michael Matt -- Thanks a ton! Those are exactly what I was looking for!

Re: trouble with 'unique' key - documents add, not replace

2009-06-20 Thread Jonathan Vanasco
wrote: text is likely analyzing to multiple terms which is incorrect for a uid type of field. set it to type=string instead. and reindex from scratch. Erik On Jun 19, 2009, at 8:49 PM, Jonathan Vanasco wrote: as far as i understand from the docs, with a schema.xml like

are there any good samples / tutorials on making queries facets ?

2009-06-20 Thread Jonathan Vanasco
i've gone through the official docs a few times, and then found some offsite stuff of varying quality regarding how-tos. can anyone here recommend either howtos/tutorials or sample applications that they have found worthwhile ? specifically i'm looking to do the following: - with regular

trouble with 'unique' key - documents add, not replace

2009-06-19 Thread Jonathan Vanasco
as far as i understand from the docs, with a schema.xml like this... fields field name=uid type=text indexed=true stored=true required=true / /fields uniqueKeyuid/uniqueKey any items with the same uid in it should replace existing ones on the commit . is

no .war with ubuntu release ?

2009-06-18 Thread Jonathan Vanasco
i'm a bit confused. hoping someone can help. solr is awesome on my macbook for development. i've been fighting with getting solr-jetty running on my ubuntu box all day. after countless searching, it seems that there is no .war file in the distro should this be the case? the actual