delete by negative query

2007-10-15 Thread Rob Casson
i'm having no luck deleting by a negative query indexing the example docs from 1.2, these steps work: curl http://localhost:8983/solr/update --data-binary 'deletequerysolr/query/delete' -H 'Content-type:text/xml; charset=utf-8' curl http://localhost:8983/solr/update --data-binary 'optimize

Re: delete by negative query

2007-10-15 Thread Rob Casson
piete, thanks for the quick reply. You need to explicitly define the field you are referring to in order to achieve this, otherwise the query parser will assume that the minus character is part of the query and interpret it as field:-solr (where field is the name of the default field set in

Re: delete by negative query

2007-10-15 Thread Rob Casson
the work arround is to include *:* in yoru query ... deletequery*:* -solr/query/delete ... if/when this is fixed in Solr that's esentally what solr will do under the covers. (would you mind opening a bug to track this and mention the work arround for other people who encounter it) will

LowerCaseFilterFactory and spellchecker

2007-11-28 Thread Rob Casson
name=existtrue/str arr name=suggestions/ /response any pointers as to what i'm doing wrong, misinterpreting? i suspect i'm just doing something bone-headed in the analyzer sections... thanks as always, rob casson miami university libraries

Re: LowerCaseFilterFactory and spellchecker

2007-11-28 Thread Rob Casson
:11 PM, Norskog, Lance [EMAIL PROTECTED] wrote: There are a few parameters for limiting what words are added to the dictionary. You might be trimming out 'thorne'. See this page: http://wiki.apache.org/solr/SpellCheckerRequestHandler -Original Message- From: Rob Casson [mailto:[EMAIL

Re: schema for literal string, case insensitive

2008-05-29 Thread Rob Casson
bram, you'll want to look at the KeywordTokenizerFactory (which doesn't actually tokenize), and then use the LowerCaseFilterFactory. the schema in the example has a fieldType called 'alphaOnlySort' that should get you started. cheers, rob On Thu, May 29, 2008 at 6:21 AM, Bram de Jong [EMAIL

Re: Simple Searching Question

2008-08-14 Thread Rob Casson
you're likely not copyField-ing *_facet to text, and we'd need to see what type of field it is to see how it will be analyzed at both search/index time. the default schema.xml file is pretty well documented, so you might want to spend some time looking thru it, and reading the commentslots of

Re: Search Results optimization

2010-08-26 Thread Rob Casson
you might find these helpful...similar question came up last week: http://ln-s.net/7WpX http://robotlibrarian.billdueber.com/solr-forcing-items-with-all-query-terms-to-the-top-of-a-solr-search/ not exactly the same, as this case wanted to boost if *every* term matched, but a similar

Re: How to get Solr 1.4 to replicate spellcheck directories as well?

2009-12-16 Thread Rob Casson
i don't think that's currently supported, but sure others will correct me if i'm wrong: http://www.lucidimagination.com/search/document/ac8cf41bdb761069/solr_replication_and_spellcheck_data cheers, rob On Wed, Dec 16, 2009 at 10:08 AM, michael8 mich...@saracatech.com wrote: I'm currently

Re: query ( dynamicField ) in solr

2009-12-22 Thread Rob Casson
sounds like a job for copyField: http://wiki.apache.org/solr/FAQ#How_do_I_use_copyField_with_wildcards.3F add sku_defaultPriceAll to your fields and then: copyField source=sku_defaultPrice_* dest=sku_defaultPriceAll / ...query on sku_defaultPriceAll. hth, rob On Tue, Dec 22, 2009

Re: case-insensitive string type

2010-01-13 Thread Rob Casson
from http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters On wildcard and fuzzy searches, no text analysis is performed on the search word. i'd just lowercase the wildcard-ed search term in your client code, before you send it to solr. hth, rob On Wed, Jan 13, 2010 at 2:18 PM,

Re: filter querying working on dynamic int fields but not dynamic string fields?

2010-01-20 Thread Rob Casson
http://localhost:8983/solr/select?indent=onversion=2.2q=climatefq=awardinstrument_s:Continuing+grant str name=awardinstrument_sContinuing grant /str everything that erik already mentioned, but looks like you also have a trailing space in the document, so even quoting it would require that last

spellcheck suggestion ordering and distance measures

2010-03-30 Thread Rob Casson
poking around at the spellcheck component, and have a couple questions: 1) is there a way to return the distance measure with spellcheck.extendedResults? haven't poked too closely at the source, but it might be useful. 2) i'm not entirely clear on the order in which suggestions are returned.

Re: [VOTE] Community Logo Preferences

2008-11-24 Thread Rob Casson
https://issues.apache.org/jira/secure/attachment/12394282/solr2_maho_impression.png https://issues.apache.org/jira/secure/attachment/12394266/apache_solr_b_red.jpg thanks to everyone who contributed, rob On Sun, Nov 23, 2008 at 11:59 AM, Ryan McKinley [EMAIL PROTECTED] wrote: Please submit your

Re: Compiling Solr 1.3.0 + KStem

2008-12-03 Thread Rob Casson
i've experimented with the KStem stuff in the past, and just pulled a fresh copy of solr from trunk it looks like Hoss' suggestion #1 does the trick, by simply commenting out the super.init call...loaded the example data, tested some analysis, and it seems to work as before. just a confirmation,

Re: new faceting algorithm

2008-12-05 Thread Rob Casson
very similar situation to those already reported. 2.9M bilbiographic records, with authors being the (previous) bottleneck, and the one we're starting to test with the new algorithm. so far, no load tests, but just in single requests i'm seeing the same improvements...phenomenal improvements,

Re: Exact matching on names?

2011-08-16 Thread Rob Casson
exact can mean a lot of things (do diacritics count?, etc), but in this case, it sounds like you just need to turn off the stemmer you have on this fieldtype (or create a new one that doesn't include the stemmer). hth, rob On Tue, Aug 16, 2011 at 11:20 AM, Olson, Ron rol...@lbpc.com wrote: Hi

Re: Solr warming when using master/slave replication

2011-08-29 Thread Rob Casson
it's always been my understanding that the caches are discarded, then rebuilt/warmed: http://wiki.apache.org/solr/SolrCaching#Caching_and_Distribution.2BAC8-Replication hth, rob On Mon, Aug 29, 2011 at 5:30 PM, Mike Austin mike.aus...@juggle.com wrote: How does warming work when a

Re: synonyms.txt: different results on admin and on site..

2011-09-07 Thread Rob Casson
you should probably post your schema.xml and some parts of your synonyms.txt. it could be differences between your index and query analysis chains, synonym expansion errors, etc, but folks will likely need more details to help you out. cheers, rob On Wed, Sep 7, 2011 at 9:46 PM, deniz

Re: Two unrelated questions

2011-09-21 Thread Rob Casson
for #1, i don't use DIH, but is there any possibility of that column having duplicate keys, with subsequent docs replacing existing ones? and for #2, for some cases you could use a negative filterquery: http://wiki.apache.org/solr/SimpleFacetParameters#Retrieve_docs_with_facets_missing so

Re: command line to check if Solr is up running

2010-10-25 Thread Rob Casson
you could look at the ping stuff: http://wiki.apache.org/solr/SolrConfigXml#The_Admin.2BAC8-GUI_Section cheers, rob On Mon, Oct 25, 2010 at 3:56 PM, Xin Li x...@book.com wrote: As we know we can use browser to check if Solr is running by going to

Re: Copying the index from one solr instance to another

2010-12-15 Thread Rob Casson
just making sure that you're aware of the built-in replication: http://wiki.apache.org/solr/SolrReplication can pull the indexes, along with config files. cheers, rob 2010/12/15 Robert Gründler rob...@dubture.com: Hi again, let's say you have 2 solr Instances, which have both exactly

Re: Facet Query Question

2011-02-27 Thread Rob Casson
if i'm understanding your question, it sounds like localparams/tagging/exclusion might be what you want: http://wiki.apache.org/solr/SimpleFacetParameters#Multi-Select_Faceting_and_LocalParams hth, rob On Sun, Feb 27, 2011 at 6:41 PM, Tim Christensen tim.christen...@vanns.net wrote: Hi,

Re: Result order when score is the same

2011-04-13 Thread Rob Casson
you could just explicitly send multiple sorts...from the tutorial: sort=inStock asc, price desc cheers. On Wed, Apr 13, 2011 at 2:59 PM, kenf_nc ken.fos...@realestate.com wrote: Is sort order when 'score' is the same a Lucene thing? Should I ask on the Lucene forum? -- View this

Re: querying in Java

2011-04-29 Thread Rob Casson
copyField should do the trick: http://wiki.apache.org/solr/SchemaXml#Copy_Fields A common requirement is to copy or merge all input fields into a single solr field. This can be done as follows:- copyField source=* dest=text/ hth, rob On Fri, Apr 29, 2011 at 2:06 PM, Saler, Jeff

Re: *:* query with dismax

2011-05-06 Thread Rob Casson
it does seem a little weird, but q.alt will get what you want: http://wiki.apache.org/solr/DisMaxQParserPlugin#q.alt hth, rc On Fri, May 6, 2011 at 7:41 PM, Jason Chaffee jchaf...@ebates.com wrote: Can you shed some light on what you did to configure it to handle *:*? I have the same

Re: aliasing?

2011-05-09 Thread Rob Casson
a lot of this stuff is covered in the tutorial, and expanded in the wiki. still the best places to start in figuring out the fundamentals: http://lucene.apache.org/solr/tutorial.html http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.SynonymFilterFactory hth, rc On Mon,

Re: indexing numbers

2011-05-25 Thread Rob Casson
the default schema.xml provided in the Solr distribution is well-documented, and a good place to get started (including numeric fieldTypes): http://wiki.apache.org/solr/SchemaXml Lucid Imagination also provides a nice reference guide:

Re: [Handling] empty fields

2011-06-15 Thread Rob Casson
i also thought of the lengthFilter stuff, provided it's a text/KeywordTokenizer field: http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.LengthFilterFactory cheers, rob On Wed, Jun 15, 2011 at 12:00 PM, Erick Erickson erickerick...@gmail.com wrote: Have you tried setting

Re: Can I invert the inverted index?

2011-07-05 Thread Rob Casson
sounds like the Luke request handler will get what you're after: http://wiki.apache.org/solr/LukeRequestHandler http://wiki.apache.org/solr/LukeRequestHandler#id cheers, rob On Tue, Jul 5, 2011 at 3:59 PM, Gabriele Kahlout gabri...@mysimpatico.com wrote: Hello, With an inverted

Re: Searching for strings

2011-07-18 Thread Rob Casson
chip, gonna need more information about your particular analysis chain, content, and example searches to give a better answer, but phrase queries (using quotes) are supported in both the standard and dismax query parsers that being said, lots of things may not match a person's idea of an exact

Re: solr 1872

2012-07-30 Thread Rob Casson
looks like it might actually be a zip file. try renaming/unzipping it. cheers, rob On Mon, Jul 30, 2012 at 2:50 PM, Sujatha Arun suja.a...@gmail.com wrote: I am uable to use the rar file from the site https://issues.apache.org/jira/browse/SOLR-1872. When I try to open it,I get the message

Re: Filter query with wildcard, fq=a*

2009-04-30 Thread Rob Casson
it sounds to me like the field you're using (artistText) is tokenized and lowercased. it might be good to go over the wiki pages again: http://wiki.apache.org/solr/SolrFacetingOverview if you keep having problems, post your schema...cheers, rob On Thu, Apr 30, 2009 at 10:21 AM, Andrew

Re: Upgrading from 1.2.0 to 1.3.0

2009-05-07 Thread Rob Casson
this isn't advice on how to upgrade, but if you/your-project have a bit of time to wait, 1.4 sounds like it's getting close to an official releasefyi. cheers, rob On Tue, May 5, 2009 at 1:05 PM, Francis Yakin fya...@liquid.com wrote: What's the best way to upgrade solr from 1.2.0 to 1.3.0