Otis, Thanks for the reply. Is there a list of words that have special
meaning?
Thanks
Xuesong
Re: Got parseException when search keyword AND on a text field
Otis Gospodnetic
Fri, 18 Apr 2008 18:39:45 -0700
Xuesong,
AND has a special meaning - it is a boolean AND when capitalized. That
i
Hi,
I got the following error when search keyword AND on a text field. I
checked stopwords.txt, it has an entry for word and.(case insensitive),
but it seems not work for word AND. Does any one know how to fix this
problem?
Thanks
Xuesong
http://localhost/search/select/?q=firstName%3AAND&version
Thanks Hoss, I created https://issues.apache.org/jira/browse/SOLR-491 to
check this bug
The reason I need to highlight the numeric or data field is I have to
loop through the search result to apply role permission check on those
fields. If the searcher doesn't have permission to see the numeric/da
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
Hi, there,
Our index stores employee working history information. For each
employee, there could be multiple index records. The requirement is:
1. The search result should be sorted on score.
2. Each employee should only appear once regardless how many match
are found.
3. The resul
Hi, there,
I have a user index(each user has a unique index record). If I want to
search 10 users, should I run 10 queries or 1 query with multiple user
ids? Is there any performance difference?
Thanks
Xuesong
Hi,
I have a user index(each user has a unique index record) and need to get
information for 10 users. Should I run 10 queries or 1 query with
multiple user ids? Any performance difference?
Thanks
Xuesong
My experience so far:
200k number of indexes were created in 90 mins(including db time), index
size is 200m, query a key word on all string fields(30) takes 0.3-1 sec,
query a key word on one field takes tens of mill seconds.
-Original Message-
From: Charlie Jackson [mailto:[EMAIL PROTEC
Hi,
I noticed the first index update after I restart my jboss server always
fail with the exception below. Any update after that works fine. Does
anyone know what the problem is? The solr version I'm using is solr1.2
Thanks
Xuesong
2007-08-09 11:41:44,559 ERROR [STDERR] Aug 9, 2007 11:41:44 AM
On your slave, you can run snappuller to get the latest snapshot from
master(generated by snapshooter), then run snapinstaller to notify solr
to use the updated index.
-Original Message-
From: Matt Mitchell [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 18, 2007 12:12 PM
To: solr-user@lu
@lucene.apache.org
Subject: Re: multiple slaves on the same box
Xuesong Luo wrote:
> Hi, there,
> We have one master server and multiple slave servers. The multiple
slave
> servers can be run either on the same box or different boxes. For
> slaves on the same box, is there any best practice that
Hi, there,
We have one master server and multiple slave servers. The multiple slave
servers can be run either on the same box or different boxes. For
slaves on the same box, is there any best practice that they should use
the same index or each should have separate indexes?
Thanks
Xuesong
That's also what I did in my code, I search for * or ?, if exists,
lowercase the query string.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Yonik
Seeley
Sent: Tuesday, July 10, 2007 12:13 PM
To: solr-user@lucene.apache.org
Subject: Re: wildcard searches
You can use perl to get the sec, an example is:
rsyncEndSec=`perl -e "print time;"`
-Original Message-
From: Bill Au [mailto:[EMAIL PROTECTED]
Sent: Monday, July 09, 2007 8:40 AM
To: solr-user@lucene.apache.org
Subject: distribution scripts on Solaris
I am working on bug SOLR-282:
htt
-Original Message-
From: Bill Au [mailto:[EMAIL PROTECTED]
Sent: Monday, July 09, 2007 8:40 AM
To: solr-user@lucene.apache.org
Subject: distribution scripts on Solaris
I am working on bug SOLR-282:
https://issues.apache.org/jira/browse/SOLR-282
and noticed that the code in the scripts
t: Re: webapp_name in commit and optimize
It defaults to solr, are you specifying your webapp name when you invoke
the program?
usage: $prog [-h hostname] [-p port] [-u username] [-U url] [-v] [-V]
...
-w specify name of Solr webapp (defaults to solr)
Xuesong Luo wrote:
Hmmm, it's different than the one I got, we may just installed the
search.war from 1.2 but forgot to update the bin.
Thanks
Xuesong
-Original Message-
From: Chris Hostetter [mailto:[EMAIL PROTECTED]
Sent: Friday, July 06, 2007 10:44 AM
To: solr-user@lucene.apache.org
Subject: RE: webapp
I'm using 1.2, yes, it adds a webapps_name option, but it's never used
in the commit/optimizer.
-Original Message-
From: Chris Hostetter [mailto:[EMAIL PROTECTED]
Sent: Friday, July 06, 2007 10:32 AM
To: solr-user@lucene.apache.org
Subject: Re: webapp_name in commit and optimize
: but n
Hi,
I deployed solr web app with a different name then found commit does not
work. When I looked at the code, I saw variable webapp_name is populated
but not used. It always uses solr as the web app name. optimize has the
same problem. Is this a known bug?
Wrong:
rs=`curl http://${solr_hostname}
I set up solr1.2 to run snapshooter each time after a commit/optimize.
It worked fine for a while, but later I got the error message below
after sending the commit request. It seems jboss(4.0.GA) had problem
running snapshooter. The index size is 290m, the file system that solr
data directory is on
2) yes.
-Original Message-
From: niraj tulachan [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 03, 2007 3:09 PM
To: solr-user@lucene.apache.org
Subject: Solr indexing
Hi all,
I have successfully implemented the Solr so far but there are
couple of questions I want the solr user to sh
Xuesong Luo wrote:
> Hi,
> I set up solr to autocommit each minute. It works well if I sent an
add
> request, but it does not work for delete, nothing happened after 1
> minute. Is this a bug or a designed behavior?
>
> Thanks
> Xuesong
>
>
>6
>
>
>
Hi,
I set up solr to autocommit each minute. It works well if I sent an add
request, but it does not work for delete, nothing happened after 1
minute. Is this a bug or a designed behavior?
Thanks
Xuesong
6
apache.org
Subject: Re: snapshooter no go
Maybe you can open an issue in JIRA with your solution, so Bill Au & Co.
can fix snappuller.
Otis
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Simpy -- http://www.simpy.com/ - Tag - Search - Share
- Original Message
Fro
ctory - you should see snapshooter.log
there.
Otis
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Simpy -- http://www.simpy.com/ - Tag - Search - Share
- Original Message
From: Xuesong Luo <[EMAIL PROTECTED]>
To: solr-user@lucene.apache.org
Sent: Thursday, June
Just found I can use "ln dir1/* dir2" to make hard link for all files in
dir1 to dir2.
-Original Message-----
From: Xuesong Luo
Sent: Thursday, June 28, 2007 11:17 AM
To: solr-user@lucene.apache.org
Subject: RE: snapshooter no go
I got another problem: solr is able to find snaps
I got another problem: solr is able to find snapshooter but didn't
generate any snapshot files after I updated the index. I checked the
log, everything looks fine, then I run snapshooter from command line. It
failed because solaris doesn't support -l option when using cp command.
I'm trying to find
I thought I had to use the full path in dir attribute, later I realized
I should modify the environment variable path. Now it's working, I
didn't append ./ before snapshooter.
Thanks
Xuesong
-Original Message-
From: Chris Hostetter [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 27, 2007
I got similar problems, tried both default setting solr/bin and full
path /export/home/jboss/jboss-4.0.5.GA/bin/solr/bin, neither works. I'm
using 1.2.
2007-06-27 14:10:03,907 ERROR [STDERR] Jun 27, 2007 2:10:03 PM
org.apache.solr.update.DirectUpdateHandler2 commit
INFO: start commit(optimize=tru
For chinese search, you may also consider
org.apache.lucene.analysis.cn.ChineseTokenizer.
ChineseTokenizer Description: Extract tokens from the Stream using
Character.getType() Rule: A Chinese character as a single token
Copyright: Copyright (c) 2001 Company: The difference between thr
ChineseToke
//www.simpy.com/ - Tag - Search - Share
- Original Message ----
From: Xuesong Luo <[EMAIL PROTECTED]>
To: solr-user@lucene.apache.org
Sent: Friday, June 22, 2007 8:54:37 AM
Subject: RE: add CJKTokenizer to solr
Thanks, Toru and Chris,
I tried both the CJKTokenizer and CJKAnaly
Thanks, Toru and Chris,
I tried both the CJKTokenizer and CJKAnalyzer. Both return some unexpected
highlight results when I tested with Germany. The field value I searched is
"Ein Mann beißt den Hund". The search criteria is beißt.
When using CJKAnalyzer, beißt is treated as 2 single terms(bei
Hi,
I got the error below after adding CJKTokenizer to schema.xml. I
checked the constructor of CJKTokenizer, it requires a Reader parameter,
I guess that's why I get this error, I searched the email archive, it
seems working for other users. Does anyone know what is the problem?
Thanks
Xue
Hi, Chris,
I rewrite the prefix wildcard query consult* to (consult consult?*), it
works with highlighting. Do you think it's a possible solution?
Could you explain a little bit why put a "?" before "*" won't crash solr
if matching a lot of terms?
Thanks
Xuesong
In the trunk (soon to be Solr 1.
-user@lucene.apache.org
Subject: Re: question about sorting
On 6/11/07, Xuesong Luo <[EMAIL PROTECTED]> wrote:
> For example, first name, department, job title etc.
Something like first name might be able to be a single field that is
searchable and sortable (use a keyword tokenizer foll
For example, first name, department, job title etc.
Thanks
Xuesong
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Yonik
Seeley
Sent: Monday, June 11, 2007 6:35 PM
To: solr-user@lucene.apache.org
Subject: Re: question about sorting
On 6/11/07, Xuesong
Hi,
My sorting fields include both TextField type and StrField type. Because
TextField uses TokenizerFactory, they can't be sorted. I have to copy
each TextField to a StrField and sort on those StrFields. Does anyone
know if there is a better way to do that?
Thanks
Xuesong
so, if you want the same analyzer for indexing and query, just define
one:
Xuesong Luo wrote:
> I run a problem when searching on a TextField. When I pass q=William
or
> q=WILLiam, solr is able to find records whose default search field
value
> is William, however if I pass
om: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Yonik
Seeley
Sent: Thursday, June 07, 2007 11:25 AM
To: solr-user@lucene.apache.org
Subject: Re: TextField case sensitivity
On 6/7/07, Xuesong Luo <[EMAIL PROTECTED]> wrote:
> I run a problem when searching on a TextField. When I
I run a problem when searching on a TextField. When I pass q=William or
q=WILLiam, solr is able to find records whose default search field value
is William, however if I pass q=WilliAm, solr did not return any thing.
I searched on the archive, Yonik mentioned the lowercasefilterfactory
doesn't work
main activities of my users (they
need to search latin texts, so that domin* is enough to match "dominus"
or "domino"). So, I need some more investigations.
Xuesong Luo a écrit :
> Frédéric,
> I asked a similar question several days before, it seems we don't
Frédéric,
I asked a similar question several days before, it seems we don't have a
perfect solution when using prefix wildcard with highlight. Here is what Chris
said:
in Solr 1.1, highlighting used the info from the raw query to do highlighting,
hence in your query for consult* it would highl
I have a similar question about dismax, here is what Chris said:
the dismax handler uses a much more simplified query syntax then the
standard request handler. Only +, -, and " are special characters so
wildcards are not supported.
HTH
-Original Message-
From: galo [mailto:[EMAIL PROTE
Yes, I'm using 1.1. The example in my last email is an expected result,
not the real result. Indeed I didn't see the arr element in the
highlighting element when either prefix wildcard or true wildcard query
is used.
I just tried nightly build, as you said, it works great except for
prefix wildcard
Good point, I haven't thought about it. It makes sense to use
requireFieldMatch in my case.
One more question about using wildcard. I found if wildcard is used in
the query, the highlight elements only shows unique id, it won't display
the field information(See below, the arr section in blue is re
Chris,
Thanks for your reply, I got what you said. In my case, I have the
following requirements:
1. search on different fields
2. highlight the query string in searching fields, not default search
field
3. Use wildcard
I think the only option I have is to use standard request handler and
specify
6 AM, Xuesong Luo wrote:
>
> So if I need to search a string in field f1, f2, f3 and highlight them
> in the response, I have to append hl.fl=f1,f2,f3 to my query. Is this
> the only solution? I thought of using searchall field, but the
> problem
> is the highlight element doesn'
Chris,
Thanks for the reply. I'm curious why we want to search one field but
highlight different fields? Doesn't it make more sense to only highlight
the query fields? In my example, if I search f1, f2, f3, most likely I
only want to the searching words in those fields to be highlighted. Of
course
To: solr-user@lucene.apache.org
Subject: Re: question about highlight field
On 1-Jun-07, at 9:37 AM, Xuesong Luo wrote:
> Hi, there,
>
> I have a question about how to use the highlight field(hl.fl),
> below is
> my test result. As you can see, if I don
Hi, there,
I have a question about how to use the highlight field(hl.fl), below is
my test result. As you can see, if I don't use hl.fl in the query, the
highlighting element in the result only shows the id information. I have
to add the field name (hl.fl=TITLE) to the query to see the field
infor
50 matches
Mail list logo