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
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
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
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
: 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
: 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,
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
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
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