Hi,
Considering the following scenario where i need to use keyword search on
fields title and description with the keyword typed as testing
And using the search on fields price, publisher and tag , the fields
publisher and tag being selected for the facet searching
If the constructed queryString using the above scenario is something like
this:
facet.limit=-1rows=100start=0facet=truefacet.mincount=1facet.field=tag
facet.field=publisherq=title:testing+OR+description:testing+AND+title:lucen
er;title+asc,score+ascqt=standard 0 15
Im using the following analyzers:
analyzer type=index
tokenizer class=solr.WhitespaceTokenizerFactory/
filter class=solr.StopFilterFactory ignoreCase=true
words=stopwords.txt/
filter class=solr.WordDelimiterFilterFactory
generateWordParts=1 generateNumberParts=1 catenateWords=1
catenateNumbers=1 catenateAll=0/
filter class=solr.LowerCaseFilterFactory/
filter class=solr.EnglishPorterFilterFactory
protected=protwords.txt/
filter class=solr.RemoveDuplicatesTokenFilterFactory/
/analyzer
analyzer type=query
tokenizer class=solr.WhitespaceTokenizerFactory/
filter class=solr.SynonymFilterFactory synonyms=synonyms.txt
ignoreCase=true expand=true/
filter class=solr.StopFilterFactory ignoreCase=true
words=stopwords.txt/
filter class=solr.WordDelimiterFilterFactory generateWordParts=1
generateNumberParts=1 catenateWords=0 catenateNumbers=0
catenateAll=0/
filter class=solr.LowerCaseFilterFactory/
filter class=solr.EnglishPorterFilterFactory
protected=protwords.txt/
filter class=solr.RemoveDuplicatesTokenFilterFactory/
/analyzer
Regards
Dilip
-Original Message-
From: Erick Erickson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 04, 2007 5:30 PM
To: solr-user@lucene.apache.org; [EMAIL PROTECTED]
Subject: Re: Issues using keyword searching and facet search together in a
search operation
I can't answer the question, but I can guarantee that
the people who can will give you much better
responses if you include some details. Like which
analyzers you use, how you submit the query,
samples of the two queries that work and the
one that doesn't.
Best
Erick
On Dec 4, 2007 5:39 AM, Dilip.TS [EMAIL PROTECTED] wrote:
Hi,
When i use both the Keyword search and the facet search together in a
same
search operation,
I dont get any results whereas if i perform them seperately, i could
get
back the results.
Is it a constraint from the SOLR point of view?
Thanks in advance.
Regards,
Dilip TS