RE: Workaround needed to sort on Multivalued fields indexed in SOLR

2012-05-17 Thread Bob Sandiford
in your multivalued field) Bob Sandiford | Lead Software Engineer | SirsiDynix P: 800.288.8020 X6943 | bob.sandif...@sirsidynix.com www.sirsidynix.com   Join the conversation: Like us on Facebook! Follow us on Twitter! -Original Message- From: Anupam Bhattacharya [mailto:anupam...@gmail.com

RE: Does Solr fit my needs?

2012-04-27 Thread Bob Sandiford
you retrieve that field ONLY when you really want it... Now - if your XML files are relatively static (i.e. only change rarely, or only have new ones) then it still might make sense to use a real DB to store those, and just keep the primary key to the DB row in the Solr index. Bob Sandiford

RE: UTF-8 encoding

2012-03-29 Thread Bob Sandiford
Hi, Henri. Make sure that the container in which you are running Solr is also set for UTF-8. For example, in Tomcat, in the server.xml file, your Connector definitions should include: URIEncoding=UTF-8 Bob Sandiford | Lead Software Engineer | SirsiDynix P: 800.288.8020 X6943

RE: Best Solr escaping?

2011-09-26 Thread Bob Sandiford
* @return - escaped Search value, suitable for a Solr q parameter */ public static String escapeSolrCharacters(String value) { return StringUtils.replaceEach(value, SOLR_SPECIAL_CHARACTERS, SOLR_REPLACEMENT_CHARACTERS); } Bob Sandiford | Lead Software Engineer

RE: select query does not find indexed pdf document

2011-09-12 Thread Bob Sandiford
Um - looks like you specified your id value as pdfy, which is reflected in the results from the *:* query, but your id query is searching for vpn, hence no matches... What does this query yield? http://www/SearchApp/select/?q=id:pdfy Bob Sandiford | Lead Software Engineer | SirsiDynix P

RE: select query does not find indexed pdf document

2011-09-12 Thread Bob Sandiford
for. Part of the drawback of Solr / Lucene - especially for new folks - is its configurability to achieve the results you business case calls for. :) Anyone got anything else to suggest for Michael? Bob Sandiford | Lead Software Engineer | SirsiDynix P: 800.288.8020 X6943 | bob.sandif

RE: Sentence aware Highlighter

2011-09-06 Thread Bob Sandiford
) of a matching mv instance within your document? I.E. put the 'overhead' into the index step, rather than trying to do it at search time? Bob Sandiford | Lead Software Engineer | SirsiDynix P: 800.288.8020 X6943 | bob.sandif...@sirsidynix.com www.sirsidynix.com -Original Message- From

RE: performance crossover between single index and sharding

2011-08-04 Thread Bob Sandiford
Dumb question time - you are using a 64 bit Java, and not a 32 bit Java? Bob Sandiford | Lead Software Engineer | SirsiDynix P: 800.288.8020 X6943 | bob.sandif...@sirsidynix.com www.sirsidynix.com -Original Message- From: Bernd Fehling [mailto:bernd.fehl...@uni-bielefeld.de] Sent

RE: previous and next rows of current record

2011-07-21 Thread Bob Sandiford
Well, it sort of depends on what you mean by the 'previous' and the 'next' record. Do you have some type of sequencing built into your concept of your solr / lucene indexes? Do you have sequential id's? i.e. What's the use case, and what's the data available to support your use case? Bob

RE: previous and next rows of current record

2011-07-21 Thread Bob Sandiford
the next record? Bob Sandiford | Lead Software Engineer | SirsiDynix P: 800.288.8020 X6943 | bob.sandif...@sirsidynix.com www.sirsidynix.com -Original Message- From: Jonty Rhods [mailto:jonty.rh...@gmail.com] Sent: Thursday, July 21, 2011 2:33 PM To: solr-user@lucene.apache.org Subject

RE: Restricting the Solr Posting List (retrieved set)

2011-07-11 Thread Bob Sandiford
get the most recent ones coming back first...) Bob Sandiford | Lead Software Engineer | SirsiDynix P: 800.288.8020 X6943 | bob.sandif...@sirsidynix.com www.sirsidynix.com -Original Message- From: Ahmet Arslan [mailto:iori...@yahoo.com] Sent: Monday, July 11, 2011 7:43 AM To: solr

RE: updating existing data in index vs inserting new data in index

2011-07-07 Thread Bob Sandiford
the update. Otherwise, there's nothing for Solr to recognize as a duplicate entry, and do a 'delete' and 'insert' instead of just an 'insert'. Bob Sandiford | Lead Software Engineer | SirsiDynix P: 800.288.8020 X6943 | bob.sandif...@sirsidynix.com www.sirsidynix.com -Original Message- From

RE: updating existing data in index vs inserting new data in index

2011-07-07 Thread Bob Sandiford
in query results...) Bob Sandiford | Lead Software Engineer | SirsiDynix P: 800.288.8020 X6943 | bob.sandif...@sirsidynix.com www.sirsidynix.com -Original Message- From: Mark juszczec [mailto:mark.juszc...@gmail.com] Sent: Thursday, July 07, 2011 10:04 AM To: solr-user

Solr just 'hangs' under load test - ideas?

2011-06-29 Thread Bob Sandiford
wants specifics... Bob Sandiford | Lead Software Engineer | SirsiDynix P: 800.288.8020 X6943 | bob.sandif...@sirsidynix.com www.sirsidynix.comhttp://www.sirsidynix.com/

RE: Solr just 'hangs' under load test - ideas?

2011-06-29 Thread Bob Sandiford
have said - this listserv is great!) Bob Sandiford | Lead Software Engineer | SirsiDynix P: 800.288.8020 X6943 | bob.sandif...@sirsidynix.com www.sirsidynix.com -Original Message- From: ysee...@gmail.com [mailto:ysee...@gmail.com] On Behalf Of Yonik Seeley Sent: Wednesday, June 29, 2011

RE: MultiValued facet behavior question

2011-06-22 Thread Bob Sandiford
, didn't test :) As I say, it's a very special case for us, and this is in no way intended to be a general solution or fit for 'prime time' submission as a Solr enhancement. Bob Sandiford | Lead Software Engineer | SirsiDynix P: 800.288.8020 X6943 | bob.sandif...@sirsidynix.com www.sirsidynix.com

RE: difficult sort

2011-06-17 Thread Bob Sandiford
with their counts, and when the users select one, then we issue a new query to return all documents with that author facet value. Bob Sandiford | Lead Software Engineer | SirsiDynix P: 800.288.8020 X6943 | bob.sandif...@sirsidynix.com www.sirsidynix.com -Original Message- From: lee carroll

RE: Copying few field using copyField to non multiValued field

2011-06-15 Thread Bob Sandiford
Omri - you need to indicate to Solr that your at_location field can accept multiple values. Add this to the field declaration: multiValued=true See this reference for more information / options: http://wiki.apache.org/solr/SchemaXml Bob Sandiford | Lead Software Engineer

RE: Copying few field using copyField to non multiValued field

2011-06-15 Thread Bob Sandiford
Oops - sorry - missed that... Well, the multiValued setting is explicitly to allow multiple values. So - what's your actual use case - i.e. why do you want multiple values in a field, but not want it to be multiValued? What's the problem you're trying to solve here? Bob Sandiford | Lead

RE: Text field case sensitivity problem

2011-06-14 Thread Bob Sandiford
Unfortunately, wild card search terms don't get processed by the analyzers. One suggestion that's fairly common is to make sure you lower case your wild card search terms yourself before issuing the query. Bob Sandiford | Lead Software Engineer | SirsiDynix P: 800.288.8020 X6943 | bob.sandif

Odd (i.e. wrong) File Names in 3.1 distro source zip

2011-05-31 Thread Bob Sandiford
be using to expand these? I'm doing this in Windows XP. Thanks! Bob Sandiford | Lead Software Engineer | SirsiDynix P: 800.288.8020 X6943 | bob.sandif...@sirsidynix.com www.sirsidynix.comhttp://www.sirsidynix.com/ Join the conversation - you may even get an iPad or Nook out of it! [cid:image002.jpg

RE: highlighting in multiValued field

2011-05-26 Thread Bob Sandiford
What is your actual query? Did you look at the hl.snippets parameter? Bob Sandiford | Lead Software Engineer | SirsiDynix P: 800.288.8020 X6943 | bob.sandif...@sirsidynix.com www.sirsidynix.com  Join the conversation - you may even get an iPad or Nook out of it! Like us on Facebook! Follow us

RE: highlighting in multiValued field

2011-05-26 Thread Bob Sandiford
tags still in place). Bob Sandiford | Lead Software Engineer | SirsiDynix P: 800.288.8020 X6943 | bob.sandif...@sirsidynix.com www.sirsidynix.com  Join the conversation - you may even get an iPad or Nook out of it! Like us on Facebook! Follow us on Twitter! -Original Message- From

RE: Document match with no highlight

2011-05-12 Thread Bob Sandiford
Don't you need to include your unique id field in your 'fl' parameter? It will be needed anyways so you can match up the highlight fragments with the result docs once highlighting is working... Bob Sandiford | Lead Software Engineer | SirsiDynix P: 800.288.8020 X6943 | bob.sandif

Test Post

2011-05-10 Thread Bob Sandiford
unseen :) Thanks! Bob Sandiford | Lead Software Engineer | SirsiDynix P: 800.288.8020 X6943 | bob.sandif...@sirsidynix.com www.sirsidynix.comhttp://www.sirsidynix.com/ Join the conversation - you may even get an iPad or Nook out of it! [cid:image002.jpg@01CC0F1E.A9E7FB90]http://www.facebook.com

Problems with Spellchecker in 3.1

2011-04-26 Thread Bob Sandiford
=freq30/int /lst /arr /lst bool name=correctlySpelledfalse/bool /lst /lst /response Thanks! Bob Sandiford | Lead Software Engineer | SirsiDynix P: 800.288.8020 X6943 | bob.sandif...@sirsidynix.com www.sirsidynix.comhttp://www.sirsidynix.com/

Problems with Spellchecker in 3.1

2011-04-25 Thread Bob Sandiford
Oops. Sorry. I'm hijacking my own thread to put a real Subject in place... Bob Sandiford | Lead Software Engineer | SirsiDynix P: 800.288.8020 X6943 | bob.sandif...@sirsidynix.com www.sirsidynix.com  -Original Message- From: Bob Sandiford Sent: Monday, April 25, 2011 5:34 PM

Solr - upgrade from 1.4.1 to 3.1 - finding AbstractSolrTestCase binaries - help please?

2011-04-20 Thread Bob Sandiford
* Thanks! Bob Sandiford | Lead Software Engineer | SirsiDynix P: 800.288.8020 X6943 | bob.sandif...@sirsidynix.com www.sirsidynix.comhttp://www.sirsidynix.com/

RE: Understanding multi-field queries with q and fq

2011-03-02 Thread Bob Sandiford
Have you looked at the 'qf' parameter? Bob Sandiford | Lead Software Engineer | SirsiDynix P: 800.288.8020 X6943 | bob.sandif...@sirsidynix.com www.sirsidynix.com  _ http://www.cosugi.org/  -Original Message- From: mrw [mailto:mikerobertsw...@gmail.com] Sent: Wednesday, March

RE: Solr multi cores or not

2011-02-16 Thread Bob Sandiford
. There are certainly implications here (like Relevance not being consistent across cores / shards), but it works pretty well for us... Thanks! Bob Sandiford | Lead Software Engineer | SirsiDynix P: 800.288.8020 X6943 | bob.sandif...@sirsidynix.com www.sirsidynix.com  -Original Message

RE: Using terms and N-gram

2011-02-03 Thread Bob Sandiford
I don't suppose it's something silly like the fact that your indexing chain includes 'words=stopwords.txt', and your query chain does not? Bob Sandiford | Lead Software Engineer | SirsiDynix P: 800.288.8020 X6943 | bob.sandif...@sirsidynix.com www.sirsidynix.com  _ Early COSUGI birds get

RE: match count per shard and across shards

2011-01-29 Thread Bob Sandiford
Or - you could add a standard field to each shard, populate with a distinct value for each shard, and facet on that field. Then look at the facet counts of the value that corresponds to a shard, and, hey-presto, you're done... Bob Sandiford | Lead Software Engineer | SirsiDynix P: 800.288.8020

RE: Will Result Grouping return documents that don't contain the specified group.field?

2011-01-06 Thread Bob Sandiford
What if you put in a default value for the group_id field in the solr schema - would that work for you? e.g. something like 'unknown' Then you'll get all those with no original group_id value still grouped together, and you can figure out at display time what you want to do with them. Bob

Special Parent / Child relationship - advice / observations welcome on how to approach this

2010-11-23 Thread Bob Sandiford
people think would be a good / possible approach before I get into that level... e.g. some way of providing to the Indexer a tuple of each found combination of the 5 values, and then doing something (what?) with searching for the facet queries Thanks! Bob Sandiford | Lead Software Engineer

RE: Empty value/string matching

2010-11-22 Thread Bob Sandiford
of the select... However, we haven't considered things like what it does to index size. It's relatively rare for us (that there not be a value), so our 'gut feel' is that it's not impacting the indexes very much size-wise or performance-wise. Bob Sandiford | Lead Software Engineer | SirsiDynix P

RE: Dynamic creating of cores in solr

2010-11-10 Thread Bob Sandiford
want - if you don't do complete reindexes, and don't need the index to always be searchable. Hope that helps... Bob Sandiford | Lead Software Engineer | SirsiDynix P: 800.288.8020 X6943 | bob.sandif...@sirsidynix.com www.sirsidynix.com  -Original Message- From: Nizan Grauer

RE: Dynamic creating of cores in solr

2010-11-10 Thread Bob Sandiford
feature... Thanks! Bob Sandiford | Lead Software Engineer | SirsiDynix P: 800.288.8020 X6943 | bob.sandif...@sirsidynix.com www.sirsidynix.com  -Original Message- From: Jonathan Rochkind [mailto:rochk...@jhu.edu] Sent: Wednesday, November 10, 2010 3:26 PM To: solr-user@lucene.apache.org

RE: Facet showing MORE results than expected when its selected?

2010-11-10 Thread Bob Sandiford
Shouldn't the second query have the clause: fq=themes_raw:Hotel en Restaurant instead of: fq=themes:Hotel en Restaurant Otherwise you're mixing apples (themes_raw) and oranges (themes). (Notice how I cleverly extended the restaurant theme to be food related :)) Bob Sandiford | Lead

RE: Natural string sorting

2010-10-29 Thread Bob Sandiford
before the integer series itself So - for sorting - you would have: string1 -- string11 string10 -- string210 string2 -- string12 which will then sort as string11, string12, string210, but use the original strings as the displays you want. Bob Sandiford | Lead Software Engineer | SirsiDynix P