Re: questions about default operator within solr query string

2015-01-05 Thread Walter Underwood
You may want to put the slug portion of the query in filter queries (fq). Do you rank on slug or only use them for filtering? Asked another way, are some slugs more important than others or do you want them all to score the same? It would look like this: &fl=id,headline,slug&fq=slug:variety&

Re: questions about default operator within solr query string

2015-01-05 Thread Otis Gospodnetic
Hi Chun, Something like: +slug:variety +slug:entertainment headline:entertainment should work. But you may also want to use function queries for slug filtering: http://search-lucene.com/?q=fq&fc_project=Solr https://cwiki.apache.org/confluence/display/solr/Common+Query+Parameters#CommonQueryParam

questions about default operator within solr query string

2015-01-05 Thread chun.shang
Hi, Nice to have a chance to discuss with solr experts! We are using solr as our search solution. But now we have a requirement that we don't know how to handle, even after we have looked through the Solr documentation. The solr version we used is 4.10.1. For the questi