Solr replication and spellcheck data

2009-07-28 Thread Ian Sugar
Hi

I would like to make use of the "new" replication mechanism [1] to set up a
master-slaves configuration, but from quick reading and searching around, I
can't seem to find a way to replicate the spelling index in addition to the
main search index. (We use the spellcheck component)

Is there a way to do it, or would we have to go the cron/script/rsync way
[2]?

Any pointers appreciated. I probably missed something!

Ian

[1] http://wiki.apache.org/solr/SolrReplication
[2] http://wiki.apache.org/solr/CollectionDistribution


Re: dismax query syntax to replace standard query

2009-12-03 Thread Ian Sugar
I believe you need to use the fq parameter with dismax (not to be confused
with qf) to add a "filter query" in addition to the q parameter.

So your text search value goes in q parameter (which searches on the fields
you configure) and the rest of the query goes in the fq.

Would that work?

On Thu, Dec 3, 2009 at 7:28 PM, javaxmlsoapdev  wrote:

>
> I have configured dismax handler to search against both "title" &
> "description" fields now I have some other attributes on the page e.g.
> "status", "name" etc. On the search page I have three fields for user to
> input search values
>
> 1)Free text search field (which searchs against both "title" &
> "description")
> 2)Status (multi select dropdown)
> 3)name(single select dropdown)
>
> I want to form query like textField1:value AND status:(Male OR Female) AND
> name:"abc". I know first (textField1:value searchs against both "title" &
> "description" as that's how I have configured dixmax in the configuration)
> but not sure how I can AND other attributes (in my case "status" & "name")
>
> note; standadquery looks like following (w/o using dixmax handler)
> title:"test"description:"test"name:"Joe"statusName:(Male OR Female)
> --
> View this message in context:
> http://old.nabble.com/dismax-query-syntax-to-replace-standard-query-tp26631725p26631725.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
>


Multi-valued dynamic fields in schema.xml

2009-02-09 Thread Ian Sugar
Hi

I'd like to use multi-valued dynamic fields.

Example:

   



Seems to work fine so far, but it doesn't seem to be described in the wiki
here http://wiki.apache.org/solr/SchemaXml

Just wanted to check if it's a known and deliberate feature and if anyone
knows of any issues with using it?

Thanks!

Ian