Re: Collection Distirbution in windows

2007-05-03 Thread Maarten . De . Vilder
damn, there goes the platform independance ... is there anybody with a lillte more experience when it comes to collection distribution on Windows ? tnx in advance ! "Bill Au" <[EMAIL PROTECTED]> 02/05/2007 15:09 Please respond to solr-user@lucene.apache.org To solr-user@lucene.apache.org

Look ahead queries

2007-05-03 Thread Ge, Yao \(Y.\)
I am planning to develop look ahead queries with Solr so that as user type query terms a list of related terms is shown in a popup window (similar to Google suggest). It will be a little AJAX type calls to Solr with wildcards. So if user types "fuel", a look ahead query will be sent to solr in form

Using fields to create new queries

2007-05-03 Thread r tompkins
Hello all, I am trying to reuse fields to create new search queries. Let me explain when solr is processing the fields to figure out where to put the doc in the tree, it proccesses the indexable fields and removes the stops words. This stripped down set of keyword is passed to some other functio

Snippet Generation at Punctuation Marks?

2007-05-03 Thread Jack L
Snippet generation use hl.fragsize to determine the size of the snippets. This works very well. However, the snippets often have half of a sentence at the beginning, and half at the end. Is there a parameter I can use to tell the snippet generation code to cut at punctuation marks when possible? -

Re: Snippet Generation at Punctuation Marks?

2007-05-03 Thread Brian Whitman
On May 3, 2007, at 11:39 AM, Jack L wrote: Snippet generation use hl.fragsize to determine the size of the snippets. This works very well. However, the snippets often have half of a sentence at the beginning, and half at the end. Is there a parameter I can use to tell the snippet generation code

Index corruptions?

2007-05-03 Thread Charlie Jackson
I have a couple of questions regarding index corruptions. 1) Has anyone using Solr in a production environment ever experienced an index corruption? If so, how frequently do they occur? 2) It seems like the CollectionDistribution setup would be a good way to put in place a recovery plan fo

Re: Index corruptions?

2007-05-03 Thread Bill Au
In additional to snapshot, you can also make backup copies of your Solr index using the backup script. Backup are created the same way as snapshots using hard links. Each one is a viable full index. Bill On 5/3/07, Charlie Jackson <[EMAIL PROTECTED]> wrote: I have a couple of questions regard

Re: Searchproblem composite words

2007-05-03 Thread Walter Underwood
A agree that multi-word synonyms are an excellent way to do this. This may sound like a hack, but you'd end up doing this even if you had dedicated linguistic compound decomposition software. Those usually use a dictionary of common words and the dictionary rarely has all the words that are import

Re[2]: Snippet Generation at Punctuation Marks?

2007-05-03 Thread Jack L
Thanks. Looking forward to it! > We are working on this and hope to have a solr patch soon. Doing > simple splitting on punctuation is a new fragmenter, which trunk solr > does not support yet. But we're hoping to fix that asap. > -brian

Phrase Query fetch no results - verfiy

2007-05-03 Thread solruser
Hi Everyone, Question on phrase query. Does the phrase query will return only the documents with all terms matched in the document? To better illustrate there is a phrase query say "How do I look for supply". Now the expected result using phrase query after giving valid slop, should return back d

Re: Snippet Generation at Punctuation Marks?

2007-05-03 Thread Mike Klaas
On 5/3/07, Brian Whitman <[EMAIL PROTECTED]> wrote: On May 3, 2007, at 11:39 AM, Jack L wrote: > Snippet generation use hl.fragsize to determine the size > of the snippets. This works very well. However, the snippets > often have half of a sentence at the beginning, and half > at the end. Is ther

Sorting in Solr

2007-05-03 Thread Scott Matthews
I've been attempting to utilize Solr 1.1's sorting feature using the Syntax provided on the wiki [q=; (asc|desc)] but I'm having issues with it. Some fields work some do not and my results seem to suggest that it doesn't work when there are any non-alphaNumeric values in the fields. Can so

Re: Sorting in Solr

2007-05-03 Thread Chris Hostetter
: having issues with it. Some fields work some do not and my results seem : to suggest that it doesn't work when there are any non-alphaNumeric : values in the fields. Can someone out there either confirm this or let : me know what I may be doing wrong? is it a matter of using a different : ana

Re: related multivalued fields

2007-05-03 Thread Chris Hostetter
one appraoch would be to have a single field called "citation" and use a custom Analyzer that will put a "medium" sized gap between a persons name and their organization, and a "large" gap between each person ... so citation:"John ACME"~10 will give you articles by people named John who work for c

Re: Sorting in Solr

2007-05-03 Thread Scott Matthews
Just to be clear, I have multiple fields per document that Are coming back in the queried XML. Let's say it's name, id, date, description. I want to sort dynamically on fields but for my test case on Description. Are you suggesting that there be one field defined per document, or you can only

Re: Sorting in Solr

2007-05-03 Thread Chris Hostetter
: Just to be clear, I have multiple fields per document that Are coming : back in the queried XML. Let's say it's name, id, date, description. I : want to sort dynamically on fields but for my test case on Description. : Are you suggesting that there be one field defined per document, or you : ca

Re: Wondering about results from PhraseQuer

2007-05-03 Thread Chris Hostetter
: the scenario, understand this that user runs a search for title which has : pretty common terms such as "how do I update" {all of the words appears : 1000s of times in indexes } and they want to search "prison" the last term : appears not more than 1 or 2 times across the indexes. Now I have the

Re: Sorting in Solr

2007-05-03 Thread Scott Matthews
Great, thanks. I was hoping the solution you were suggesting was along those lines. Chris Hostetter wrote: : Just to be clear, I have multiple fields per document that Are coming : back in the queried XML. Let's say it's name, id, date, description. I : want to sort dynamically on fields but

Re: Phrase Query fetch no results - verfiy

2007-05-03 Thread Chris Hostetter
: Now the expected result using phrase query after giving valid slop, should : return back document with exact match first and then remaining documents : that match any or few terms in the phrase. Here is the example of terms with : # of occurrences in index is as follows there is no single query

solr.py - set boosts?

2007-05-03 Thread Jack L
I've been using solr.py to post and search. It works well. Is it possible to specify doc boost and field boost with it? Jack Erik> There is a solr.py in the Solr clients directory: Erik> http://svn.apache.org/repos/asf/lucene/solr/trunk/client/python/solr.py Erik> It's got some utility methods fo

Re: facet.sort does not work in python output

2007-05-03 Thread Jack L
The Python output uses nested dictionaries for facet counts. I read it online that Python dictionaries do not preserve order. So when a string is eval()'d, the sorted order is lost in the generated Python object. Is it a good idea to use list to wrap around the dictionary? This is only needed for t

Solr consult in or near Florida?

2007-05-03 Thread Avi Rappoport, SearchTools.com
Hi all, I'm really impressed by Solr and one of my potential consulting customers is considering installing it, using the faceted metadata browse results for their photo site. They're running Windows and MS SQL, and would want someone to help them install and configure Solr for them, in Flor

Re: facet.sort does not work in python output

2007-05-03 Thread Mike Klaas
On 5/3/07, Jack L <[EMAIL PROTECTED]> wrote: The Python output uses nested dictionaries for facet counts. I read it online that Python dictionaries do not preserve order. So when a string is eval()'d, the sorted order is lost in the generated Python object. Is it a good idea to use list to wrap a

Re: solr.py - set boosts?

2007-05-03 Thread Mike Klaas
On 5/3/07, Jack L <[EMAIL PROTECTED]> wrote: I've been using solr.py to post and search. It works well. Is it possible to specify doc boost and field boost with it? Not currently, but there is an improved client in the works which you can try here: http://issues.apache.org/jira/browse/SOLR-216

Re: Look ahead queries

2007-05-03 Thread Mike Klaas
On 5/3/07, Ge, Yao (Y.) <[EMAIL PROTECTED]> wrote: I am planning to develop look ahead queries with Solr so that as user type query terms a list of related terms is shown in a popup window (similar to Google suggest). It will be a little AJAX type calls to Solr with wildcards. So if user types "f

Re: facet.sort does not work in python output

2007-05-03 Thread Erik Hatcher
We resort it in solr-ruby: def field_facets(field) facets = [] values = @data['facet_counts']['facet_fields'][field] Solr::Util.paired_array_each(values) do |key, value| facets << FacetValue.new(key, value) end facets end On May 3, 2007, at 8:10 PM, Mike Klaas wr