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
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
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?
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
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
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
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
Apologies
I have tried that method as well.
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
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
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
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
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
, 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
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
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
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
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
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
19 matches
Mail list logo