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

2012-05-17 Thread Bob Sandiford
having all the authors 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 [m

RE: Does Solr fit my needs?

2012-04-27 Thread Bob Sandiford
make sure 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

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.

RE: Best Solr escaping?

2011-09-26 Thread Bob Sandiford
?", "\\:", ""}; /** * Escapes all special characters from the Search Terms, so they don't get confused with * the Solr query language special characters. * @param value - Search Term to escape * @return - escaped Search value, suitable for

RE: select query does not find indexed pdf document

2011-09-12 Thread Bob Sandiford
Solr / Lucene is its configurability to achieve the results your business case calls 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? B

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 So

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 > -Ori

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]

RE: previous and next rows of current record

2011-07-21 Thread Bob Sandiford
'9' is the next page, why not just do another query with id '9' to get 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 [ma

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 availa

RE: Restricting the Solr Posting List (retrieved set)

2011-07-11 Thread Bob Sandiford
you do in fact 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,

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

2011-07-07 Thread Bob Sandiford
#x27;deleted' records still show up 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:

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

2011-07-07 Thread Bob Sandiford
ave been before 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 w

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

2011-06-29 Thread Bob Sandiford
... (As others 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 &g

Solr just 'hangs' under load test - ideas?

2011-06-29 Thread Bob Sandiford
lse to look at? Ringing any bells? I can send more details if anyone wants specifics... Bob Sandiford | Lead Software Engineer | SirsiDynix P: 800.288.8020 X6943 | bob.sandif...@sirsidynix.com www.sirsidynix.com<http://www.sirsidynix.com/>

RE: MultiValued facet behavior question

2011-06-22 Thread Bob Sandiford
ther than me re-iterating that here. [1] Caveats 1) We didn't do anything with the date type faceting, or with any ranges. 2) We didn't do anything with Facet prefix handling - it may or may not work if you need prefixes. 3) Anything else that facets do that we didn't handle - or

RE: difficult sort

2011-06-17 Thread Bob Sandiford
facet values, and then display the facet values 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.sirsi

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 S

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 Softwar

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 | 

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

2011-05-31 Thread Bob Sandiford
ool I should 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.com<http://www.sirsidynix.com/> Join the conversation - you may even get an iPad or Nook

RE: highlighting in multiValued field

2011-05-26 Thread Bob Sandiford
text (i.e. with the highlight 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! >

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 Faceboo

RE: [POLL] How do you (like to) do logging with Solr

2011-05-17 Thread Bob Sandiford
> > Please tick one of the options below with an [X]: > > [ ] I always use the JDK logging as bundled in solr.war, that's > perfect > [X] I sometimes use log4j or another framework and am happy with re- > packaging solr.war > [ ] Give me solr.war WITHOUT an slf4j logger binding, so I can choos

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 X69

Test Post

2011-05-10 Thread Bob Sandiford
now that I'm being ignored, vs unseen :) Thanks! Bob Sandiford | Lead Software Engineer | SirsiDynix P: 800.288.8020 X6943 | bob.sandif...@sirsidynix.com www.sirsidynix.com<http://www.sirsidynix.com/> Join the conversation - you may even get an iPad or Nook out of it!

Problems with Spellchecker in 3.1

2011-04-26 Thread Bob Sandiford
ck"~100^100.0 OR DOC_TEXT:"kljhklsdjahfkljsdhf book rck"~100^2 OR PRIMARY_TITLE_boost:"kljhklsdjahfkljsdhf book rck"~100^1000.0 OR AUTHOR_boost:"kljhklsdjahfkljsdhf book rck"~100^20.0 OR textFuzzy:kljhklsdjahfkljsdhf~0.7 AND textFuzzy:book~0.7 AND textFuzzy:rck~0.7 5 362 365 0 rock 24000 rick 6048 rack 84 reck 78 ruck 30 false Thanks! Bob Sandiford | Lead Software Engineer | SirsiDynix P: 800.288.8020 X6943 | bob.sandif...@sirsidynix.com www.sirsidynix.com<http://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

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

2011-04-20 Thread Bob Sandiford
che.org/jira/browse/SOLR-2061> * Thanks! Bob Sandiford | Lead Software Engineer | SirsiDynix P: 800.288.8020 X6943 | bob.sandif...@sirsidynix.com www.sirsidynix.com<http://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] &

RE: Solr multi cores or not

2011-02-16 Thread Bob Sandiford
ards across multiple instances. 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.c

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

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

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

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

2010-11-23 Thread Bob Sandiford
is - does this logical problem seem resolvable, with an approach other than the brute force outlined above? I'm willing to dive into the Solr / Lucene code if that's what it will take - I'd just like an indication of what people think would be a good / possible approach before I

RE: Empty value/string matching

2010-11-22 Thread Bob Sandiford
ield:@@EMPTY@@ instead of the negated form 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 pe

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 :)) Bo

RE: Dynamic creating of cores in solr

2010-11-10 Thread Bob Sandiford
the replication 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

RE: Dynamic creating of cores in solr

2010-11-10 Thread Bob Sandiford
e(); } catch (IOException e) { e.printStackTrace(); } } And that's about it. You could adjust the above so there's only one core per index that you want - if you don't do complete reindexes, and don't need the index to always be

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 | S