: 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
: Once I post it I see following entry in my catalina.out. However when I go
: to solr search page and try to search any token in content sectionI do not
: get any thing returned. basically
:
:
the logs you posted don't inlcude anything about the query you executed,
so it's hard to guess what
2Hi all,
Is there any way to recover from such an error as listed in the subject heading?
Luke can view the index just fine (at least at a cursory level Luke is able to
open the index, give me back the # of docs, etc.), but solr throws this
exception whenever I try and start it up.
any ideas o
Hi,
I am using the 'text' fieldType from the sample schema.xml of Solr.
I have multiple fields which are of 'text' type but I want to use separate
synonym files for each of the fields. For example, SynonymFilter should use
synonym_abcd.txt for the field named 'abcd' and synonym_xyz.txt for th
did you create/modify the index with a newer version of lucene than the
one you use in solr?
In this case I doubt you can downgrade your index, but maybe you can
upgrade lucene in your solr (search in this forum, there should be a
thread about this), (or try with the latest nightly builds)
Pau
2Unfortunately, the answer is "no". I didn't use an upgraded version of lucene
or solr. this is the bizzarre issue. I'm actually using solr via the
acts_as_solr plugin used in ruby.
At the time, I was adding a few 100-thousand docs to the index...there appears
to have been a memory leak as
Maybe double check your CLASSPATHs?
Because, based on the line numbers in the exception, it really looks
like it's Lucene 2.1 that's trying to open a Lucene 2.2+ index. The
term infos file (.tii, .tis) changed from -2 -> -3 format in 2.3.
Mike
On Feb 25, 2008, at 7:19 AM, Paul Danese wro
On Mon, Feb 25, 2008 at 6:22 AM, Nikhil Chhaochharia
<[EMAIL PROTECTED]> wrote:
> I am using the 'text' fieldType from the sample schema.xml of Solr.
>
> I have multiple fields which are of 'text' type but I want to use separate
> synonym files for each of the fields. For example, SynonymFilter
I believe the answer is you will need to have a different field type
for each. Just copy the text field type and name it text-abcd, etc.
with each one configured to use the synonym file you want.
-Grant
On Feb 25, 2008, at 6:22 AM, Nikhil Chhaochharia wrote:
Hi,
I am using the 'text' fi
Yes I do computing the same DocSet. Should it be the problem? Is any way to
solve it?
In general in each thread I ran the same query and add different Filter Query.
- Original Message
From: Chris Hostetter <[EMAIL PROTECTED]>
To: Solr User
Sent: Monday, February 25, 2008 2:19:02 AM
S
Chris,
Thank you for answering my question, but maybe I wasn't clear in
explaining it. In fact, what I meant was that using the Query
compilation in Lucene you can obtain an array of strings containing
the terms used from the system to search the indices.
The reason I'm asking this because, depend
Hello!
All these configuration files seem like they could be stored in a
database just as well as they are stored in the file structure.
Specifically the new elevator handler (which looks to be exactly what
I needed, thanks!!) would be more useful if it could get its
configuration from a
I'm in a request handler: public void
handleRequestBody(SolrQueryRequest req, SolrQueryResponse rsp) {
And in here i want to form a SolrQuery based on the req, query the
searcher and return results.
But how do I get a SolrServer out of the req? I can get a
SolrIndexSearcher but that does
On Mon, Feb 25, 2008 at 2:07 PM, Brian Whitman <[EMAIL PROTECTED]> wrote:
> I'm in a request handler: public void
> handleRequestBody(SolrQueryRequest req, SolrQueryResponse rsp) {
>
> And in here i want to form a SolrQuery based on the req, query the
> searcher and return results.
>
> But how
Perhaps back up and see if we can do this a simpler way than a request
handler...
What is the query structure you are trying to generate?
I have two dismax queries defined in a solrconfig. Something like
...
raw^4 name^1
...
tags^3 typ
Would query ?qt=q1&q=kittens&bf=2&fl=id, then ?
qt=q2&q=kittens&bf=2&fl=id.
Sorry, I meant:
?qt=q1&q=kittens&bf=sortable^2&fl=id, then ?
qt=q2&q=kittens&bf=sortable^2&fl=id
One method to generate any arbitrary query is to create your own QParser.
In this case, because it's just two dismax queries, there is an easier
way that I snuck in during QParser work: embedded queries.
The "standard" solr query syntax (which is a slightly modified lucene
query syntax) supports
Hi,
I am using Solr 1.2.0 with a custom compound word analyzer, which inserts the
decompositions into the token stream. Because I assume that when the user
queries for a compound word, he is interested only in whole-word matches, I
have it enabled only in my index analyzer chain.
However, due
Hi,
I'm using solr1.3 nightly build. I defined a sint field bookCount. When
I query on this field, it works fine without highlight. However if I
turn on highlight(hl=true&hl.fl=bookCount), it failed due to the error
below. Does anyone know if this is a bug? If I change the type to
integer, the hig
: Yes I do computing the same DocSet. Should it be the problem? Is any way to
solve it?
: In general in each thread I ran the same query and add different Filter
Query.
it's not neccessarily a problem, it's just that you may not get much
benefit from prallelization if all of the worker threads
20 matches
Mail list logo