Re: Boosting based on field values

2010-07-04 Thread Indika Tantrigoda
Hi, {!boost b=pow(1,featured_listing)} is the boost function I used. Got the results as expected. Thanks. Regards, Indika On 3 July 2010 21:10, Indika Tantrigoda wrote: > Thanks for the info. I'll try this out. > > Regards, > Indika > > > On 3 July 2010 20:48, Ahmet Arslan wrote: > >>

Re: Dilemma - Very Frequent Synonym updates for Huge Index

2010-07-04 Thread Erick Erickson
About reindexing and performance. This is not really a problem as you can re-index on a completely different machine and then just move the completed index to your production machines and reopen your index. SOLR has this capability out of the box. Here's a link to get you started: http://wiki.apach

FastVectorHighlighter and SynonymFilter

2010-07-04 Thread ito hayato
Hi all, I try using concurrently SynonymFilter and FastVectorHighlighter, then I got empty highlight response. As investigation of the causes, I set all combination of hl.useVectorHighlighter and expand attribute. --- --- Result: expand=

Duplicate items in distributed search

2010-07-04 Thread Andrew Clegg
Hi, I'm after a bit of clarification about the 'limitations' section of the distributed search page on the wiki. The first two limitations say: * Documents must have a unique key and the unique key must be stored (stored="true" in schema.xml) * When duplicate doc IDs are received, Solr chooses

Re: Duplicate items in distributed search

2010-07-04 Thread Mark Miller
On 7/4/10 11:41 AM, Andrew Clegg wrote: > > Hi, > > I'm after a bit of clarification about the 'limitations' section of the > distributed search page on the wiki. > > The first two limitations say: > > * Documents must have a unique key and the unique key must be stored > (stored="true" in sche

Re: Duplicate items in distributed search

2010-07-04 Thread Andrew Clegg
Mark Miller-3 wrote: > > The 'doc ID' in the second point refers to the unique key in the first > point. > I thought so but thanks for clarifying. Maybe a wording change on the wiki would be good? Cheers, Andrew. -- View this message in context: http://lucene.472066.n3.nabble.com/Duplicat

Using symlinks to alias cores

2010-07-04 Thread Andrew Clegg
Another question... I have a series of cores representing historical data, only the most recent of which gets indexed to. I'd like to alias the most recent one to 'current' so that when they roll over I can just change the alias, and the cron jobs etc. which manage indexing don't have to change.

Re: Dilemma - Very Frequent Synonym updates for Huge Index

2010-07-04 Thread Ravi Kiran
Hello Mr.Høydahl, Yes your are right, we can selectively reindex which would reduce the amount of indexing, but not by much for commonly occurring entities. For example: George W. Bush / Barack Obama /Afghanistan / Iraq etc occurs in most of the documents in the last 5 yea

Error in building Solr-Cloud (ant example)

2010-07-04 Thread jayf
Hi there, I'm having a trouble installing Solr Cloud. I checked out the project, but when compiling ("ant example" on OSX) I get compile a error (cannot find symbol - pasted below). I also get a bunch of warnings: [javac] Note: Some input files use or override a deprecated API. [javac]

Re: Error in building Solr-Cloud (ant example)

2010-07-04 Thread Mark Miller
Hey jayf - Offhand I'm not sure why you are having these issues - last I knew, a couple people had had success with the cloud branch. Cloud has moved on from that branch really though - we probably should update the wiki about that. More important than though, that I need to get Cloud committed to

Re: Duplicate items in distributed search

2010-07-04 Thread Mark Miller
On 7/4/10 12:49 PM, Andrew Clegg wrote: > > > Mark Miller-3 wrote: >> >> The 'doc ID' in the second point refers to the unique key in the first >> point. >> > > I thought so but thanks for clarifying. Maybe a wording change on the wiki > would be good? > > Cheers, > > Andrew. > Sounds like a

Re: Duplicate items in distributed search

2010-07-04 Thread Andrew Clegg
Mark Miller-3 wrote: > > On 7/4/10 12:49 PM, Andrew Clegg wrote: >> I thought so but thanks for clarifying. Maybe a wording change on the >> wiki > > Sounds like a good idea - go ahead and make the change if you'd like. > That page seems to be marked immutable... -- View this message in cont

Re: Field Collapse question

2010-07-04 Thread Martijn v Groningen
Hi Ken, Not collapsing on null field values is not possible in the patch. However you can if you want to fix this in the patch it is a really small change. Assuming that you're using the default collapsing algorithm you can add the following piece of code in the NonAdjacentDocumentCollapser.java f

Re: Query modification

2010-07-04 Thread Chris Hostetter
: So QueryComponent is the place to do this? Are query analyzers already done? I would actaully suggest doing it in a QParserPlugin, that way it can be reused in mulitple parsing sitautions and the stock search behavior of QueryComponent (including distributed search) can function as is. : Wou

Re: Bizarre Terms revisited

2010-07-04 Thread Chris Hostetter
: Subject: Bizarre Terms revisited to clarify for folks: this is a followup to this previous thread... http://search.lucidimagination.com/search/document/c0aabe47aad1ca3c/bizarre_tfv_output#de3abb42754407d6 : Using MLT, I get terms that appear to be long concatenations of words : that are space

Re: FastVectorHighlighter and SynonymFilter

2010-07-04 Thread Koji Sekiguchi
(10/07/04 23:55), ito hayato wrote: > Hi all, > > I try using concurrently SynonymFilter and > FastVectorHighlighter, > then I got empty highlight response. > As investigation of the causes, I set all combination of > hl.useVectorHighlighter and expand attribute. > > ---

Re: how to apply stemming to the index ?

2010-07-04 Thread Erick Erickson
I'm a little confused about what you're trying to accomplish where. The fact that you posted to the SOLR users list would indicate you're using SOLR, in which case all you have to do is apply the stemming in your config file. Something like: in your schema.xml file for your index AND search anal

Re: steps to improve search

2010-07-04 Thread Erick Erickson
Yes, when you change the schema in the indexing portion, it is necessary to reindex the data. You can change the search parts w/o reindexing.. Also, see this page: http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters See the CommonGramsFilterFactory section, which contains this tidibt: <<>

Re: Boosting based on field values

2010-07-04 Thread Erick Erickson
Wouldn't sorting work in this situation as well? Erick On Sun, Jul 4, 2010 at 8:54 AM, Indika Tantrigoda wrote: > Hi, > > {!boost b=pow(1,featured_listing)} is the boost function I used. > > Got the results as expected. > > Thanks. > > Regards, > Indika > > > On 3 July 2010 21:10, Indika Tan

Re: What is the proper procedure to reopen closed bugs?

2010-07-04 Thread Chris Hostetter
: I'd like to reopen a bug SOLR-1960 : https://issues.apache.org/jira/browse/SOLR-1960 : "http://wiki.apache.org/solr/ : non-English users get generic MoinMoin page instead of the desired information" It looks like Koji has already helped you out with SOLR-1960, and that issue is obviously a sp

Re: Solrj Question

2010-07-04 Thread Chris Hostetter
: Subject: Solrj Question : In-Reply-To: <36b99395-9f0b-45ad-ac05-1d2415833...@yahoo.com> : References: <36b99395-9f0b-45ad-ac05-1d2415833...@yahoo.com> http://people.apache.org/~hossman/#threadhijack Thread Hijacking on Mailing Lists When starting a new discussion on a mailing list, please do n