How to enable highlighting when subquery is used

2009-11-17 Thread Wang Guangchen
Hi all, I came across this issue when I was exploring the solr FunctionQuery. Hope anyone of you can help me on this: I need to combine the score of a normal key word search with one numeric field in the index to form a new score. So I use the query() function provided in the FunctionQuery, So

Re: SOLR-769 clustering

2009-09-09 Thread Wang Guangchen
hi Staszek, Thank you very much for your advice. My problem has been solved. It is caused by the regexp in the stoplables.en. I didn't released that regular expression is required in order to filter out the words. I have add in the regexp in my stoplabels.en and it works like a charm. -GC On

Re: SOLR-769 clustering

2009-09-08 Thread Wang Guangchen
Hi Staszek, I try to apply the stoplabels with the instructions that you given in the solr clustering Wiki. But it didn't work. I am runing the patched solr on tomcat. So to enable the stop label. I add -cp dir-with-your-modified-stopwords in to my system's CATALINA_OPTS. I tried to change the

Re: SOLR-769 clustering

2009-09-08 Thread Wang Guangchen
On Tue, Sep 8, 2009 at 9:56 PM, Grant Ingersoll gsing...@apache.org wrote: On Sep 8, 2009, at 5:11 AM, Wang Guangchen wrote: Hi Staszek, I try to apply the stoplabels with the instructions that you given in the solr clustering Wiki. But it didn't work. I am runing the patched solr

Re: SOLR-769 clustering

2009-09-08 Thread Wang Guangchen
Hi Staszek, I tried your quick and dirty hack too. It didn't work also. phase like Carbon Atoms in the Group with in still appear in my clustering labels. What i did is, 1. use java uf carrot2-mini.jar stoplabels.en command to replace the stoplabel.en file. 2. apply clustering patch. re-complie

Repeat records in index

2009-08-09 Thread Wang Guangchen
Hi everyone, I maintain a large index around 14M records. Recently we found out that there is a repeat doc in the index. We have double check that we set the unique key correct. But these two docs are identical with the same unique key. Is anyone here meet the same problem? Is there any fix for

Re: Recover crashed solr index

2009-05-28 Thread Wang Guangchen
hi Mike and Yonik , There is no other exceptions other than missing segments_cje. the disk still have 160G more spaces when the disk crash. current these is only one solr core that accessing this index directory. so it can't be the file lock problem. I am not sure is considered as unusual

Re: Recover crashed solr index

2009-05-26 Thread Wang Guangchen
/index/ -Peter On Mon, May 25, 2009 at 4:42 AM, Wang Guangchen guangchen...@gmail.com wrote: Hi everyone, I have 8m docs to index, and each doc is around 50kb. The solr crashed in the middle of indexing. error message said that one of the file in the data directory is missing. I don't

Re: Recover crashed solr index

2009-05-26 Thread Wang Guangchen
have the original exception you hit? I'll fix CheckIndex to be more sane if it could not load any segments file. Mike On Tue, May 26, 2009 at 2:12 AM, Wang Guangchen guangchen...@gmail.com wrote: Hi peter, Thank you very much for your quick reply. I tried the CheckIndex method

Recover crashed solr index

2009-05-25 Thread Wang Guangchen
Hi everyone, I have 8m docs to index, and each doc is around 50kb. The solr crashed in the middle of indexing. error message said that one of the file in the data directory is missing. I don't know why this is happened. So right now I have to find a way to recover the index to avoid re-index. Is

solr crushed with missing index segment file

2009-05-23 Thread Wang Guangchen
Hi everyone: My solr index crashed while it was being updated. I don't have a clue why this is happened . The index contains around 8 million docs. During update, each add contains 100 doc. in solrconfig.xml, i set the autoCommit maxDocs1000/maxDocs/autoCommit. following is the error message :

Facet search on Multi-Valued Fields

2009-02-17 Thread Wang Guangchen
Hi all, I have been experimenting solr faceted search for 2 weeks. But I meet performance limitation on facet Search. My solr contains 4,000,000 documents. Normal searching is fairly fast, But faceted search is extremely slow. I am trying to do facet search on 3 fields (all multivalued fields) in

Re: Facet search on Multi-Valued Fields

2009-02-17 Thread Wang Guangchen
search speed? GC On Tue, Feb 17, 2009 at 5:30 PM, Marc Sturlese marc.sturl...@gmail.comwrote: Have you tired with a nightly build with the new facet algorithm (it is activated by default)? http://www.nabble.com/new-faceting-algorithm-td20674902.html Wang Guangchen wrote: Hi all, I

Re: Facet search on Multi-Valued Fields

2009-02-17 Thread Wang Guangchen
to consider is to just index and store the necessary fields, omitNorms always that is possible... there are many tips around... keep reading ;) Wang Guangchen wrote: Nope, I am using the latest stable version of solr 1.3.0. Thanks for your tips. Besides this, Is there any other thing I