Phrase query search returns no result

2009-06-02 Thread SergeyG
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 se

Re: Phrase query search returns no result

2009-06-02 Thread SergeyG
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 >> Subjec

Re: Phrase query search returns no result

2009-06-02 Thread SergeyG
Lucene - Solr - Nutch > > > > - Original Message >> From: SergeyG >> 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. >> >&

Re: Phrase query search returns no result

2009-06-02 Thread SergeyG
=standard. And guess what - it started producing the expected results! :) So for me the question remains: what was the cause of all the previous trouble? Anyway, thanks for the discussion. SergeyG wrote: > > Actually, "my phrase here"~0 (for an exact match) didn't work I

Re: Phrase query search returns no result

2009-06-02 Thread SergeyG
aused any changes in how you index/search to get picked > up... > > Best > Erick > > On Tue, Jun 2, 2009 at 3:28 PM, SergeyG wrote: > >> >> Hmmm... It looks a bit magic. After 3 days of experimenting with various >> parameters and getting only wrong results,

MoreLikeThis query

2009-06-03 Thread SergeyG
Hi, I'm adding the "MoreLikeThis" functionality to my search. 1. Do I understand it right that the query: q=id:1&mlt=true&mlt.fl=content will bring back documents in which the most important terms of the content field are partly the same as those of the content field of the doc with id=1? 2. Al

PhraseQuery search along with MLT search

2009-06-30 Thread SergeyG
Hi All, 1. There're 3 kind of searches in my application: a) PhraseQuery search; b) search for separate words; c) MLT search. The problem I encountered is in the use of a stop words list. If don't take it into account, the MLT query picks up common words as the most important words what is not ri

Implementing PhraseQuery and MoreLikeThis Query in one app

2009-07-02 Thread SergeyG
Hi, Recently I've posted a question regarding using stop words in a PhraseQuery and in a MoreLikeThis query in the same app. I posted it twice. Unfortunately I didn't get any responses. I realize that the question might not have been formulated clearly. So let me reformulate it. Can both queries

Re: Implementing PhraseQuery and MoreLikeThis Query in one app

2009-07-02 Thread SergeyG
>Why would the inclusion of a stopword list result in stopwords being of >top importance in the MoreLikeThis query? Michael, I just saw some of them (words from the stop words list) in the MLT query's response. Sergey SergeyG wrote: > > Hi, > > Recently I've

Re: Implementing PhraseQuery and MoreLikeThis Query in one app

2009-07-02 Thread SergeyG
Thanks, Otis. I'd try that right away and tell you about the result. And if you come up with any other idea, please let me know - just for the future. Also thanks to Michael for the discussion. Best regards, Sergey SergeyG wrote: > > Hi, > > Recently I've posted a qu

Re: Implementing PhraseQuery and MoreLikeThis Query in one app

2009-07-02 Thread SergeyG
wunder, thank you. (Sorry, I'm not sure this is your first name). I thought the MoreLikeThis query normally uses tf.idf of the terms when deciding what terms are the most important (not the most frequent). And if this is not the case, how can I change its behavior? SergeyG wrote: &g

Re: Implementing PhraseQuery and MoreLikeThis Query in one app

2009-07-02 Thread SergeyG
ly one doc with id=1 and no other "more like" docs. In my solrconfig.xml, I have these settings: ... ... I guess it all is a matter of syntax but I can't figure out what's wrong. Thank you very much (and again, thanks to Michael and Walter). Cheers, Sergey Michael L

Re: Implementing PhraseQuery and MoreLikeThis Query in one app

2009-07-03 Thread SergeyG
ests that these two calls make. Once you see what how the second one > is different from the first one, you will probably be able to figure out > how to adjust the second one to produce the same results as the first one. > > Otis > -- > Sematext -- http://sematext.c

Re: Implementing PhraseQuery and MoreLikeThis Query in one app

2009-07-04 Thread SergeyG
e SolrJ calls not working. > > For SolrJ calls not working my suggestion is to look at the logs and > compare the GetMethod call with the SolrJ call. Paste them if you want > more people to look at them. > > > Otis > -- > Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch

Solr's MLT query call doesn't work

2009-07-08 Thread SergeyG
Hi, Recently, while implementing the MoreLikeThis search, I've run into the situation when Solr's mlt query calls don't work. More specifically, the following query: http://localhost:8080/solr/select?q=id:10&mlt=true&mlt.fl=content_mlt&mlt.maxqt= 5&mlt.interestingTerms=details&fl=title+author+

Re: Solr's MLT query call doesn't work

2009-07-08 Thread SergeyG
looks bizarre. Thank you all. (Otis, when I saw your name I got a feeling that it was just a matter of seconds till this stubborn calls would start doing their job. :) ) Sergey SergeyG wrote: > > Hi, > > Recently, while implementing the MoreLikeThis search, I've run i

Re: Solr's MLT query call doesn't work

2009-07-09 Thread SergeyG
but still possible)? Jun Ohtani wrote: > > What about > http://localhost:8080/solr/select?q=id:10&mlt=true&mlt.fl=content_mlt&mlt.maxqt=5&mlt.interestingTerms=details&fl=title+author+score&mlt.mindf=1 > ? > > > Jun Ohtani > > > S