RE: add new fields to existing index

2008-06-10 Thread Kevin Xiao
-Original Message- From: Kevin Xiao [mailto:[EMAIL PROTECTED] Sent: Saturday, June 07, 2008 9:32 AM To: solr-user@lucene.apache.org Subject: add new fields to existing index Hi, We have a huge existing index (~40G), and we decided to add more fields on the top of it from a different source. Say, I

add new fields to existing index

2008-06-07 Thread Kevin Xiao
Hi, We have a huge existing index (~40G), and we decided to add more fields on the top of it from a different source. Say, I have a index with UniqueKey, FieldA, FieldB, FieldC, I want to add FieldD to it, so I create a document with UniqueKey, FieldD and do a solr commit. By doing that is it g

highlighting fragment

2008-06-05 Thread Kevin Xiao
Hi, I have a question about highlighting fragment. I set hl.fragsize to 100, but the return is cut off from a middle of a sentence with correct search term highlighting though. Is there a way to make the cutoff to the beginning of a sentence? Set some flag? How does highlighting cutoff work any

large data to index

2008-06-01 Thread Kevin Xiao
Hi, We have large data to index, index size is about 40 G and getting bigger. We are try to figure out a way to speed up indexing. 1. Single solr server, multiple indexers, which will speed up document parsing time, but I am not sure if single solr server can handle multiple requests wit

highlighting and hyperlink

2008-05-30 Thread Kevin Xiao
Hi I am not sure if there are any discussions about this, I could not find the search function in mailing list archives. :) Anyway, here is my problem: In my document, I have a hyperlink, say, breast cancer, but when I applied solr highlighting on search term 'cancer', that hyperlink becomes: c

RE: solr highlighting

2008-05-22 Thread Kevin Xiao
Just in case anyone wants to know: I figured out that you have to set uniqueKey stored="true" for highlighting to work. Thanks for everyone's help. Thanks, - Kevin -Original Message----- From: Kevin Xiao [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 13, 2008 11:22 P

RE: solr highlighting

2008-05-22 Thread Kevin Xiao
8983/solr/select?indent=on&version=2.2&q=solr&start=0&rows=10&fl=*%2Cscore&qt=standard&wt=standard&explainOther=&hl=on&hl.fl=features -Mike On 14-May-08, at 9:39 AM, Kevin Xiao wrote: > Thanks Christian. I did try many options indicated in wiki, didn't

RE: solr highlighting

2008-05-14 Thread Kevin Xiao
. ./post.sh *.xml 4. execute a query: http://localhost:8983/solr/select?indent=on&version=2.2&q=solr&start=0&rows=10&fl=*%2Cscore&qt=standard&wt=standard&explainOther=&hl=on&hl.fl=features -Mike On 14-May-08, at 9:39 AM, Kevin Xiao wrote: > Thanks Chri

RE: solr highlighting

2008-05-14 Thread Kevin Xiao
ogler [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 14, 2008 5:55 AM To: solr-user@lucene.apache.org Subject: Re: solr highlighting On Wednesday 14 May 2008 09:21:36 Kevin Xiao wrote: > Hi there, > > I am new to solr. I want search term to be highlighted on the results. I > thought it is p

solr highlighting

2008-05-13 Thread Kevin Xiao
Hi there, I am new to solr. I want search term to be highlighted on the results. I thought it is pretty simple, but could not make it work. I read a lot of solr documents and mail archives (I wish there is a search function for this, we are talking about solr, aren’t we? ☺). Solrconfig.xml

RE: solr to handle special charater

2008-02-26 Thread Kevin Xiao
, but it doesn't say anything about just '+' or '-' characters. Does anyone know a workaround before I stripped off '+'/'-' by myself? Thanks, - Kevin -Original Message- From: Kevin Xiao [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 26,

solr to handle special charater

2008-02-26 Thread Kevin Xiao
Hi there, I am new to Solr. I used the following analyzer - I tried both WhitespaceTokenizerFactory and StandardTokenizerFactory, but when I search "xyz - abc", it didn't returns anything, ("xyz abc" returns "xyz - abc" though). I used the tokenizer/filter on both index and query time. Is that