RE: facet sorting by index on sint fields

2009-08-04 Thread Simon Stanlake
ct of this change, or why it is not like this by default I'd be very interested to hear. Thanks, Simon -Original Message----- From: Simon Stanlake [mailto:sim...@tradebytes.com] Sent: Thursday, July 30, 2009 7:28 PM To: 'solr-user@lucene.apache.org' Subject: facet sorting by in

RE: facet sorting by index on sint fields

2009-08-04 Thread Simon Stanlake
Oh boy - I had a problem with my deploy scripts that was keeping an old version of the schema.xml file around. SortableIntField is working fine for me now. Sorry to waste everyone's time and thanks for the responses. Simon -Original Message- From: ysee...@gmail.com [mailto

Advantages of different Servlet Containers

2009-10-02 Thread Simon Wistow
up in the background and then tail the output waiting for the line that says the SocketConnector has been started while [ '' = "$(tail -1 $LOG | grep 'Started SocketConnector')" ] ; do sleep 1 done There's *got* to be a better way of doing this, right? Thanks, Simon

'Down' boosting shorter docs

2009-10-14 Thread Simon Wistow
lighted fields plus the short document with only the query in the title which is progress in that it's almost exactly the opposite of what I want. Any suggestions? Am I going to need to reindex and add the length in bytes or characters of the document? Simon

Index Corruption (possibly during commit)

2009-10-19 Thread Simon Wistow
d back fill but really we'd love to know what caused this so we can avoid a repetition. Simon

Issues with SolrJ and IndexReader reopening

2009-10-29 Thread Simon Wistow
We've been trying to build an indexing pipeline using SolrJ but we've run into a couple of issues - namely that IndexReaders don't seem to get reopened after a commit(). After an index or delete the change doesn't show up until I restart solr. I've tried commit() and commit(true, true) just to

Re: Issues with SolrJ and IndexReader reopening

2009-11-04 Thread Simon Wistow
ourceLoader().getInstanceDir()); dcore.setConfigName(solrConfig.getResourceName()); dcore.setSchemaName(indexSchema.getResourceName()); core = new SolrCore(null, DATA_PATH, solrConfig, indexSchema, dcore); container.register("", core, false); server = new EmbeddedSolrServer(container, ""); Thanks, Simon

Oddness with Phrase Query

2009-11-09 Thread Simon Wistow
;t get the document at all. Which is not what I'd suspect. I've tried modifying the phrase slop but still don't get any results back. Am I doing something wrong - do I have to have an untokenized copy of fields lying around? Thanks, Simon

Re: Oddness with Phrase Query

2009-11-17 Thread Simon Wistow
On Tue, Nov 17, 2009 at 11:09:38AM -0800, Chris Hostetter said: > > Several things about your message don't make sense... Hmm, sorry - a byproduct of building up the mail over time I think. The query ?q="Here there be dragons" &fl=id,title,score &debugQuery=on &qt=dismax &qf=title gets echoed

Re: Oddness with Phrase Query

2009-11-23 Thread Simon Wistow
ut I'm worried about that effecting relevancy elsewhere (which I presume is the reason why it's not the default value). If that's the case - is it worth writing something for my app so that if it detects a phrase query with lots of stop words it ups the phrase slop? Either way it seems to be working now - thanks for all the help, Simon

Oddly slow replication

2009-12-07 Thread Simon Wistow
I have a Master server with two Slaves populated via Solr 1.4 native replication. Slave1 syncs at a respectable speed i.e around 100MB/s but Slave2 runs much, much slower - the peak I've seen is 56KB/s. Both are running off the same hardware with the same config - compression is set to 'intern

How to boost the score higher in case user query matches entire field value than just some words within a field

2008-08-20 Thread Simon Hu
all three documents. So how can I make Doc1 score higher than the other two? BTW, I am using solr1.2. thanks! -Simon -- View this message in context: http://www.nabble.com/How-to-boost-the-score-higher-in-case-user-query-matches-entire-field-value-than-just-some-words-within-a-field-tp1907922

Re: How to boost the score higher in case user query matches entire field value than just some words within a field

2008-08-21 Thread Simon Hu
I am definitely interested in trying your Similarity class. Can you please post the patch in jira? thanks -Simon Sean Timm wrote: > > In the example below, Doc1, and Doc2 will all have the same score for > the query "chevrolet tahoe." We would prefer Doc2 to score

Re: Question about facet.prefix usage

2008-09-29 Thread Simon Hu
I also need the exact same feature. I was not able to find an easy solution and ended up modifying class SimpleFacets to make it accept an array of facet prefixes per field. If you are interested, I can email you the modified SimpleFacets.java. -Simon steve berry-2 wrote: > > > Que

Re: Question about facet.prefix usage

2008-09-30 Thread Simon Hu
not really. facet.query filters the result set. Here we need to filter the facet counts by multiple facet prefixes. facet.query would work only if the faceted field is not a multi-value field. Erik Hatcher wrote: > > If I'm not mistaken, doesn't facet.query accomplish what you want? > >

Re: Question about facet.prefix usage

2008-10-01 Thread Simon Hu
t filter the result set at all. > It provides a count for how many documents in the current result set > (determined by q/fq parameters, oh, and bq sometimes too, doh! :) > match that query. > > Erik > > > > On Sep 30, 2008, at 9:42 PM, Simon Hu wrote

timeouts

2008-10-24 Thread Simon Collins
If anyone has any suggestions/needs more info, i'd be extremely grateful. Thanks Simon ---- Simon Collins Systems Analyst Telephone: 01904 606 867 Fax Number: 01904 528 791 shoe-shop.com ltd Catherine House Northminster Business Park

RE: timeouts

2008-10-26 Thread Simon Collins
o turn on specific logging anywhere? I might just bite the bullet and shift them onto different boxes ---- Simon Collins Systems Analyst Telephone: 01904 606 867 Fax Number: 01904 528 791 shoe-shop.com ltd Catherine House Northminster Busin

replication handler - compression

2008-10-27 Thread Simon Collins
f not! simon This message has been scanned for malware by SurfControl plc. www.surfcontrol.com

RE: replication handler - compression

2008-10-29 Thread Simon Collins
sites. ---- Simon Collins Systems Analyst Telephone: 01904 606 867 Fax Number: 01904 528 791 shoe-shop.com ltd Catherine House Northminster Business Park Upper Poppleton, YORK YO26 6QU www.shoe-shop.com This message (an

ndis push search results to top

2008-11-05 Thread Simon Collins
items to the top. There is a popularity field in my schema, how do i instruct the search query to boost results based on that field, or is it something I can change in the schema. Cheers Simon This message has been scanned for malware by SurfControl plc. www.surfcontrol.com

Is there a DTD/XSD for XML response?

2008-11-18 Thread Simon Hu
Hi, I assume there is a schema definition or DTD for XML response but could not find it anywhere. Is there one? thanks -Simon -- View this message in context: http://www.nabble.com/Is-there-a-DTD-XSD-for-XML-response--tp20565773p20565773.html Sent from the Solr - User mailing list

understanding facets and tokens

2009-04-29 Thread Simon Stanlake
stom field translation before loading but was hoping I could leverage some of the great filters that are built in with solr / lucene. I've played around with fieldcache but so far no luck. BTW love solr / lucene, great job! Thanks, Simon

RE: understanding facets and tokens

2009-05-01 Thread Simon Stanlake
OS. I will try turning it down to 16G and see if that makes a difference, though I suspect that the improvements in the latest solr build will help significantly. Thanks, Simon -Original Message- From: Otis Gospodnetic [mailto:otis_gospodne...@yahoo.com] Sent: Thursday, April 30, 2009 8

Problems with spellchecker

2010-01-20 Thread Simon Wistow
rror again. My source index is 58Gb. Any ideas? Simon

Re: Find newly added documents

2010-01-23 Thread Simon Rosenthal
"newly added" is a bit vague. Do you mean "since last Sunday" ? "between the last and the one before that" ? Also, do you need to distinguish between updated and newly added documents ? Perhaps you could be more specific about the use case. -Simon On Fri, Jan 22,

Slow QueryComponent.process() when queries have numbers in them

2010-02-03 Thread Simon Wistow
According to my logs org.apache.solr.handler.component.QueryComponent.process() takes a significant amount of time (>5s but I've seen up to 15s) when a query has an odd pattern of numbers in e.g "neodymium megagauss-oersteds (MGOe) (1 MG·Oe = 7,958·10³ T·A/m = 7,958 kJ/m³" "myers 8e psycholo

Re: Slow QueryComponent.process() when queries have numbers in them

2010-02-05 Thread Simon Wistow
On Wed, Feb 03, 2010 at 07:38:13PM -0800, Lance Norskog said: > The debugQuery parameter shows you how the query is parsed into a tree > of Lucene query objects. Well, that's kind of what I'm asking - I know how the query is being parsed: myers 8e psychology chapter 9 myers 8e psychology chapte

Re: unloading a solr core doesn't free any memory

2010-02-08 Thread Simon Rosenthal
What Garbage Collection parameters is the JVM using ? the memory will not always be freed immediately after an event like unloading a core or starting a new searcher. 2010/2/8 Tim Terlegård > To me it doesn't look like unloading a Solr Core frees the memory that > the core has used. Is this ho

Re: HttpDataSource consume REST API with Authentication required

2010-03-04 Thread Simon Rosenthal
http://issues.apache.org/jira/browse/SOLR-1490 has a patch which will do what you want -Simon On Thu, Mar 4, 2010 at 2:21 PM, javaxmlsoapdev wrote: > > I have to use > > http://wiki.apache.org/solr/DataImportHandler#Usage_with_XML.2BAC8-HTTP_Datasource > HttpDataSource to ask

Getting the character offset from highlighted fragments

2010-04-21 Thread Simon Wistow
s) but before I start writing patches ... - I'm a duplicating exisiting work - Am I missing some reason why this is a dumb idea - Is this desirable (or, to be more succinct, if I write a patch, is it likely to be accepted?) Thanks, Simon

Re: Getting the character offset from highlighted fragments

2010-04-22 Thread Simon Wistow
On Thu, Apr 22, 2010 at 02:15:08AM +0100, me said: > It looks like org.apache.lucene.search.highlight.TextFragment has the > right information to do this (i.e textStartPos) Turns out that it doesn't seem to have the right information in that textStartPos always seems to be 0 (and textEndPos just

Sort by membership of range query

2010-04-27 Thread Simon Droscher
Hi. I'm trying to figure out how to do a particular sort in Solr (1.3). I have an index for a product which includes a startDate field and an endDate field. In the UI we define a product as "active" if the current date is within the startDate, endDate range. Now we can filter search results to

Re: Weird memory error.

2007-11-20 Thread Simon Willnauer
I'm using the Eclipse TPTP platfrom and I'm very happy with it. You will also find good howto or tutorial pages on the web. - simon On Nov 20, 2007 5:29 PM, Brian Carmalt <[EMAIL PROTECTED]> wrote: > Can you recommend one? I am not familar with how to profile under Jav

Re: Weird memory error.

2007-11-21 Thread Simon Willnauer
with memory. Try to figure out what is taking so much time during the batch process on the server. simon On Nov 20, 2007 5:16 PM, Brian Carmalt <[EMAIL PROTECTED]> wrote: > Hello all, > > I started looking into the scalability of solr, and have started getting > weird results.

Re: Indexing a word in url

2008-04-02 Thread Simon Rosenthal
LR for indexing. -Simon On Tue, Apr 1, 2008 at 7:24 PM, Chris Hostetter <[EMAIL PROTECTED]> wrote: > > : Actually I want to use anything that is not alphabet or digit to be the > : separator - anything between them will be a word (so that I can use the > URL > : fragment to see wh

Solr in production env.

2006-09-11 Thread Simon Willnauer
it in production? I would be glad about some experience and recommendations about this topic. best regards Simon

Re: does solr know classpath

2006-09-16 Thread Simon Willnauer
/solrwebapp/WEB-INF/lib to point out one solution best regards simon On 9/16/06, James liu <[EMAIL PROTECTED]> wrote: i set classpath where i put lucene-analyzers-2.0.0.jar...i can use it. but solr not find it.. where i should put it in?

Re: update partial document

2006-09-18 Thread Simon Willnauer
ne is not a database! best regards simon On 9/18/06, Brian Lucas <[EMAIL PROTECTED]> wrote: Hi, I wanted to inquire if anybody would find an update flag useful that only replaced the subset of data (ie a certain field) getting passed in, instead of the whole record. Pseudo-code f

Re: Extending Solr's Admin functionality

2006-09-24 Thread Simon Willnauer
riendly as a hand made http frontend would be but I a search server admin / manage frontend exposed to people without any background?! I would also be happy to contribute my experience with JMX to the project. best regards Simon

Re: Extending Solr's Admin functionality

2006-09-27 Thread Simon Willnauer
e: > On the other hand, some people I talked to also expressed interest in JMX, so I'd encourage Simon to make that contribution. I'm also interested in JMX. It has different adapters, including an HTTP one AFAIK, but I don't know how easy it is to use. The application should

Re: Extending Solr's Admin functionality

2006-09-27 Thread Simon Willnauer
others. (http://mx4j.sourceforge.net) best regards simon On 9/27/06, Erik Hatcher <[EMAIL PROTECTED]> wrote: Ah, so I'm beginning to get it. If we build Solr with JMX support, the admin HTTP/XML(err, Ruby) interface could be written into the JMX HTTP adapter as a separate web appli

sorting by matched field, then title alpha

2007-04-20 Thread Simon Kahl
default scoring Perhaps I will have to do this clientside (ie. do multiple searches and concatenate results), but I'm hoping there is some way I can do this in a single search. Thanks, Simon

Re: sorting by matched field, then title alpha

2007-04-30 Thread Simon Kahl
by the secondary sort on field X. Think I will have to modify o.a.s.s.QueryParsing.parseSort to hook in custom sort. Is there any better way? Kind Regards, Simon

Solr edismax multi-word match issue

2018-09-20 Thread Simon Bloch
ot;:"+((name_c:vietnam)^10.0 | (ancestor_name:viet nam)^1.25 | (name:viet nam)^1.0) #### I would really appreciate any support or debugging advice in this matter! -Simon Bloch

Re: SolrClient from inside processAdd function

2019-09-04 Thread Simon Rosenthal
Similarly, I had considered a URP which would call the Solr Tagger to add new metadata fields for indexing to incoming documents (and recall discussing this with David Smiley), but eventually decided against this approach on the grounds of complexity. -Simon On Wed, Sep 4, 2019 at 2:10 PM

Re: Solr Text Tagger | All tags in desc order

2019-10-04 Thread Simon Rosenthal
m the returned JSON. HTH -Simon On Fri, Oct 4, 2019 at 5:41 AM Vipul Sharma wrote: > Hi All, > > After putting all the master data in Solr Text Tagger, I want to parse > resume text to fetch the top five skills based on there score is there any > way to fetch the result in descending order? >

MultiValue dynamicField and copyField

2010-07-14 Thread Jan Simon Winkelmann
Hi everyone, i was wondering if the following was possible somehow: As in: using copyField to copy a multiValued field into another multiValued field. Cheers, Jan

AW: MultiValue dynamicField and copyField

2010-07-14 Thread Jan Simon Winkelmann
I figured out where the problem was. The destination wildcard was actually matching the wrong field. I changed the fieldnames around a bit and now everything works fine. Thanks! > -Ursprüngliche Nachricht- > Von: kenf_nc [mailto:ken.fos...@realestate.com] > Gesendet: Mittwoch, 14. Juli 2

MultiCore config less stable than SingleCore?

2010-12-07 Thread Jan Simon Winkelmann
Hi, i have recently moved Solr at one of our customers to a MultiCore environment running 2 indexes. Since then, we seem to be having problems with locks not being removed properly, .lock files keep sticking around in the index directory. Hence, any updates to the index keep returning 500 erro

Solr Newbie: Starting embedded server with multicore

2011-04-26 Thread Simon, Richard T
I'm just starting with Solr. I'm using Solr 3.1.0, and I want to use EmbeddedSolrServer with a multicore setup, even though I currently have only one core (various documents I read suggest starting that way even if you have one core, to get the better administrative tools supported by mutlicore

getFieldValue always returns an ArrayList?

2011-06-15 Thread Simon, Richard T
Hi - I am examining a SolrDocument I retrieved through a query. The field I am looking at is declared this way in my schema: I know multivalued defaults to false, but I set it explicitly because I'm seeing some unexpected behavior. I retrieve the value of the field like so: final String resou

RE: getFieldValue always returns an ArrayList?

2011-06-15 Thread Simon, Richard T
might happen if part of your index has that field as a multi-valued field If that't not the problem, what version of solr are you using? I presume this is SolrJ? Best Erick On Wed, Jun 15, 2011 at 2:21 PM, Simon, Richard T wrote: > Hi - I am examining a SolrDocument I retrieved through

RE: getFieldValue always returns an ArrayList?

2011-06-16 Thread Simon, Richard T
ure you didn't have some leftover cruft where your field was multi-valued from previous experiments, but if you're reindexing each time that's not the problem. Arrrh, camel case may be striking again. Try multiValued, not multivalued If that's still not it, can we see th

RE: getFieldValue always returns an ArrayList?

2011-06-16 Thread Simon, Richard T
of String. ### Field asserted_type_label is an instance of String. ### Field provider_uri is an instance of String. ### Field provider_label is an instance of String. -Rich -Original Message----- From: Simon, Richard T Sent: Thursday, June 16, 2011 10:08 AM To: solr-user@lucene.

RE: getFieldValue always returns an ArrayList?

2011-06-16 Thread Simon, Richard T
ued="false". -Rich -Original Message- From: Chris Hostetter [mailto:hossman_luc...@fucit.org] Sent: Thursday, June 16, 2011 2:18 PM To: solr-user@lucene.apache.org Cc: Simon, Richard T Subject: RE: getFieldValue always returns an ArrayList? : and all of a sudden I get S

RE: getFieldValue always returns an ArrayList?

2011-06-16 Thread Simon, Richard T
Ah! That was the problem. The version was 1.0. I'll change it to 1.2. Thanks! -Rich -Original Message- From: Chris Hostetter [mailto:hossman_luc...@fucit.org] Sent: Thursday, June 16, 2011 2:33 PM To: Simon, Richard T Cc: solr-user@lucene.apache.org Subject: RE: getFieldValue a

Highlighting map use unique key field?

2011-06-20 Thread Simon, Richard T
Hi - A simple yes or no question, I think. I want to retrieve highlighting result from a QueryResponse. I know to use the following: Map>> highlighting = resp.getHighlighting(); Most of the examples I've seen use the document uid to extract the results like so: String key = resultDec.getFi

Building a facet query in SolrJ

2011-08-10 Thread Simon, Richard T
Hi - I'm trying to do a (I think) simple facet query, but I'm not getting the results I expect. I have a field, MyField, and I want to get facets for specific values of that field. That is, I want a FacetField if MyField is "ABC", "DEF", etc. (a specific list of values), but not if MyField is an

RE: Building a facet query in SolrJ

2011-08-10 Thread Simon, Richard T
Oops. I think I found it. My desiredFieldValues list has the wrong info. Knew there was something simple wrong. From: Simon, Richard T Sent: Wednesday, August 10, 2011 10:55 AM To: solr-user@lucene.apache.org Cc: Simon, Richard T Subject: Building a facet query in SolrJ Hi - I'm trying to

RE: Building a facet query in SolrJ

2011-08-10 Thread Simon, Richard T
I get facets for ALL the values of MyField, not just the ones in the facet queries. Can anyone help here? Thanks. From: Simon, Richard T Sent: Wednesday, August 10, 2011 11:07 AM To: Simon, Richard T; solr-user@lucene.apache.org Subject: RE: Building a facet query in SolrJ Oops. I think I fo

RE: Building a facet query in SolrJ

2011-08-10 Thread Simon, Richard T
acetField) where you'd get the values of each URI facet query in that list anyway. Erik On Aug 10, 2011, at 13:42 , Simon, Richard T wrote: > I take it back. I didn't find it. I corrected my values and the facet queries > still don't find what I want. > > The va

RE: Building a facet query in SolrJ

2011-08-11 Thread Simon, Richard T
Thanks! I actually found a page on line that explained this. -Rich -Original Message- From: Chris Hostetter [mailto:hossman_luc...@fucit.org] Sent: Wednesday, August 10, 2011 4:01 PM To: solr-user@lucene.apache.org Cc: Simon, Richard T Subject: RE: Building a facet query in SolrJ

Dynamically changing the stored-state of a dynamicField

2009-12-17 Thread Jan-Simon Winkelmann
ly, I only need a single field for each dataset tob e stored. Is there a way to parameterize the stored parameter on a per-field basis or do I have to add a second dynamicField like below to allow that? Thanks in advance! Jan-Simon Winkelmann

Searching for empty fields possible?

2010-01-25 Thread Jan-Simon Winkelmann
Hi there, i have a field defined in my schema as follows: Valid values for the fields are (in theory) any unsigned integer value. Also the field can be empty. My problem is, that if I have (puid:[0 TO *] OR -puid:[* TO *]) as filter query i get 0 results, without the "-puid:[* TO *])" part i g

AW: Searching for empty fields possible?

2010-01-25 Thread Jan-Simon Winkelmann
7;s relevant just yet. What bugs me is that if I add the -puid:[* TO *], all results for puid:[0 TO *] disappear, even though I am using "OR". Best, Jan > On Jan 25, 2010, at 7:02 AM, Jan-Simon Winkelmann wrote: > > Hi there, > > > > i have a field defined

AW: AW: Searching for empty fields possible?

2010-01-26 Thread Jan-Simon Winkelmann
>> I'm not sure, theoretically fields with a null value >> (php-side) should end >> up not having the field. But then again i don't think it's >> relevant just >> yet. What bugs me is that if I add the -puid:[* TO *], all >> results for >> puid:[0 TO *] disappear, even though I am using "OR". > >-

Solr not starting JMX

2010-02-04 Thread Jan-Simon Winkelmann
in advance Jan-Simon Winkelmann

AW: Solr not starting JMX

2010-02-05 Thread Jan Simon Winkelmann
: My parameters look like this (running the Solr example): : : java -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=6060 : -Dcom.sun.management.jmxremote.authenticate=false : -Dcom.sun.management.jmxremote.ssl=false -jar start.jar What implementation/version of java are you run

Solr-JMX/Jetty agentId

2010-02-10 Thread Jan Simon Winkelmann
, but the MBeans simply don't show up in JConsole, so I would like to use . But where do I get the agentId? And what exactly does this Id represent? Does it change every time I restart Jetty? Thanks in advance! Jan-Simon Winkelmann

AW: Solr-JMX/Jetty agentId

2010-02-10 Thread Jan Simon Winkelmann
2010/2/10 Jan Simon Winkelmann : > I am (still) trying to get JMX to work. I have finally managed to get a Jetty > installation running with the right parameters to enable JMX. Now the next > problem appeared. I need to get Solr to register ist MBeans with the Jetty > MBeanS

xml error when indexing

2010-02-17 Thread Jan Simon Winkelmann
Hi, I'm having a strange problem when indexing data through our application. Whenever I post something to the update resource, I get Unexpected character 'a' (code 97) in prolog; expected '<' at [row,col {unknown-source}]: [1,1], Error 400 Unexpected character 'a' (code 97) in prolog; expec

Strange search behavior

2010-02-24 Thread Jan Simon Winkelmann
Hi, I'm having some problems understanding why certain search queries don't return any results. I have a field of type "text", which is defined like this:

copyField for dynamicFields

2010-04-27 Thread Jan Simon Winkelmann
Best, Jan-Simon Winkelmann

AW: copyField for dynamicFields

2010-04-27 Thread Jan Simon Winkelmann
Hi, thanks very much for that. I was actually worried I would have to restructure the index and the interface in our application. regards, Jan-Simon > -Ursprüngliche Nachricht- > Von: Naga Darbha [mailto:ndar...@opentext.com] > Gesendet: Dienstag, 27. April 2010 12:16 > A

Slow Date-Range Queries

2010-04-29 Thread Jan Simon Winkelmann
O *]))) I use the empty checks for datasets which do not have a valid from/till range. Is there any way to get this any faster? Would it be faster using unix-timestamps with int fields? I would appreciate any insight and help on this. regards, Jan-Simon

AW: Slow Date-Range Queries

2010-04-29 Thread Jan Simon Winkelmann
be for a few seconds, but occasional response times of more than a second is still unacceptable for us. We need a solution that responds quickly ALL the time, not just most of the time. Thanks for your ideas though :) regards, Jan-Simon

AW: Slow Date-Range Queries

2010-04-30 Thread Jan Simon Winkelmann
For now I need them, I will however most likely (as suggested by Ahmet Arslan), create another boolean field to get rid of them, just simply due to the fact that I am switching to Solr 1.4 frange queries. On the topic of frange queries, is there a way to simulate the date range wildcards here?

How do I best store and retrieve ISO country codes?

2007-08-24 Thread Simon Peter Nicholls
Hi all, I've just noticed that for ISO 2 character country codes such as "BE" and "IT", my queries are not working as expected. The field is being stored as country_t, dynamically from acts_as_solr v0.9, as follows (from schema.xml): The thing that sprang to my mind was that BE and IT a

Re: How do I best store and retrieve ISO country codes?

2007-08-24 Thread Simon Peter Nicholls
Thanks Yonik! Cheers for the extra advice too. On 24 Aug 2007, at 17:14, Yonik Seeley wrote: On 8/24/07, Simon Peter Nicholls <[EMAIL PROTECTED]> wrote: I've just noticed that for ISO 2 character country codes such as "BE" and "IT", my queries are not working a

Re: acts_as_solr

2006-09-17 Thread Simon Peter Nicholls
_as_solr is looking good, thanks! Simon >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> I think Ruby is very fertile ground for Solr to pick up users/develop

Re: acts_as_solr

2006-09-18 Thread Simon Peter Nicholls
Procs, to using Solr (or even Ferret) as a local test engine if query *absolutely* needs testing. Solr interface seems simple enough that mocking return values is fine though. Any thoughts? Simon On 17 Sep 2006, at 17:29, Simon Peter Nicholls wrote: I had a play around with acts_as_solr tod

<    1   2   3