RE: Solr 4.1 Master -> Slave Replication Issues and Solr 4.2

2013-02-27 Thread Hung Huynh
Renamed it on the Slave server. The slave does create a new index.xx directory to store temporary files, but they are much smaller than the full catalog size. These files then get copied/merged to the "index" directory, and the index.xx directory is deleted at the end. I end up wit

RE: Solr 4.1 Master -> Slave Replication Issues and Solr 4.2

2013-02-27 Thread Hung Huynh
I found a blog a few days ago (don't remember the source now) stating that if you name the index folder as "index" and not "index.x", then the slave would stop pulling the full catalog every time. That was what I did and that seemed to be a good workaround for me. I stopped solr, rena

Term Frequency - tf() ?

2011-10-18 Thread Hung Huynh
I've revised the tf() function to always return 1, regardless of the number of terms it finds. However, I run into a problem when a stemming words and root words appear together. These documents get a higher boost than documents with just the root. For example: "woman walking fast" gets tf(woman)

qf boosting - unique count?

2008-10-14 Thread Hung Huynh
&q=test&qf=title^1 Title = "test, taking test, exam" Solr boosts 2 points for 2 occurrences of the word "test" in the title. Is there a way to configure solr to just give 1 point, regardless the number of occurrences? Thanks, HH

RE: Help with Solr + KStem

2008-05-19 Thread Hung Huynh
Hung, You included the KStem jar itself, and that is good, but class KStemFilterFactory does not exist anywhere in Solr. You need to get it from here: https://issues.apache.org/jira/browse/SOLR-379 Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message ---

Help with Solr + KStem

2008-05-14 Thread Hung Huynh
I have KStem.jar in solr/lib and solr/example/lib and made a change to schema.xml to include the KStem line (removed the Porter line). This is what I get when I try to hit the Solr Admin page. How can I go about resolving this error? Thanks, HH --- HTTP

How do I use KStem with Solr?

2008-05-07 Thread Hung Huynh
I'm a complete newbie to Solr and Java programming. I'm able to get Solr up running. I'd like to replace Porter stemming with KStem. I have KStem source, but I'm clueless in term of how to compile and use it. Thanks, HH

better stemming engine than Porter?

2008-04-21 Thread Hung Huynh
I recall I've read some where in one of the mailing-list archives that some one had developed a better stemming algo for Solr than the built-in Porter stemming. Does anyone have link to that stemming module? Thanks, HH

RE: How to troubleshoot this HTTP ERROR: 500 (NULL) error?

2008-04-21 Thread Hung Huynh
Thanks. I fixed the schema and it's working now. Also my other problem of "not all defined fields showing up in the results" is also resolved. I found out last night that Solr is case-sensitive. I typed all fields in the schema in lower-case, and my CSV files had mixed cases for some of the fields

How to troubleshoot this HTTP ERROR: 500 (NULL) error?

2008-04-18 Thread Hung Huynh
I loaded about 20,000 docs. When I tried to do any search, I received the following error. What should I do to fix this? Thanks. -- HTTP ERROR: 500 null java.lang.NullPointerException at org.apache.solr.search.SolrQueryParser.getFieldQuery(SolrQueryParser.java:73 ) at org.ap

RE: why don't all stored fields show up?

2008-04-04 Thread Hung Huynh
rom: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Yonik Seeley Sent: Friday, April 04, 2008 12:02 PM To: solr-user@lucene.apache.org Subject: Re: why don't all stored fields show up? On Fri, Apr 4, 2008 at 11:57 AM, Hung Huynh <[EMAIL PROTECTED]> wrote: > Do you think it

RE: why don't all stored fields show up?

2008-04-04 Thread Hung Huynh
Index has all 39 fields? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Yonik Seeley Sent: Friday, April 04, 2008 10:48 AM To: solr-user@lucene.apache.org Subject: Re: why don't all stored fields show up? On Fri, Apr 4, 2008 at 9:25 AM, Hung Huy

why don't all stored fields show up?

2008-04-04 Thread Hung Huynh
I have about 20 stored fields in string, text, and int, but only about 10 fields show up when I query for them, whether I do fl=*,score or list them out. What's my problem? How do I retrieve all of fields? Thanks.