Re: Solr vs ElasticSearch

2014-08-04 Thread Jack Krupansky
And neither project supports the Lucene faceting module, correct? And the ES web site says: WARNING: Facets are deprecated and will be removed in a future release. You are encouraged to migrate to aggregations instead. That makes it more of an apples/oranges comparison. -- Jack Krupansky

Re: How to search for phrase IAE_UPC_0001

2014-08-04 Thread Jack Krupansky
, the query phrase will generate an extra token which will participate in the matching and might cause a mismatch. -- Jack Krupansky -Original Message- From: Paul Rogers Sent: Monday, August 4, 2014 5:55 PM To: solr-user@lucene.apache.org Subject: Re: How to search for phrase IAE_UPC_0001

Re: Solr vs ElasticSearch

2014-08-01 Thread Jack Krupansky
for some clear and obvious benefit in terms of features, performance, and scalability. -- Jack Krupansky -Original Message- From: Salman Akram Sent: Friday, August 1, 2014 1:35 AM To: Solr Group Subject: Re: Solr vs ElasticSearch I did see that earlier. My main concern is search performance

Re: Querying from solr shards

2014-07-31 Thread Jack Krupansky
do need separate queries. -- Jack Krupansky -Original Message- From: Smitha Rajiv Sent: Thursday, July 31, 2014 1:31 AM To: solr-user@lucene.apache.org Subject: Querying from solr shards Hi All, Currently i am using solr legacy distributed configuration (not solr cloud, single solr

Re: integrating Accumulo with solr

2014-07-31 Thread Jack Krupansky
To be clear, I wasn't suggesting that Accumulo was the cause of integration complexity - EVERY NoSQL will have integration complexity of comparable magnitude. The advantage of DataStax Enterprise or Sqrrl Enterprise is that they have done the integration work for you. -- Jack Krupansky

Re: How to search for phrase IAE_UPC_0001

2014-07-31 Thread Jack Krupansky
And I have a lot more explanation and examples for word delimiter filter in my e-book: http://www.lulu.com/us/en/shop/jack-krupansky/solr-4x-deep-dive-early-access-release-7/ebook/product-21203548.html -- Jack Krupansky -Original Message- From: Erick Erickson Sent: Thursday, July 31

Re: Search on Date Field

2014-07-31 Thread Jack Krupansky
A range query: published_date:[2012-09-26T00:00:00Z TO 2012-09-27T00:00:00Z} WIth LucidWorks Search, you can simply say: published_date:2012-09-26 and it will internally generate that full range query. See: http://docs.lucidworks.com/display/lweug/Date+Queries -- Jack Krupansky

Re: Identify specific document insert error inside a solrj batch request

2014-07-30 Thread Jack Krupansky
. The offset of the offending document should be reported so that the app can locate the problem to resolve it. Give us the actual server stack trace so we can verify whether this was simply user error or some defect in Solr itself. -- Jack Krupansky -Original Message- From: Liram

Re: fq bq

2014-07-29 Thread Jack Krupansky
, if any. -- Jack Krupansky -Original Message- From: EXTERNAL Taminidi Ravi (ETI, Automotive-Service-Solutions) Sent: Tuesday, July 29, 2014 8:10 AM To: solr-user@lucene.apache.org Subject: fq bq Hi , I am using the bq to boost a particular value of a field. But when I try to add

Re: Scaling Issues

2014-07-29 Thread Jack Krupansky
caching to hold the entire Solr index. Do you have Solr auto-commit enabled? -- Jack Krupansky -Original Message- From: Ameya Aware Sent: Tuesday, July 29, 2014 3:01 PM To: solr-user@lucene.apache.org Subject: Re: Scaling Issues I am using Apache ManifoldCF framework which connects to my

Re: fq bq

2014-07-29 Thread Jack Krupansky
Apply the boost to the specific query term you want boosted, like Name:Car*^200. -- Jack Krupansky -Original Message- From: EXTERNAL Taminidi Ravi (ETI, Automotive-Service-Solutions) Sent: Tuesday, July 29, 2014 3:16 PM To: Jack Krupansky Cc: solr-user@lucene.apache.org Subject: RE

Re: copy EnumField to text field

2014-07-28 Thread Jack Krupansky
if it is missing, but you would have to specify an explicit value for the URP to use. -- Jack Krupansky -Original Message- From: Elran Dvir Sent: Monday, July 28, 2014 4:12 AM To: solr-user@lucene.apache.org Subject: RE: copy EnumField to text field Are you saying that default values

Re: copy EnumField to text field

2014-07-28 Thread Jack Krupansky
Correct - copy field copies the raw, original, source input value, before the actual field type has had a chance to process it in any way. -- Jack Krupansky -Original Message- From: Elran Dvir Sent: Monday, July 28, 2014 8:08 AM To: solr-user@lucene.apache.org Subject: RE: copy

Re: Query about vacuum full

2014-07-28 Thread Jack Krupansky
Or are you using ManifoldCF? -- Jack Krupansky -Original Message- From: Rafał Kuć Sent: Monday, July 28, 2014 11:00 AM To: solr-user@lucene.apache.org Subject: Re: Query about vacuum full Hello! Please refer to PostgreSQL mailing list with this question. This question is purely

Re: integrating Accumulo with solr

2014-07-27 Thread Jack Krupansky
to sync mode and not mere ETL, which people do all the time with batch scripts, Java extraction and ingestion connectors, and cron jobs. Give it a shot and let us know how it works out. -- Jack Krupansky -Original Message- From: Ali Nazemian Sent: Sunday, July 27, 2014 1:20 AM

Re: Any Solr consultants available??

2014-07-26 Thread Jack Krupansky
immediate, high-value support and guidance. A rich guy's version of this mailing list! -- Jack Krupansky -Original Message- From: Alexandre Rafalovitch Sent: Friday, July 25, 2014 9:17 PM To: solr-user Subject: Re: Any Solr consultants available?? On Fri, Jul 25, 2014 at 6:59 PM, Jack

Re: Any Solr consultants available??

2014-07-25 Thread Jack Krupansky
are like that in Solr. -- Jack Krupansky -Original Message- From: Alexandre Rafalovitch Sent: Friday, July 25, 2014 4:52 AM To: solr-user Subject: Re: Any Solr consultants available?? Well, if we do it in England, we could hire out a castle, I bet. :-) I am flexible on my holiday locations

Re: Understanding the Debug explanations for Query Result Scoring/Ranking

2014-07-25 Thread Jack Krupansky
debug gives you. -- Jack Krupansky -Original Message- From: O. Olson Sent: Thursday, July 24, 2014 6:45 PM To: solr-user@lucene.apache.org Subject: Understanding the Debug explanations for Query Result Scoring/Ranking Hi, If you add /*debug=true*/ to the Solr request /(and wt=xml

Re: Need a tipp, how to find documents where content is tel aviv but user query is telaviv?

2014-07-24 Thread Jack Krupansky
-book: http://www.lulu.com/us/en/shop/jack-krupansky/solr-4x-deep-dive-early-access-release-7/ebook/product-21203548.html You could at least use this feature to implement a did you mean... UI for your search app - show the user actual results but also a proposed query with the words broken apart

Re: integrating Accumulo with solr

2014-07-24 Thread Jack Krupansky
are still a work in progress, but certainly headed in the right direction. And it has Hadoop and Spark integration as well. See: http://www.datastax.com/what-we-offer/products-services/datastax-enterprise -- Jack Krupansky -Original Message- From: Ali Nazemian Sent: Thursday, July 24

Re: Need a tipp, how to find documents where content is tel aviv but user query is telaviv?

2014-07-24 Thread Jack Krupansky
. -- Jack Krupansky -Original Message- From: Sven Schönfeldt Sent: Thursday, July 24, 2014 8:35 AM To: solr-user@lucene.apache.org Subject: Re: Need a tipp, how to find documents where content is tel aviv but user query is telaviv? Thanks! Thats my core problem, to let solr search

Re: integrating Accumulo with solr

2014-07-24 Thread Jack Krupansky
. See: http://sqrrl.com/product/search/ Out of curiosity, why are you not using that integrated Lucene support of Sqrrl Enterprise? -- Jack Krupansky -Original Message- From: Ali Nazemian Sent: Thursday, July 24, 2014 3:07 PM To: solr-user@lucene.apache.org Subject: Re: integrating

Re: solr 3.6 to 4.7 upgrade has changed the query string

2014-07-23 Thread Jack Krupansky
defaultSearchField being deprecated in favor of the df parameter. -- Jack Krupansky -Original Message- From: shashi.rsb Sent: Wednesday, July 23, 2014 5:51 AM To: solr-user@lucene.apache.org Subject: solr 3.6 to 4.7 upgrade has changed the query string Hi, Our backend application

Any Solr consultants available??

2014-07-23 Thread Jack Krupansky
... anyone. All the great Solr guys I know are quite busy. Thanks. -- Jack Krupansky From: Jessica Feigin Sent: Wednesday, July 23, 2014 3:36 PM To: 'Jack Krupansky' Subject: Thank you! Hi Jack, Thanks for your assistance, below is the Solr Consultant job description: Our client

Re: Any Solr consultants available??

2014-07-23 Thread Jack Krupansky
Yeah, I saw that, which is why I suggested not being too picky about specific requirements. If you have at least two or three years of solid Solr experience, that would make you at least worth looking at. -- Jack Krupansky From: Tri Cao Sent: Wednesday, July 23, 2014 3:57 PM To: solr-user

Re: wrong docFreq while executing query based on uniqueKey-field

2014-07-22 Thread Jack Krupansky
Deleted documents remain in the Lucene index until an optimize or segment merge operation removes them. As a result they are still counted in document frequency. An update is a combination of a delete and an add of a fresh document. -- Jack Krupansky -Original Message- From

Re: Solr Cassandra MySQL Best Practice Indexing

2014-07-22 Thread Jack Krupansky
bet is to get that RDBMS data moved to Cassandra or DSE ASAP. All you have until then is a stopgap measure rather than a robust architecture. -- Jack Krupansky -Original Message- From: Yavar Husain Sent: Tuesday, July 22, 2014 2:22 AM To: solr-user@lucene.apache.org Subject: Re: Solr

Re: How to get Lacuma to match Lucuma

2014-07-22 Thread Jack Krupansky
Or possibly use the synonym filter at query or index time for common misspellings or misunderstandings about the spelling. That would be automatic, without the user needing to add the explicit fuzzy query operator. -- Jack Krupansky -Original Message- From: Anshum Gupta Sent

Re: Solr Cassandra MySQL Best Practice Indexing

2014-07-21 Thread Jack Krupansky
in that Solr-enabled Cassandra data center just the same as with normal Solr. -- Jack Krupansky -Original Message- From: Yavar Husain Sent: Monday, July 21, 2014 8:37 AM To: solr-user@lucene.apache.org Subject: Solr Cassandra MySQL Best Practice Indexing So my full text data lies on Cassandra

Re: Query about Solr

2014-07-21 Thread Jack Krupansky
Set the field type for such a field to ignored. Or set it to string and then you can still examine or query the data even if it is not properly formatted. -- Jack Krupansky -Original Message- From: Ameya Aware Sent: Monday, July 21, 2014 11:12 AM To: solr-user@lucene.apache.org

Re: Solr schema.xml query analyser

2014-07-21 Thread Jack Krupansky
put the entire query in quotes or escape the space with a backslash. Of, just use the edismax query parser with the pf or pf2 parameters and then Solr will boost exact phrase matches even if not quoted or escaped. -- Jack Krupansky -Original Message- From: prashantc88 Sent: Monday

Re: Solr schema.xml query analyser

2014-07-21 Thread Jack Krupansky
Based on your stated requirements, there is no obvious need to use the keyword tokenizer. So fix that and then quoted phrases or escaped spaces should work. -- Jack Krupansky -Original Message- From: prashantc88 Sent: Monday, July 21, 2014 11:51 AM To: solr-user@lucene.apache.org

Re: Solr schema.xml query analyser

2014-07-21 Thread Jack Krupansky
index. -- Jack Krupansky -Original Message- From: newBie88 Sent: Monday, July 21, 2014 1:13 PM To: solr-user@lucene.apache.org Subject: Re: Solr schema.xml query analyser My apologies Jack. But there was a mistake in my question. I actually switched query and textExactMatch in my

Re: Understanding query behaviour in LBHttpSolrServer

2014-07-18 Thread Jack Krupansky
query. For SolrCloud the sharding of queries takes place automatically without any shards parameter. But you should use the CloudSolrServer for load balancing of SolrCloud anyway - internally it does the load balancing automatically based on discovery of the SolrCloud configuration. -- Jack

Re: Range query and Highlighting

2014-07-18 Thread Jack Krupansky
You can specify an alternate query to use for highlighting purposes, with the hl.q parameter. It doesn't affect the query results, but lets you control which terms get highlighted. See: http://wiki.apache.org/solr/HighlightingParameters#hl.q -- Jack Krupansky -Original Message- From

Re: Plugin init failure for custom analysis filter

2014-07-18 Thread Jack Krupansky
Further down in the stack trace you will find the cause of the exception. Solr is calling the init method, but your code is throwing an exception. Your jar is probably in the proper place, otherwise Solr wouldn't have been able to load it and call the init method for it. -- Jack Krupansky

Re: shards as subset of All Shards

2014-07-18 Thread Jack Krupansky
500B - as in 500,000,000,000? Really? -- Jack Krupansky -Original Message- From: tomasv Sent: Friday, July 18, 2014 8:18 PM To: solr-user@lucene.apache.org Subject: shards as subset of All Shards Hello, This is kind of weird, but here goes: We are setting up a document repository

Re: problem with replication/solrcloud - getting 'missing required field' during update intermittently (SOLR-6251)

2014-07-17 Thread Jack Krupansky
, if only better error reporting at a minimum. -- Jack Krupansky -Original Message- From: Shalin Shekhar Mangar Sent: Thursday, July 17, 2014 12:40 AM To: solr-user@lucene.apache.org Subject: Re: problem with replication/solrcloud - getting 'missing required field' during update

Re: Using hundreds of dynamic fields

2014-07-16 Thread Jack Krupansky
is a concern as well. -- Jack Krupansky -Original Message- From: Andy Crossen Sent: Wednesday, July 16, 2014 1:05 PM To: solr-user@lucene.apache.org Subject: Re: Using hundreds of dynamic fields Thanks, Jack and Jared, for your input on this. I'm looking into whether parent-child

Re: Of, To, and Other Small Words

2014-07-15 Thread Jack Krupansky
Yeah, this is another one of those places where the behavior of Solr is defined but way down in the Lucene Javadoc, where no Solr user should ever have to go! It's also the kind of detail documented in my Solr Deep Dive e-book: http://www.lulu.com/us/en/shop/jack-krupansky/solr-4x-deep-dive

Re: Of, To, and Other Small Words

2014-07-15 Thread Jack Krupansky
Oops... forgot the link to the stop filter factory Javadoc: http://lucene.apache.org/core/4_9_0/analyzers-common/org/apache/lucene/analysis/core/StopFilterFactory.html -- Jack Krupansky -Original Message- From: Jack Krupansky Sent: Tuesday, July 15, 2014 7:42 AM To: solr-user

Re: Usage of enablePositionIncrements in Stop filter

2014-07-15 Thread Jack Krupansky
It's a bug (file a Jira) that this Lucene (and Solr) feature is not documented in the Lucene Javadoc for the stop filter factory. But, I do have it fully documented, with examples, in my Solr Deep Dive e-book: http://www.lulu.com/us/en/shop/jack-krupansky/solr-4x-deep-dive-early-access

Re: Of, To, and Other Small Words

2014-07-14 Thread Jack Krupansky
Or, if you happen to leave off the words attribute of the stop filter (or misspell the attribute name), it will use the internal Lucene hardwired list of stop words. -- Jack Krupansky -Original Message- From: Anshum Gupta Sent: Monday, July 14, 2014 4:03 PM To: solr-user

Re: Is there any data importer for cassandra in solr?

2014-07-13 Thread Jack Krupansky
-and-cassandra If those approaches are not sufficient for your needs, maybe you could elaborate on any special needs you have. -- Jack Krupansky -Original Message- From: Shuai Zhang Sent: Sunday, July 13, 2014 7:38 AM To: solr-user@lucene.apache.org Subject: Is there any data importer

Re: Is there any data importer for cassandra in solr?

2014-07-13 Thread Jack Krupansky
. But... none of that has anything to do with your subject question of data importer, so... what is the real question here? -- Jack Krupansky -Original Message- From: Shuai Zhang Sent: Sunday, July 13, 2014 11:06 AM To: solr-user@lucene.apache.org Subject: Re: Is there any data importer

Re: run multiple queries at the same time

2014-07-10 Thread Jack Krupansky
engine. -- Jack Krupansky -Original Message- From: Lee Chunki Sent: Thursday, July 10, 2014 1:24 AM To: solr-user@lucene.apache.org Subject: run multiple queries at the same time Hi, Is there any way to run multiple queries at the same time? situation is 1. when query in 2. check

Re: Lower/UpperCase Issue

2014-07-09 Thread Jack Krupansky
Ahmet is correct: the porter stemmer assumes that your input is lower case, so be sure to place the lower case filter before stemming. BTW, this is the kind of detail that I have in my e-book: http://www.lulu.com/us/en/shop/jack-krupansky/solr-4x-deep-dive-early-access-release-7/ebook/product

Re: Complement of {!join}

2014-07-09 Thread Jack Krupansky
parser doc in my e-book before 4.1 came out. This was the point where the divorce between the Lucene and Solr query parsers took place, because the feature needed to be added to the query parser grammar, but the Lucene guys objected to this Solr feature. -- Jack Krupansky -Original Message

Re: Complement of {!join}

2014-07-09 Thread Jack Krupansky
From the Solr 4.1 release notes: * Solr QParsers may now be directly invoked in the lucene query syntax via localParams and without the _query_ magic field hack. Example: foo AND {!term f=myfield v=$qq} -- Jack Krupansky -Original Message- From: Jack Krupansky Sent: Thursday, July

Re: Hypen in search keyword

2014-07-08 Thread Jack Krupansky
The word delimiter filter has a types parameter where you specify a file that can map hyphen to alpha or numeric. There is an example in my e-book. -- Jack Krupansky -Original Message- From: EXTERNAL Taminidi Ravi (ETI, Automotive-Service-Solutions) Sent: Tuesday, July 8, 2014 2:18

Re: Field for 'species' data?

2014-07-05 Thread Jack Krupansky
you need to populate, the analysis and processing details can be worked out. -- Jack Krupansky -Original Message- From: Dan Bolser Sent: Saturday, July 5, 2014 4:49 AM To: solr-user Subject: Re: Field for 'species' data? I'm super noob... Why choose to write it add a custom update

Re: Field for 'species' data?

2014-07-05 Thread Jack Krupansky
So, the immediate question is whether the value in the Solr source document has the full taxonomy path for the species, or just parts, and some external taxonomy definition must be consulted to fill in the rest of the hierarchy path for that species. -- Jack Krupansky -Original Message

Re: Using solr for image retrieval - very long response time

2014-07-04 Thread Jack Krupansky
if the time is spent in the query process or some other stage of processing. How is your JVM heap usage? Make sure you have enough heap but not too much. Are a lot of GCs occurring? Does your index fit entirely in OS system memory for file caching? If not, you could be incurring tons of IO. -- Jack

Re: multilingual search

2014-07-04 Thread Jack Krupansky
, with a separate query request handler for each language that optimizes the settings for that language, such as the language-specific fields to use for the qf parameter. -- Jack Krupansky -Original Message- From: benjelloun Sent: Friday, July 4, 2014 10:52 AM To: solr-user@lucene.apache.org

Re: multilingual search

2014-07-04 Thread Jack Krupansky
the language-specific qf_xx parameter to the main qf parameter based on the language that is detected. -- Jack Krupansky -Original Message- From: Paul Libbrecht Sent: Friday, July 4, 2014 11:36 AM To: solr-user@lucene.apache.org Subject: Re: multilingual search To do just what Jack

Re: Field for 'species' data?

2014-07-04 Thread Jack Krupansky
/PathHierarchyTokenizerFactory.html Or maybe a combination of the two approaches. I think I have some examples of it in my e-book. -- Jack Krupansky -Original Message- From: Dan Bolser Sent: Friday, July 4, 2014 11:57 AM To: solr-user Subject: Re: Field for 'species' data? The problem

Re: Dynamic field doesnt work

2014-07-03 Thread Jack Krupansky
s/dynamic_field/dynamicField/ -- Jack Krupansky -Original Message- From: Alexandre Rafalovitch Sent: Thursday, July 3, 2014 5:45 AM To: solr-user@lucene.apache.org Subject: Re: Dynamic field doesnt work I would say something is misspelt somewhere. Put a dynamic field called

Re: Disable Regular Expression Support

2014-07-03 Thread Jack Krupansky
Unfortunately, not - the syntax is hard-wired into the grammar. Feel free to file a Jira though. I would be in favor of having a query parser config option to disable features like regex and leading wildcard as well. -- Jack Krupansky -Original Message- From: Markus Schuch Sent

Re: Confusion about location of + and - ?

2014-07-03 Thread Jack Krupansky
is still open, with disagreement over whether even giving an exception for this scenario is reasonable. I'll add some comments there. I'm in favor of BooleanQuery implicitly adding the *:* if only negative terms are present. -- Jack Krupansky -Original Message- From: Shawn Heisey Sent

Re: Customise score

2014-07-02 Thread Jack Krupansky
I think the white space after the comma is the culprit. No white space is allowed in function queries that are embedded, such as in the sort parameter. -- Jack Krupansky -Original Message- From: Ahmet Arslan Sent: Wednesday, July 2, 2014 2:19 PM To: solr-user@lucene.apache.org

Re: Migration from Autonomy IDOL to SOLR

2014-07-02 Thread Jack Krupansky
Thanks for posting this. -- Jack Krupansky -Original Message- From: wrdrvr Sent: Wednesday, July 2, 2014 1:47 PM To: solr-user@lucene.apache.org Subject: Re: Migration from Autonomy IDOL to SOLR I know that this is an old thread, but I wanted to pass on some additional information

Re: OCR - Saving multi-term position

2014-07-02 Thread Jack Krupansky
Take a look at the synonym filter as well. I mean, basically that's exactly what you are doing - adding synonyms at each position. -- Jack Krupansky -Original Message- From: Manuel Le Normand Sent: Wednesday, July 2, 2014 12:57 PM To: solr-user@lucene.apache.org Subject: Re: OCR

Re: Customise score

2014-07-02 Thread Jack Krupansky
,query($q,0))+descwt=jsonindent=true -- Jack Krupansky -Original Message- From: rachun Sent: Wednesday, July 2, 2014 7:44 PM To: solr-user@lucene.apache.org Subject: Re: Customise score Hi Jack, I tried as you suggest .../select?q=MacBooksort=sum(base_score,score)+descwt=jsonindent=true

Re: Confusion about location of + and - ?

2014-07-01 Thread Jack Krupansky
Yeah, there's a known bug that a negative-only query within parentheses doesn't match properly - you need to add a non-negative term, such as *:*. For example: text:(+happy) AND user:(*:* -123456789) -- Jack Krupansky -Original Message- From: Brett Hoerner Sent: Tuesday, July 1

Re: Confusion about location of + and - ?

2014-07-01 Thread Jack Krupansky
only handles pure negative queries at the top-level query, but not within parenthesized sub-queries https://issues.apache.org/jira/browse/SOLR-3744 And: SOLR-3729 - ExtendedDismaxQParser (edismax) doesn't parse (*:*) properly https://issues.apache.org/jira/browse/SOLR-3729 -- Jack Krupansky

Re: Restriction on type of uniqueKey field?

2014-07-01 Thread Jack Krupansky
My vague recollection is that at least at one time there was a limitation somewhere in SolrCloud, but whether that is still true, I don't know. -- Jack Krupansky -Original Message- From: Alexandre Rafalovitch Sent: Tuesday, July 1, 2014 9:48 AM To: solr-user@lucene.apache.org Subject

Re: Best way to fix Document contains at least one immense term?

2014-07-01 Thread Jack Krupansky
anyway, so count of characters versus UTF-8 bytes may be a non-problem. -- Jack Krupansky -Original Message- From: Michael Ryan Sent: Tuesday, July 1, 2014 9:49 AM To: solr-user@lucene.apache.org Subject: Best way to fix Document contains at least one immense term? In LUCENE-5472, Lucene

Re: How do I use multiple boost functions?

2014-06-30 Thread Jack Krupansky
parameters for each boost. See: https://cwiki.apache.org/confluence/display/solr/The+Extended+DisMax+Query+Parser -- Jack Krupansky -Original Message- From: Bhoomit Vasani Sent: Monday, June 30, 2014 7:30 AM To: solr-user@lucene.apache.org Subject: How do I use multiple boost functions

Re: Any way to parse timestamp into a date field

2014-06-29 Thread Jack Krupansky
formats anyway, eliminating the need for the parse date update processor - a Solr band-aid to cover the weakness of the Lucene feature. -- Jack Krupansky -Original Message- From: Shalin Shekhar Mangar Sent: Sunday, June 29, 2014 6:43 AM To: solr-user@lucene.apache.org Subject: Re: Any way

Re: How to sort value that numeric mix alpha

2014-06-29 Thread Jack Krupansky
I think you wanted to remove letters, but your pattern removes NON-letters - that's what the ^ does, negation. So, try: =[a-z]. You can also get rid of the lower case filter and just use [a-zA-Z]. -- Jack Krupansky -Original Message- From: rachun Sent: Sunday, June 29, 2014 3:19 AM

Re: While creating collection in SolrCloud can we manually select machines(nodes)

2014-06-28 Thread Jack Krupansky
One shard with one replica would be a single machine, so maybe you mean either two shards each with one replica or one shard with two replicas. -- Jack Krupansky -Original Message- From: vidit.asthana Sent: Saturday, June 28, 2014 5:09 PM To: solr-user@lucene.apache.org Subject

Re: Using hundreds of dynamic fields

2014-06-27 Thread Jack Krupansky
previous metrics for that document. -- Jack Krupansky -Original Message- From: Andy Crossen Sent: Friday, June 27, 2014 11:10 AM To: solr-user@lucene.apache.org Subject: Using hundreds of dynamic fields Hi folks, My application requires tracking a daily performance metric for all

Re: Two solr instances access common index

2014-06-26 Thread Jack Krupansky
Erick, I agree, but... wouldn't it be SO COOL if it did work! Avoid all the ridiculous complexity of cloud. Have a temporary lock to permit and exclude updates. -- Jack Krupansky -Original Message- From: Erick Erickson Sent: Thursday, June 26, 2014 12:37 PM To: solr-user

Re: No results for a wildcard query for text_general field in solr 4.1

2014-06-24 Thread Jack Krupansky
for this case??) -- Jack Krupansky -Original Message- From: Erick Erickson Sent: Tuesday, June 24, 2014 11:38 AM To: solr-user@lucene.apache.org ; Ahmet Arslan Subject: Re: No results for a wildcard query for text_general field in solr 4.1 Wildcards are a tough thing to get your head around

Re: Does one need to perform an optimize soon after doing a batch indexing using SolrJ ?

2014-06-24 Thread Jack Krupansky
guide? -- Jack Krupansky -Original Message- From: Erick Erickson Sent: Tuesday, June 24, 2014 11:46 AM To: solr-user@lucene.apache.org Subject: Re: Does one need to perform an optimize soon after doing a batch indexing using SolrJ ? Your indexing process looks fine, there's no reason

Re: Does updating a child document destroy the parent - child relationship

2014-06-24 Thread Jack Krupansky
, this limitation does not appear to be documented in the Solr ref guide. -- Jack Krupansky -Original Message- From: Vinay B, Sent: Tuesday, June 24, 2014 10:40 PM To: solr-user Subject: Does updating a child document destroy the parent - child relationship When I edit a child document

Re: Question about sending solrconfig and schema files with java

2014-06-20 Thread Jack Krupansky
it is probably not Solr-related. Sorry for the inconvenience! -- Jack Krupansky -Original Message- From: Frederic Esnault Sent: Friday, June 20, 2014 11:50 AM To: solr-user@lucene.apache.org Subject: Re: Question about sending solrconfig and schema files with java Hi Shawn, Actually i should

Re: Question about sending solrconfig and schema files with java

2014-06-20 Thread Jack Krupansky
Oops! Sorry I missed it. Please post of the rest of the info on SO as well. We'll get to it! -- Jack Krupansky -Original Message- From: Frederic Esnault Sent: Friday, June 20, 2014 7:03 PM To: solr-user@lucene.apache.org Subject: Re: Question about sending solrconfig and schema files

Re: Multivalue wild card search

2014-06-19 Thread Jack Krupansky
1. Wildcards do not work within quoted terms. 2. Spaces in terms need to be escaped. 3. The quotes embedded in a term do not need to be escaped. So, try: q=*[Steve,\ Wonder,\ ]] or q=*[Steve,\ Wonder,\ ]* -- Jack Krupansky -Original Message- From: Ethan Sent: Thursday, June 19

Re: docFreq coming to be more than 1 for unique id field

2014-06-17 Thread Jack Krupansky
, that model is clearly obsolete. -- Jack Krupansky -Original Message- From: Apoorva Gaurav Sent: Tuesday, June 17, 2014 11:15 AM To: solr-user ; Ahmet Arslan Subject: Re: docFreq coming to be more than 1 for unique id field Yes we have updates on these. Didn't try optimizing will do

Re: How to update one field without losing the others?

2014-06-14 Thread Jack Krupansky
Is this a schema in when the text field is actually populated via copyField from other fields? Or maybe not, but the text field may not have been a stored field. It needs to be one of the two. -- Jack Krupansky -Original Message- From: librarymark Sent: Saturday, June 14, 2014 10

Re: split field on json update

2014-06-12 Thread Jack Krupansky
You can easily write a JavaScript snippet using the stateless script update processor and do whatever string manipulation you want on an input value, and then write extracted strings to whatever field(s) you want. My e-book has plenty of script examples. -- Jack Krupansky -Original

Re: How to query for content with ACLs?

2014-06-12 Thread Jack Krupansky
Take a look at this: http://www.slideshare.net/lucenerevolution/wright-nokia-manifoldcfeurocon-2011 Karl has an old Jira patch somewhere for doing the ACLs processing in Solr. -- Jack Krupansky -Original Message- From: lalitjangra Sent: Thursday, June 12, 2014 9:28 AM To: solr-user

Re: Large disjunction query practices

2014-06-09 Thread Jack Krupansky
. Small is better. -- Jack Krupansky -Original Message- From: Joe Gresock Sent: Monday, June 9, 2014 8:50 AM To: solr-user@lucene.apache.org Subject: Large disjunction query practices I'm wondering what the best practice for large disjunct queries in Solr is. A user wants to submit

Re: accessing individual elements of a multivalued field

2014-06-09 Thread Jack Krupansky
Not currently. You could have separate explicit fields for the categories such as cat_1, cat_2, etc. The data would need to be replicated (possibly using a copyField), but redundancy to facilitate access is a reasonable approach. -- Jack Krupansky -Original Message- From

Re: Deepy nested structure

2014-06-07 Thread Jack Krupansky
you believe are the most complex queries your users are likely to need. Start by expressing them clearly in simple, plain English, unless the structured query is quite obvious. -- Jack Krupansky -Original Message- From: harikrishna Sent: Friday, June 6, 2014 9:35 AM To: solr-user

Re: Date number to text

2014-06-06 Thread Jack Krupansky
to keep it as text. You can also use your own update processor to convert to some other text format. See the stateless script update processor to write a simple JavaScript script. -- Jack Krupansky -Original Message- From: O. Klein Sent: Friday, June 6, 2014 4:32 AM To: solr-user

Re: Multivalue wild card search

2014-06-06 Thread Jack Krupansky
Wildcard, fuzzy, and regex query do work on multivalued fields, but on only a single value at a time. Your match cannot occur across values. -- Jack Krupansky -Original Message- From: Ethan Sent: Thursday, June 5, 2014 12:52 PM To: solr-user Subject: Re: Multivalue wild card search

Re: Mapping a field name before queryParser

2014-06-06 Thread Jack Krupansky
Edismax has field aliasing: http://wiki.apache.org/solr/ExtendedDisMax#Field_aliasing_.2F_renaming f.my_alias.qf=actual_field f.brand.qf=brand_name -- Jack Krupansky -Original Message- From: Antoine LE FLOC'H Sent: Friday, June 6, 2014 5:56 PM To: solr-user@lucene.apache.org

Re: Mapping a field name before queryParser

2014-06-06 Thread Jack Krupansky
Oops... for your example it would be: f.brand_name.qf=brand -- Jack Krupansky -Original Message- From: Antoine LE FLOC'H Sent: Friday, June 6, 2014 6:54 PM To: solr-user@lucene.apache.org Subject: Re: Mapping a field name before queryParser OK thank you. I wanted to see what's

Re: change in EnumField configuration - what do you think?

2014-06-05 Thread Jack Krupansky
Yeah, leaving holes as reservations for future fill-in seems like a reasonable use case. Why not just have explicit=n as an XML attribute for value. If no explicit attribute is given, then simply use the previous value plus one. No need for a separate pair then. -- Jack Krupansky

Re: Easises way to insatll solr cloud with tomcat

2014-06-05 Thread Jack Krupansky
As has been suggested on other threads here, the HDS distribution of Solr from Heliosearch comes preconfigured with Tomcat, so it really is the easiest way to install Solr with Tomcat. -- Jack Krupansky -Original Message- From: Aman Tandon Sent: Thursday, June 5, 2014 8:32 AM

Re: Does lucene uses tries?

2014-06-05 Thread Jack Krupansky
Lucene uses trie for numeric and date fields: http://lucene.apache.org/core/4_8_0/core/org/apache/lucene/search/NumericRangeQuery.html -- Jack Krupansky -Original Message- From: Aman Tandon Sent: Thursday, June 5, 2014 5:32 AM To: solr-user@lucene.apache.org Subject: Does lucene uses

Re: Use a field with space in qf

2014-06-04 Thread Jack Krupansky
Unfortunately, field aliasing works above the level of the qf parameter values. Maybe the Lucene guys could suggest a way to forcibly rename a field on disk. -- Jack Krupansky -Original Message- From: devraj.jaiman Sent: Wednesday, June 4, 2014 6:27 AM To: solr-user

Re: Solr maximum Optimal Index Size per Shard

2014-06-04 Thread Jack Krupansky
need to know. -- Jack Krupansky -Original Message- From: Vineet Mishra Sent: Wednesday, June 4, 2014 2:45 AM To: solr-user@lucene.apache.org Subject: Re: Solr maximum Optimal Index Size per Shard Thanks all for your response. I presume this conversation concludes that indexing around

Re: Multivalue wild card search

2014-06-04 Thread Jack Krupansky
Wildcard, fuzzy, and regex query operate on a single term of a single tokenized field value or a single string field value. -- Jack Krupansky -Original Message- From: Ethan Sent: Wednesday, June 4, 2014 6:59 PM To: solr-user Subject: Multivalue wild card search I can't seem to find

Re: suspect SOLR query from D029 (SOLR master)

2014-06-03 Thread Jack Krupansky
11 * 11 or 121 query terms, which shouldn't be so bad. But... maybe the Lucene FST for your synonym list is huge. Someone with deeper Lucene knowledge would have to address that. -- Jack Krupansky -Original Message- From: Branham, Jeremy [HR] Sent: Tuesday, June 3, 2014 3:57 AM

Re: Nested boosting in map function in solr?

2014-06-03 Thread Jack Krupansky
I think you need to use parameter substitution for those nested queries since the boost parameter takes a white-space delimited sequence of function queries. -- Jack Krupansky -Original Message- From: Kamal Kishore Aggarwal Sent: Tuesday, June 3, 2014 2:22 AM To: solr-user

Re: Solr maximum Optimal Index Size per Shard

2014-06-03 Thread Jack Krupansky
. -- Jack Krupansky -Original Message- From: Vineet Mishra Sent: Tuesday, June 3, 2014 8:43 AM To: solr-user@lucene.apache.org Subject: Solr maximum Optimal Index Size per Shard Hi All, Has anyone came across the maximum threshold document or size wise for each core of solr to hold. As I

Re: Solr maximum Optimal Index Size per Shard

2014-06-03 Thread Jack Krupansky
Anybody care to forecast when hardware will catch up with Solr and we can routinely look forward to newbies complaining that they indexed some data and after only 10 minutes they hit this weird 2G document count limit? -- Jack Krupansky -Original Message- From: Shawn Heisey Sent

<    1   2   3   4   5   6   7   8   9   10   >