Re: Interesting search question! How to match documents based on the least number of fields that match all query terms?

2014-01-23 Thread Daniel Shane
doc1 (1 field matches all terms) doc2 (2 fields match all terms) doc3 (4 fields match all terms) I'll try out your ideas and let you know how it works out! Daniel Shane - Original Message - From: "Franck Brisbart" To: solr-user@lucene.apache.org Sent: Thursday, January 23,

Interesting search question! How to match documents based on the least number of fields that match all query terms?

2014-01-21 Thread Daniel Shane
terms in the allMetadatas using payloads. Each indexed term would also have the specific metadataN field from which they originate. Then I can write a scorer to score based on these payloads. However, if there is a way to do this without payloads I'm all ears! -- Daniel Shane

Re: Solr highlighter and custom queries?

2010-05-20 Thread Daniel Shane
ucene query instead of just "Query". So I decided to extend a BooleanQuery, which is the closest fit to what mine actually does. This make the highlighting "do something" even though its not perfect. Daniel Shane

Solr highlighter and custom queries?

2010-05-20 Thread Daniel Shane
to find possible matches, it would avoid having to recode the same logic elsewhere. But as I said, there must be a good reason for doing it the way its already coded. Any ideas on how to work this out with the existing code base would be greatly appreciated :) Daniel Shane

Re: Merge several queries into one result?

2010-02-17 Thread Daniel Shane
r. It would certainly require much thought tough as some may want to cross index another core for each hit, while others would just want to retrive a bunch of documents statically. Daniel Shane I'll see what could be done, but I don't think anything easy - Original Message ---

Re: Preventing mass index delete via DataImportHandler full-import

2010-02-17 Thread Daniel Shane
er to override this manually. I think it would be a good safety precaution. Daniel Shane - Original Message - From: "Noble Paul നോബിള്‍ नोब्ळ्" To: solr-user@lucene.apache.org Sent: Wednesday, February 17, 2010 12:36:52 AM Subject: Re: Preventing mass index delete via DataImp

Merge several queries into one result?

2010-02-16 Thread Daniel Shane
n index, but rather in a second one. Is it possible to coalesce or join these results together so that I can pass a simple Velocity template to generate the final HTML? Or do I have to write a webapp in java to cache all these global variables (the state codes, the country codes etc...)? Daniel Shane

Preventing mass index delete via DataImportHandler full-import

2010-02-16 Thread Daniel Shane
some unknown reason, we have an empty database, then the full-import will just wipe the live index and the search will be broken. I don't think its possible, but I'm new to Solr so its quite possible I've overlooked how this could be done. Thanks in advance for any help! Daniel Shane