Re: Snippets of indexed text

2007-03-30 Thread Pierre-Yves LANDRON
hello, thanks for the info ; it's exactly what i need. i can't manage to make it works, though. it's strange because i have the same problem with facets : it seems that some options are not taken in account... for example, here is my request to solr: q=%28%28titre:moulin%29+OR+%28texte:moulin

Re: Snippets of indexed text

2007-03-30 Thread Thierry Collogne
I can't see anything wrong. But perhaps you are looking at the wrong part of the response. It is the same lake with facets. You need to look further down in the xml reponse. Here I asked solr to highlight the field "content" and I used a facer called type. This is a sample of an xml response in o

Re: storing results

2007-03-30 Thread Joan Codina
Thanks for your answers, Yes, its true that with boolen queries things are much easier... +(query1) +(query2) should do an and or (query1) (query2) should do an or and this does not need a special ability to parse the queries I like the dismax approach, I think is interesting but then to

Re: Solr finding doc by one field but not by another

2007-03-30 Thread Theodan
Mike Klaas wrote: > > This is almost certainly due to a mismatch between the index- and > query-time analysis of the fields. For instance, your schema defines > the title field to be "string" (unanalyzed), but it is likely that > some tokenization (perhaps via StandardAnalyzer) occurred in the

Re: Question: how to config memory with SolrPerformanceFactor

2007-03-30 Thread Chris Hostetter
: if we mv index.tmp$$ index,,,is it truly deleted? it's not treuly deleted until no running processes have the file handles open anymore. : if we notify solr open new searcher, solr just redirect to new index,, that will cause Solr to close the existing filehandles and open new ones, so then t

Re: How can you perform a fuzzy search on a phrase without it turning into a word distance search?

2007-03-30 Thread Chris Hostetter
: Is it possible to do this without manually splitting up the title : string I'm searching for into terms and then making a compound query : with each of the terms as a fuzzy? not out of the box ... Lucene has no native concept of a "fuzzy phrase query" ... you would either need to implement one,

Re: Auto index update

2007-03-30 Thread Chris Hostetter
The simplest approach is to poll your DB for changes in a cron, and anytime you find some, format them send them to solr. the specific details of the "best" way to keep and index up to date depend largely on the nature of your data. : Can anybody suggest me of what is the best method to implemen

Re: Auto index update

2007-03-30 Thread Ken Krugler
Can anybody suggest me of what is the best method to implement auto index update on SOLR from mysql database. As Hoss noted, there are a lot of different approaches. You could search this email list archive for the discussion re using Solr with Compass (subject "Does Solr support integration w

mainIndex and indexDefaults

2007-03-30 Thread Koji Sekiguchi
Hello, This is a trivial question, but I'm curious about mainIndex and indexDefaults in solrconfig.xml. They imply that I can have a second index other than mainIndex. But SolrConfig instantiates a mainIndex statically. Are there any plan to improve around index setting in the future? Thanks in a