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

2008-02-25 Thread Chris Hostetter
: 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 the underlying lucene query classes (like TermQuery) don't know anything ba

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 ...

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

2008-02-21 Thread Chris Hostetter
Hmmm... everything seems right here. This may be a silly question, but you are calling rsp.add("response", docs_main.docList) in your custom handler correct? second question: how are you building up your query obejct? the only thing i can think of is that you are constructing the TermQueri

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: ((text:Travel text:Home text:Online