Re: FunctionQuery in a custom request handler

2008-03-20 Thread evol__
Hi again, digging this one up. This is the code I've used in my handler. ReciprocalFloatFunction tb_valuesource; tb_valuesource = new ReciprocalFloatFunction(new ReverseOrdFieldSource(TIMEBIAS_FIELD), m, a, b); FunctionQuery timebias = new FunctionQuery(tb_valuesource);

Re: custom handler results don't seem to match manually entered query string

2008-02-22 Thread evol__
Hoss thanks, hm it might be a problem with not (specifically..) using analyzers. But I always thought such code: Term term = new Term(text, str); TermQuery tq = new TermQuery(term); query.add(tq, Occur.SHOULD); would get query terms through analyzers - since they are specified under fieldType

Re: custom handler results don't seem to match manually entered query string

2008-02-20 Thread evol__
Can I provide some additional information of any kind? -- View this message in context: http://www.nabble.com/custom-handler-results-don%27t-seem-to-match-manually-entered-query-string-tp15544268p15590448.html Sent from the Solr - User mailing list archive at Nabble.com.

custom handler results don't seem to match manually entered query string

2008-02-18 Thread evol__
Hi, my problem is as follows: my request handler's code filters = null; DocListAndSet docs_main = searcher.getDocListAndSet(query, filters, null, start, rows, flags); String querystr = query.toString(); rsp.add(QUERY_main, querystr); gives zero responses: str name=QUERY_main((text:Travel

FunctionQuery in a custom request handler

2008-01-15 Thread evol__
I'm trying to pull off a time bias, article freshness thing - boosting recent documents based on a published_date field. The reasonable way to do this seems using a FunctionQuery. But all the examples I find are for expressing this through the query parser; I'd need to do this inside my custom,

Re: specify index location

2007-11-05 Thread evol__
. You can, also, move your Solr home and you could also try a symbolic link. Cheers, Grant On Nov 4, 2007, at 6:47 PM, evol__ wrote: hi everyone, my first post on this mailing list. let me just shout a big thanks to everyone involved in this wonderful project. only working

value boosts? (boosting a multiValued field's data)

2007-11-05 Thread evol__
Hi. Is the expansion method described in the following year old post still the best available way to do this? http://www.nabble.com/newbie-Q-regarding-schema-configuration-tf1814271.html#a4956602 The way I understand it, indexing these field name=foo boost=1.0First val/field field

specify index location

2007-11-04 Thread evol__
hi everyone, my first post on this mailing list. let me just shout a big thanks to everyone involved in this wonderful project. only working with solr lucene for a little while, and am already getting happy with the results:) the question is - is it possible to tell a solr instance the location