Sorting by vale of field

2011-06-29 Thread Judioo
Hi Say I have a field type in multiple documents which can be either type:bike type:boat type:car type:van and I want to order a search to give me documents in the following order type:car type:van type:boat type:bike Is there a way I can do this just using the sort method? Thanks

Re: Sorting by vale of field

2011-06-29 Thread Judioo
Thanks, Yes this is the work around I am currently doing. Still wondering is the sort method can be used alone. On 29 June 2011 18:34, Michael Ryan mr...@moreover.com wrote: You could try adding a new int field (like typeSort) that has the desired sort values. So when adding a document

Replication without configs

2011-06-27 Thread Judioo
I have replicated a solr instance without configs as the slave has it's own config. The replication has failed. My plan was to use replication to remove the indexes I no longer wish to use which is why the slave has a different schema.xml file. Does anyone know why the replication has failed?

Do unused indexes after performance?

2011-06-24 Thread Judioo
Hi, As a proof of concept I have imported around ~11 million document in a solr index. my schema file has multiple fields defined dynamicField name=*_idtype=text indexed=true stored=true/ dynamicField name=*_start type=tdate indexed=true stored=true/ dynamicField name=*_end type=tdate

Boost Strangeness

2011-06-18 Thread Judioo
WONDERFUL! Just reporting back. This document is ACE http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters For explaining what the filters are and how to affect the analyzer. Erik your statement First, boosting isn't absolute  played on me so I continued to investigate boosting. I found

Re: Boost Strangeness

2011-06-16 Thread Judioo
as a separate field (note that won't work with a field that's also your uniqueKey). Best Erick On Wed, Jun 15, 2011 at 7:16 AM, Judioo cont...@judioo.com wrote: dynamicField name=*_id type=textindexed=true stored=true/ so all attributes except 'id' are of type text. I didn't know

Boost Strangeness

2011-06-15 Thread Judioo
Hi I'm confused about exactly how boosts relevancy scores work. Apologies if I am violating this groups etiquette but I could not find solr's paste bin anywhere. I have 2 document types but want to return any documents where the requested ID appears. The ID appears in multiple attributes but I

Re: Boost Strangeness

2011-06-15 Thread Judioo
Apologies I have tried that method as well.

Re: Boost Strangeness

2011-06-15 Thread Judioo
dynamicField name=*_id type=textindexed=true stored=true/ so all attributes except 'id' are of type text. I didn't know that about the string type. So is my problem as described ( that partial matches are contributing to the calculation ) and does defining the filed type as string solve

Re: Boost Strangeness

2011-06-15 Thread Judioo
String also does not seem to accept spaces. currently the _id fields can contain multiple ids ( using as a multiType alternative ). This is why I used the text type. On 15 June 2011 12:16, Judioo cont...@judioo.com wrote: dynamicField name=*_id type=textindexed=true stored=true/ so

Pattern: Is there a method of resolving multivalued date ranges into a single document?

2011-06-11 Thread Judioo
Hi All, Question on best methods again :) I have the following type of document. film titleTron/film times time start='2010-09-23T12:00:00Z' end='2010-09-23T1430:00:00Z' theater_id='445632'/ time start='2010-09-23T15:00:00Z' end='2010-09-23T1730:00:00Z' theater_id='445633'/ time

Re: Solr Indexing Patterns

2011-06-09 Thread Judioo
or multi-class data, or data that is entities with relationships. ). On 6/6/2011 3:43 PM, Judioo wrote: I do think that Solr would be better served if there was a *best practice section *of the site. Looking at the majority of emails to this list they resolve around how do I do X?. Seems

Re: Solr Indexing Patterns

2011-06-06 Thread Judioo
in my book document in my discount document. Coming from a RDBM background this seems wrong. Is this the correct approach to take? Best Erick On Sat, Jun 4, 2011 at 1:42 AM, Judioo cont...@judioo.com wrote: Hi, Discounts can change daily. Also there can be a lot of them (over time

Re: Solr Indexing Patterns

2011-06-06 Thread Judioo
, and unfortunately the only way to figure that out is to test. But that's the first approach I'd try. Good luck! Erick On Mon, Jun 6, 2011 at 11:42 AM, Judioo cont...@judioo.com wrote: On 5 June 2011 14:42, Erick Erickson erickerick...@gmail.com wrote: See: http://wiki.apache.org/solr/SchemaXml

Re: Solr Indexing Patterns

2011-06-06 Thread Judioo
of the best method to approach my problem, although Erick has help me understand the limitations of Solr. Just thought I'd say. On 6 June 2011 20:26, Judioo cont...@judioo.com wrote: Thanks On 6 June 2011 19:32, Erick Erickson erickerick...@gmail.com wrote: #Everybody# (including me) who

Solr Indexing Patterns

2011-06-03 Thread Judioo
What is the best practice method to index the following in Solr: I'm attempting to use solr for a book store site. Each book will have a price but on occasions this will be discounted. The discounted price exists for a defined time period but there may be many discount periods. Each discount

Storing, indexing and searching XML documents in Solr

2011-05-18 Thread Judioo
Hi, I'm new to solr so apologies if the solution is already documented. I have installed and populated a solr index using the examples as a template with a version of the data below. I have XML in the form of entity resource guid123898-2092099098982/guid

Re: Storing, indexing and searching XML documents in Solr

2011-05-18 Thread Judioo
The data is being imported directly from mysql. The document is however indeed a good starting place. Thanks 2011/5/18 Yury Kats yuryk...@yahoo.com On 5/18/2011 4:19 PM, Judioo wrote: Any help is greatly appreciated. Pointers to documentation that address my issues is even more helpful

Re: Storing, indexing and searching XML documents in Solr

2011-05-18 Thread Judioo
as is? 2011/5/18 Yury Kats yuryk...@yahoo.com On 5/18/2011 4:19 PM, Judioo wrote: Any help is greatly appreciated. Pointers to documentation that address my issues is even more helpful. I think this would be a good start: http://wiki.apache.org/solr/DataImportHandler#Usage_with_XML.2BAC8