Re: custom similary on a field not working

2013-03-21 Thread Felipe Lahti
.0 = queryNorm > 8.5082035 = fieldWeight in 440, product of: > 1.0 = tf(freq=14.0), with freq of: > 14.0 = termFreq=14.0 > 8.5082035 = idf(docFreq=30, maxDocs=56511) > 1.0 = fieldNorm(doc=440) > > anyone sees what I am missing? > I am on solr4.0 > > thanks > xavier > -- Felipe Lahti Consultant Developer - ThoughtWorks Porto Alegre

Re: How should I configure Solr to support multi-word synonyms?

2013-03-15 Thread Felipe Lahti
> problems, but no solution that I can see. If the index tokenizer is > > StandardTokenizer, "phrase one" is tokenized to "phrase | one", so the > > equivalent synonym is not matched. If I change the index tokenizer to > > KeywordTokenizer, it does match; however, KeywordTokenizer will treat the > > entire field as a a single token, so a document containing "something > > phrase one something" will not match the equivalent synonym, and also a > > query for "phrase" or "one" will not find the document. > > > > Thank you for your time. > > > > Sincerely, > > David Sharpe > > -- Felipe Lahti Consultant Developer - ThoughtWorks Porto Alegre

Re: Can we manipulate termfreq to count as 1 for multiple matches?

2013-03-14 Thread Felipe Lahti
in 2 places in > Description field. > > Term Frequency for Description is 2 > > I want Solr to count term frequency for Description as 1 even if "Jeans" is > found multiple times in this field. > > For all other fields, i do want to get the term frequency, as it

Re: Possible issue in edismax?

2013-02-13 Thread Felipe Lahti
still > spoils it for few fields but I balanced it with the boost factors > accordingly. > > Once again, Many Thanks! > Sandeep > > > On 1 February 2013 22:53, Sandeep Mestry wrote: > > > Brilliant! Thanks very much for your response. . > > On 1 Feb 2013 20

Re: Possible issue in edismax?

2013-02-01 Thread Felipe Lahti
anks, > Sandeep > On 31 Jan 2013 13:55, "Felipe Lahti" wrote: > > > So, it depends of your business requirement, right? If a document has > > matches in more searchable fields, at least for me, this document is more > > important than other document th

Re: Possible issue in edismax?

2013-01-31 Thread Felipe Lahti
ty of term). On Thu, Jan 31, 2013 at 5:31 AM, Sandeep Mestry wrote: > Thanks Felipe.. > Can you point me an example please? > > Also forgive me but if a document has matches in more searchable fields > then should it not rank higher? > > Thanks, > Sandeep > On 30

Re: Possible issue in edismax?

2013-01-30 Thread Felipe Lahti
H) weight(title_ci:news^100.0 in 967895) [DefaultSimilarity], result > of: 1.6107484 = score(doc=967895,freq=1.0 = termFreq=1.0 ), product of: > 0.22324038 = queryWeight, product of: 100.0 = boost 7.2153096 = > idf(docFreq=22548, maxDocs=11282414) 3.093982E-4 = queryNorm 7.2153096 = > fieldWeigh

Re: Possible issue in edismax?

2013-01-30 Thread Felipe Lahti
tribution) is still resulting higher > than the one with higher boost factor (series_title). > > > Thanks, > > Sandeep > > > > > On 30 January 2013 16:02, Sandeep Mestry wrote: > > > Thanks Felipe, yes I have seen that and my requirement somewhere fa

Re: Possible issue in edismax?

2013-01-30 Thread Felipe Lahti
gt; > I have tried debugging and when I use query term news, I see that matches > for contributions are ranked higher than series title. The parsed queries > look like below: > (Note that I have edited the query as in reality I have lot of fields that > are searchable and I have only mentioned the fields containing text data - > rest all contain uuids) > > > (+DisjunctionMaxQuery((description:news^15.0 | title:news^100.0 | > contributions:news | series_title:news^500.0)~0.01) () () () () () () () () > () () () () () () () () () () () () () () () () () () () ())/no_coord > > > +(description:news^15 | title:news^100.0 | contributions:news | > series_title:news^500.0)~0.01 () () () () () () () () () () () () () () () > () () () () () () () () () () () () () > > > Could you guide me in right direction please? > > Many Thanks, > Sandeep > -- Felipe Lahti Consultant Developer - ThoughtWorks Porto Alegre