: It works, thanks. Just implemented the code...:):):)
: 
: Could you explain what "{!field f=yourStringField}Cameras & Photos" does.

{!field} says that the string should be parsed using the FIeldQParser.  
the FieldQParser takes an 'f' local param telling it what field you want 
to use, and the rest of the string is the exact value you want to 
passed to the analyzer for thet field 'f'  ... it's a query parser that 
supports no markup of any kind, and only produces basic 
PhraseQueries or TermQueries (there's also the "raw" QParser for when you 
absolutely know you only want TermQueries) ...

http://wiki.apache.org/solr/SolrQuerySyntax#Other_built-in_useful_query_parsers
http://lucene.apache.org/solr/api/org/apache/solr/search/FieldQParserPlugin.html


-Hoss

Reply via email to