And "your phrase here"~100 works?

 Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch



----- Original Message ----
> From: SergeyG <sgoldb...@mail.ru>
> To: solr-user@lucene.apache.org
> Sent: Tuesday, June 2, 2009 11:17:23 AM
> Subject: Re: Phrase query search returns no result
> 
> 
> Thanks, Otis. 
> 
> Checking for the stop words was the first thing I did after getting the
> empty result. Not all of those words are in the stopwords.txt file. Then
> just for experimenting purposes I commented out the StopWordsAnalyser during
> indexing and reindexed. But the phrase was not found again.
> 
> Sergey
> 
> 
> Otis Gospodnetic wrote:
> > 
> > 
> > Your stopwords were removed during indexing, so if all those terms were
> > stopwords, and they likely were, none of them exist in the index now.  You
> > can double-check that with Luke.  You need to remove stopwords from the
> > index-time analyzer, too, and then reindex.
> > 
> >  Otis
> > --
> > Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch
> > 
> > 
> > 
> > ----- Original Message ----
> >> From: SergeyG 
> >> To: solr-user@lucene.apache.org
> >> Sent: Tuesday, June 2, 2009 9:57:17 AM
> >> Subject: Phrase query search returns no result
> >> 
> >> 
> >> Hi,
> >> 
> >> I'm trying to implement a full-text search but can't get the right result
> >> with a Phrase query search. The field I search through was indexed as a
> >> "text" field. The phrase was "It was as long as a tree". During both
> >> indexing and searching the StopWordsFiler was on. For a search I used
> >> these
> >> settings: 
> >> 
> >>  
> >>   dismax
> >>   explicit
> >>  
> >>       title author category content
> >>  
> >>  
> >>       id,title,author,isbn,category,content,score
> >>  
> >>   100
> >>   content
> >>  
> >> 
> >> 
> >> But I the returned docs list was empty. Using Solr Admin console for
> >> debugging showed that parsedquery=+() ().
> >> Switching the StopwordsFilter off during searching didn't help either. 
> >> 
> >> Am I missing something?
> >> 
> >> Thanks,
> >> Sergey
> >> -- 
> >> View this message in context: 
> >> 
> http://www.nabble.com/Phrase-query-search-returns-no-result-tp23833024p23833024.html
> >> Sent from the Solr - User mailing list archive at Nabble.com.
> > 
> > 
> > 
> 
> -- 
> View this message in context: 
> http://www.nabble.com/Phrase-query-search-returns-no-result-tp23833024p23834693.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to