lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nostromo <doug_sander...@hotmail.com>
Subject Re: Indexing "Categorical fields" - newbie
Date Mon, 17 Aug 2009 14:20:52 GMT

OK, feel stupid now.

Query should have been category:"Office Equipment", which worked !!

Thanks,
D


nostromo wrote:
> 
> Hi all,
> 
> Hoping your guys can help as I am real new to this :-(
> 
> I am trying to import documents using the csv handler.  The process itself
> works well but I get odd results when I try to search my index.
> 
> The problem is with a field which contains keywords, BUT the keywords
> could contain spaces.  An example is say I have a document describing a
> laptop, its categorization might need to be :
> Office Equipment
> Hardware
> Laptop
> 
> I have thus far been unable to search for category:Office Equipment
> 
> category is the name of the field in the schema.  Searching for Hardware
> or Laptop  with the same query syntax will return the document.
> 
> I am guessing it is the way I define the index and query analyzers, but
> could someone please give me some pointers on which I should use in this
> case ?
> 
> Many Thanks,
> D
> 

-- 
View this message in context: http://www.nabble.com/Indexing-%22Categorical-fields%22---newbie-tp25007361p25007600.html
Sent from the Solr - Dev mailing list archive at Nabble.com.


Mime
View raw message