Re: sorting question

2007-03-24 Thread shai deljo
True, but let me ask the question in a different way. The problem is that when I run the query and order by date then the most recent results are not relevant enough (in general I find I need to do work on top of what solr provides in order to get good relevancy) so I guess I'm looking more for of

sorting question

2007-03-23 Thread shai deljo
Is there a way (in 1 query) to retrieve the best scoring X results and then sort them by another field (date for example)?

Re: Score / Sort question

2007-03-19 Thread shai deljo
Yep, I get it. But from the tests I did it tips it enough for those cases to be rare (and probably justified). Thx On 3/19/07, Chris Hostetter <[EMAIL PROTECTED]> wrote: : wouldn't doing something like this in the query : : (field1:tag1 tag2) OR (field1:tag1 AND tag2) : The documents that have

Re: Score / Sort question

2007-03-18 Thread shai deljo
Hey Chris, wouldn't doing something like this in the query : (field1:tag1 tag2) OR (field1:tag1 AND tag2) Achieve similar affect ? The documents that have all the tags (tag1 and tag2) will comply with both conditions and get scores from both while the documents that don't have both tags will on

Re: Score / Sort question

2007-03-18 Thread shai deljo
I assumed the tf/idf would behave like this but it's behaving VERY differently/wrong so i wonder maybe something is wrong with my indexing strategy ? I think for a quicker solution (ok, hack :) ) I'll run two different queries (AND, OR) and merge them. Does SOLR support some kind of merging i can

Score / Sort question

2007-03-18 Thread shai deljo
How do i force SOLR to score documents that contain ALL terms 1st before results that contain some of the terms? The problem is that i don't want to use an AND (since i am also interested in the OR results) but i do want to score documents that contain all terms higher. Please advise, Thanks

Query syntax Question

2007-03-17 Thread shai deljo
Hi, I have 2 questions about the syntax of a query for which i didn't find a clear answer in the documents (when i try using Lucene syntax it fails for some reason). I have the following Query: q=field1:tag1 tag2^0.5 OR field2:tag1 tag2^0.5&version=2.2&start=0&rows=170&indent=on&fl=*,score And i

Multiple Fields syntax

2007-03-15 Thread shai deljo
A question about the syntax: Does it support the exclude (-) syntax ? e.g. q=title:photoshop+OR+description:photoshop;score+desc&version=2.2&start=0&rows=170&indent=on&fl=*,score Will return documents with photoshop in the title and/or description. will this query: q=title:photoshop-adobe+OR+

Re: DisMax Question.

2007-03-14 Thread shai deljo
Thanks, that did the trick but now i have another problem (the documentation is very little). It fails when i try to boost terms in the query, i.e. I get results for : qt=dismax&q=blabla&version=2.2&start=0&rows=1&indent=on&fl=*,score&debugQuery=true&sort=length_seconds+desc but no results for:

DisMax Question.

2007-03-14 Thread shai deljo
Hi, I am trying to use DisMax handler in order to search multiple fields but i don't get results back. Assume the fields i want to search on are "abc", "def", "ghi" and "jkl" then i changed solrconfig.xml to this: explicit 0.01 abc^2 def ghi^0.1 jkl When i run

Re: Question About Boosting.

2007-03-12 Thread shai deljo
Buckets it is :) Thx On 3/12/07, Chris Hostetter <[EMAIL PROTECTED]> wrote: : I thought about this option but it doesn't sound scalable. What : happens if i have 100 words with 100 different boost factors? then you've got a problem :) typically it's not this severe ... i'll frequently have ha

Re: Question About Boosting.

2007-03-12 Thread shai deljo
I thought about this option but it doesn't sound scalable. What happens if i have 100 words with 100 different boost factors? On 3/12/07, Chris Hostetter <[EMAIL PROTECTED]> wrote: : I have elements within a field that have different importance. : I thought boosting would be an elegant way to t

Re: Question About Boosting.

2007-03-11 Thread shai deljo
_to_great_search.html wunder On 3/10/07 8:04 PM, "shai deljo" <[EMAIL PROTECTED]> wrote: > I have elements within a field that have different importance. > I thought boosting would be an elegant way to take this into account. > Please advise, > > > On 3/10/07,

Re: Question About Boosting.

2007-03-10 Thread shai deljo
picking one solution which Solr doesn't support. --wunder On 3/10/07 5:08 PM, "shai deljo" <[EMAIL PROTECTED]> wrote: > How can i boost some tokens over others in the same field (at Index > time) ? If this is not supported directly, what's the best way around &g

Question About Boosting.

2007-03-10 Thread shai deljo
How can i boost some tokens over others in the same field (at Index time) ? If this is not supported directly, what's the best way around this problem (what's the hack to solve this :) ). Thanks, Shai

Ranking Question.

2007-03-08 Thread shai deljo
Hi, Maybe a trivial/stupid questions but: I have a fairly simple schema with a title, tags and description. I have my own ranking/scoring system that takes into account the similarity of each tag to a term in the query but now that i want to include also the title and description (the description

Overriding Ranking in solr

2007-02-25 Thread shai deljo
Is there a way to add a plug in to override the ranking in Solr? e.g. my ranking is based on distance from a Geo location provided in the query. Thanks, Shai