Re: DateRangeField, but with Integers instead of dates?

2019-03-07 Thread Ryan Yacyshyn
gt; > On Thu, Mar 7, 2019 at 8:53 AM Zheng Lin Edwin Yeo > wrote: > > > Hi, > > > > Do you mean you plan to index a range of number into a single field? > > > > Regards, > > Edwin > > > > On Wed, 6 Mar 2019 at 17:53, Ryan Yacyshyn > >

Re: DateRangeField, but with Integers instead of dates?

2019-03-07 Thread Ryan Yacyshyn
ange of number into a single field? > > Regards, > Edwin > > On Wed, 6 Mar 2019 at 17:53, Ryan Yacyshyn > wrote: > > > Hi all, > > > > Is there a way I can perform a filter query on a field that contains a > > numeric range? Very much like how we can query over a

DateRangeField, but with Integers instead of dates?

2019-03-06 Thread Ryan Yacyshyn
Hi all, Is there a way I can perform a filter query on a field that contains a numeric range? Very much like how we can query over a date range: https://lucene.apache.org/solr/guide/7_3/working-with-dates.html#more-daterangefield-details I'd like to index documents that have a field containing a

Re: Contextual Synonym Filter

2018-09-05 Thread Ryan Yacyshyn
Hi Luca, I wonder if payloads might be able to solve your case for contextual synonyms? http://jorgelbg.github.io/posts/solr-contextual-synonyms Ryan On Mon, 3 Sep 2018 at 21:59 Andrea Gazzarini wrote: > Hi Luca, > I believe this is not an easy task to do passing through Solr/Lucene > int

Block join query parser

2018-06-05 Thread Ryan Yacyshyn
Hi all, I'm looking for a way to query nested documents that would return the parent documents along with its child documents nested under it, but only the child documents that match the query. The [child] doc transformer comes close, but it returns all child docs. I'm looking for something simil

Re: Solr 7.3 debug/explain with boost applied

2018-04-25 Thread Ryan Yacyshyn
sts like that (&boost=2 ). Are you boosting on > a field or document by using that syntax? > > On Sun, Apr 22, 2018 at 10:51 PM, Ryan Yacyshyn > wrote: > > > Hi all, > > > > When viewing the explain under debug=true in Solr 7.3.0 using > > the edismax query p

Solr 7.3 debug/explain with boost applied

2018-04-22 Thread Ryan Yacyshyn
Hi all, When viewing the explain under debug=true in Solr 7.3.0 using the edismax query parser with a boost, I only see the "boost" part of the explain. Without applying a boost I see the full explain. Is this the expected behaviour? Here's how to check using the techproducts example.. bin/solr

Re: Solr 7.3.0 loading OpenNLPExtractNamedEntitiesUpdateProcessorFactory

2018-04-16 Thread Ryan Yacyshyn
Hi, The readme found in '/contrib/analysis-extras' mentions: OpenNLP relies on lucene-libs/lucene-analyzers-opennlp-X.Y.jar and lib/opennlp-*.jar Make sure you are loading these as well as the 'solr-analysis-extras-7.3.0.jar' file in the /dist directory. Regards, Ryan On Mon, 16 Apr 2018 at 2

Re: Solr 7.3.0 loading OpenNLPExtractNamedEntitiesUpdateProcessorFactory

2018-04-10 Thread Ryan Yacyshyn
Hi, I found the problem: there was an additional jar file in the /dist folder that needed to be loaded as well (dist/solr-analysis-extras-7.3.0.jar). I didn't see this one. Thanks, Ryan On Mon, 9 Apr 2018 at 14:58 Ryan Yacyshyn wrote: > Hi Shawn, > > I'm pretty sure th

Re: Solr 7.3.0 loading OpenNLPExtractNamedEntitiesUpdateProcessorFactory

2018-04-08 Thread Ryan Yacyshyn
t. On a mac, and my Java version is: java version "1.8.0_45" Java(TM) SE Runtime Environment (build 1.8.0_45-b14) Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode) Thanks, Ryan On Sun, 8 Apr 2018 at 21:34 Shawn Heisey wrote: > On 4/8/2018 2:36 AM, Ryan Yacyshyn wrote

Solr 7.3.0 loading OpenNLPExtractNamedEntitiesUpdateProcessorFactory

2018-04-08 Thread Ryan Yacyshyn
Hi all, I'm running into a small problem loading the OpenNLPExtractNamedEntitiesUpdateProcessorFactory class, getting an error saying it's not found. I'm loading all the required jar files, according to the readme: *solrconfig.xml* ... en-ner-person.bin opennlp-en-t

Re: Altering the query if query contains all stopwods

2018-03-12 Thread Ryan Yacyshyn
Alright, thanks. Yeah, the SuggestStopFilterFactory gets closer but isn't what I'm looking for in this case! Ryan On Sat, 10 Mar 2018 at 06:12 Rick Leir wrote: > Tav, Ryan > Now you have me wondering, should it be returning *:* or some general > landing page. > > Suppose you had typeahead or

Altering the query if query contains all stopwods

2018-03-08 Thread Ryan Yacyshyn
Hi all, I'm wondering if its possible to change/alter the query after it has been analyzed by the stopword filter? For example, if my query contains all stopwords then I'll get zero results because the query is empty. I'd like to have a condition to change the query so that if the query happens t

Re: Streaming Expressions using Solrj.io

2018-02-21 Thread Ryan Yacyshyn
Hi Shawn, Thanks for this. I'm using maven and I had another library unrelated to solrj loading an older version of the httpclient (4.4.1), which was causing the problem. Regards, Ryan On Wed, 21 Feb 2018 at 12:50 Shawn Heisey wrote: > On 2/20/2018 7:54 PM, Ryan Yacyshyn wrote:

Streaming Expressions using Solrj.io

2018-02-20 Thread Ryan Yacyshyn
Hello all, I'd like to get a stream of search results using the solrj.io package but running into a small issue. It seems to have something to do with the HttpClientUtil. I'm testing on SolrCloud 7.1.0, using the sample_techproducts_configs configs, and indexed the manufacturers.xml file. I'm fol

Using the suggester component on distributed indexes

2017-11-12 Thread Ryan Yacyshyn
Hi all, I know the suggester component will work on distributed indexes. It works fine when I'm only using the suggester component in the components chain, but I'd like to apply the suggester to the end of the default components chain (query, facet, mlt, etc..). When I do, I get an error. For exam

Re: Solr learning to rank features question

2017-09-13 Thread Ryan Yacyshyn
haha.. all good! I'm trying to find my way there now too. On Wed, Sep 13, 2017, 17:01 Diego Ceccarelli wrote: > Hey man, how's life? > Are you at the conference? I'm going a the reception now, see you there in > case :) > > On 29 Aug 2017 12:10, "Brian Yee" wrote: > > > Thank you Diego! This wo

SolrTextTagger on SolrCloud

2017-08-15 Thread Ryan Yacyshyn
Hi Everyone, A quick question.. does the SolrTextTagger plugin ( https://github.com/OpenSextant/SolrTextTagger) work in SolrCould mode? It works in standalone, but in SolrCloud, while I do get a response, it's empty: { "responseHeader": { "status": 0, "QTime": 36, "params": {

Re: LambdaMART XML model to JSON

2017-07-24 Thread Ryan Yacyshyn
Hi Alessandro, Ok no prob. The script-based approach seems to work just fine for me right now! Ryan On Mon, 24 Jul 2017 at 18:56 alessandro.benedetti wrote: > hi Ryan, > the issue you mentioned was mine : > https://sourceforge.net/p/lemur/feature-requests/144/ > > My bad It got lost in sea of

Re: LambdaMART XML model to JSON

2017-07-24 Thread Ryan Yacyshyn
does not exist org.apache.solr.ltr.model.MultipleAdditiveTreesModel Once I changed the values from floats to strings it uploaded fine. Ryan On Mon, 24 Jul 2017 at 12:14 Ryan Yacyshyn wrote: > Thanks Doug, this is helpful. > > I also started something last night to output to JSON for Solr, I'll p

Re: LambdaMART XML model to JSON

2017-07-23 Thread Ryan Yacyshyn
format. It could be helpful to you or anyone > constructing a script: > > > https://github.com/o19s/elasticsearch-learning-to-rank/blob/7426858c2afb168ac426cab6d857fddccb9c26fc/demo/ranklibToJson.py > > On Sun, Jul 23, 2017 at 7:18 AM Ryan Yacyshyn > wrote: > > > H

LambdaMART XML model to JSON

2017-07-23 Thread Ryan Yacyshyn
Hi everyone, I'm trying out the LTR plugin and have a couple questions when it comes to converting the LambdaMart XML to JSON. Below is a snippet of the model generated from rankLib: 10 0.28156844 11 7.11 7 2.

Re: Graph Visualizing tool

2017-07-23 Thread Ryan Yacyshyn
Hello, Have you tried Gephi? https://gephi.org/ On Sat, 22 Jul 2017 at 14:46 mganeshs wrote: > Tried this, but it's not working as expected. > > http://solr.pl/en/2016/04/25/graph-visualization-using-solr-6/ > > > Any of you used this or any other tool ? > > > > -- > View this message in cont

Re: When to use LTR

2017-06-22 Thread Ryan Yacyshyn
Thanks for your help Alessandro! Ryan On Wed, 21 Jun 2017 at 19:25 alessandro.benedetti wrote: > Hi Ryan, > first thing to know is that Learning To Rank is about relevancy and > specifically it is about to improve your relevancy function. > Deciding if to use or not LTR has nothing to do with

When to use LTR

2017-06-21 Thread Ryan Yacyshyn
Hey all, There's a lot of interest and articles explaining how learning to rank can be implemented in search engines and that's awesome. I'm looking forward to giving this a try. However, I was wondering.. when would you know that implementing LTR would *really help* in any given case? Is it bett

Re: Building Solr greater than 6.2.1

2017-05-01 Thread Ryan Yacyshyn
017 at 20:44 Shawn Heisey wrote: > On 5/1/2017 6:34 AM, Ryan Yacyshyn wrote: > > Thanks Alex, it's working now. I had to update Java. > > What version were you using? Lucene/Solr 6 requires Java 8. I don't > think that building 6.2.1 would have been successful if it weren&

Re: Building Solr greater than 6.2.1

2017-05-01 Thread Ryan Yacyshyn
t; > On 1 May 2017 6:34 AM, "Ryan Yacyshyn" wrote: > > > Hi all, > > > > I'm trying to build Solr 6.5.1 but it's is failing. I'm able to > > successfully build 6.2.1. I've tried 6.4.0, 6.4.2, and 6.5.1 but the > build > > fails. I

Building Solr greater than 6.2.1

2017-04-30 Thread Ryan Yacyshyn
Hi all, I'm trying to build Solr 6.5.1 but it's is failing. I'm able to successfully build 6.2.1. I've tried 6.4.0, 6.4.2, and 6.5.1 but the build fails. I'm not sure what the issue could be. I'm running `ant server` in the solr dir and this is where it fails: ivy-configure: [ivy:configure] :: lo

Re: Use case for the Shingle Filter

2017-03-06 Thread Ryan Yacyshyn
The query parser will split on whitespace. I'm not sure how I can use the shingle filter in my query, and use-cases for it. For example, if my fieldType looks like this: ** and I have a document that has "my babysitter is terrific" in the content_t field, a q

Use case for the Shingle Filter

2017-03-04 Thread Ryan Yacyshyn
Hi everyone, I was thinking of using the Shingle Filter to help solve an issue I'm facing. I can see this working in the analysis panel in the Solr admin, but not when I make my queries. I find out it's because of the query parser splitting up the tokens on white space before passing them along.

Re: Spellcheck: using multiple dictionaries (DirectSolrSpellChecker and FileBasedSpellChecker)

2016-09-26 Thread Ryan Yacyshyn
solrconfig.xml could looks like this: > > > default > solr.DirectSolrSpellChecker > field_for_spell_check > … > > > > > wordbreak > solr.WordBreakSolrSpellChecker > field_for_spell

Spellcheck: using multiple dictionaries (DirectSolrSpellChecker and FileBasedSpellChecker)

2016-09-23 Thread Ryan Yacyshyn
Hi everyone, I'm looking at using two different implementations of spell checking together: DirectSolrSpellChecker and FileBasedSpellChecker but I get the following error: msg: "All checkers need to use the same Analyzer.", trace: "java.lang.IllegalArgumentException: All checkers need to use the

Re: The Query Elevation Component

2016-08-09 Thread Ryan Yacyshyn
lassic edismax with different field > boosting instead than the query elevation component. > Let us know and we can help you better! > > Cheers > > On Wed, Jul 27, 2016 at 4:49 AM, Ryan Yacyshyn > wrote: > > > Hi everyone, > > > > I'm reading the do

The Query Elevation Component

2016-07-26 Thread Ryan Yacyshyn
Hi everyone, I'm reading the docs on the query elevation component and some questions came up: Can I specify a field that the elevate component will look at, such as only looking at the title field? My search handler (using eDisMax) is searching across multiple fields, but if I only want the elev

Re: Parallel SQL Interface returns "java.lang.NullPointerException" after reloading collection

2016-05-03 Thread Ryan Yacyshyn
-- > >>>> This message (including any attachments) contains confidential > >>>> information > >>>> intended for a specific individual and purpose, and is protected by > >>>> law. If > >>>> you are not the intended recipien

Re: Parallel SQL Interface returns "java.lang.NullPointerException" after reloading collection

2016-05-02 Thread Ryan Yacyshyn
> > Joel Bernstein > http://joelsolr.blogspot.com/ > > On Sun, May 1, 2016 at 4:02 AM, Ryan Yacyshyn > wrote: > > > Hi all, > > > > I'm exploring with parallel SQL queries and found something strange after > > reloading the collection: the same q

Parallel SQL Interface returns "java.lang.NullPointerException" after reloading collection

2016-05-01 Thread Ryan Yacyshyn
Hi all, I'm exploring with parallel SQL queries and found something strange after reloading the collection: the same query will return a java.lang.NullPointerException error. Here are my steps on a fresh install of Solr 6.0.0. *Start Solr in cloud mode with example* bin/solr -e cloud -noprompt *

Re: Spellcheck response format differs between a single core and SolrCloud

2016-01-11 Thread Ryan Yacyshyn
ingle-core > solr running a 4.x version with the cloud solr running 5.x ? If they are > both on the same major version, then we have a bug. > > James Dyer > Ingram Content Group > > > -Original Message- > From: Ryan Yacyshyn [mailto:ryan.yacys...@gmail.com] > Sen

Spellcheck response format differs between a single core and SolrCloud

2016-01-10 Thread Ryan Yacyshyn
Hello, I am using the spellcheck component for spelling suggestions and I've used the same configurations in two separate projects, the only difference is one project uses a single core and the other is a collection on SolrCloud with three shards. The single core has about 56K docs and the one on

Re: Spellcheck on first character

2015-11-27 Thread Ryan Yacyshyn
On Fri, 27 Nov 2015 at 19:50 Alessandro Benedetti > > > wrote: > > > > > Hi Ryan, > > > "eappointment" has a Leveinstein distance of 1 edit from "appointment" > ( 1 > > > insertion) . > > > There's should be

Re: Spellcheck on first character

2015-11-27 Thread Ryan Yacyshyn
sertion) . > There's should be any problem to provide that suggestion, as the solr > spellcheck supports up to 2 edits as a maximum distance. > > Cheers > > On 27 November 2015 at 03:41, Ryan Yacyshyn > wrote: > > > Hi all, > > > > Is it possible to provi

Spellcheck on first character

2015-11-26 Thread Ryan Yacyshyn
Hi all, Is it possible to provide spelling suggestions if it's just the first character that's wrong (or has an additional character added)? We have users querying for "eappointment" when they should just be searching for "appointment". I'd like to show "appointment" as a spelling suggestion for

Re: Spell checking the synonym list?

2015-07-10 Thread Ryan Yacyshyn
indexed term and will suggest "attorney". > > You'll need to have the same synonyms set up against the query field, but > you have the option of making these query-time synonyms if you prefer. > > James Dyer > Ingram Content Group > > -Original Message---

Spell checking the synonym list?

2015-07-09 Thread Ryan Yacyshyn
Hi all, I'm wondering if it's possible to have spell checking performed on terms in the synonym list? For example, let's say I have documents with the word "lawyer" in them and I add "lawyer, attorney" in the synonyms.txt file. Then a query is made for the word "atorney". Is there any way to prov

Re: A Synonym Searching for Phrase?

2015-05-24 Thread Ryan Yacyshyn
icles/205359448 > > > > On Thu, May 14, 2015 at 11:30 PM, Chris Morley > wrote: > > > I have implemented that but it's not open sourced yet. It will be soon. > > > > -Chris. > > > > > > > > > > --

A Synonym Searching for Phrase?

2015-05-14 Thread Ryan Yacyshyn
Hi All, I'm running into an issue where I have some tokens that really mean the same thing as two. For example, there are a couple ways users might want to search for certain type of visa called the "s pass", but they might query for spass or s-pass. I thought I could add a line in my synonym fil

Re: AW: AW: Keeping capitalization in suggestions?

2014-12-09 Thread Ryan Yacyshyn
Hi Clemens, I recently added typeahead functionality to something I'm playing with and I used the EdgeNGramFilterFactory to help. I just tried this out after adding a doc with "Chamäleon" in my title. I was able to get "Chamäleon", with a capital C, returned I searched for chama, Chama, chamã, an

Re: Creating a Custom Query Response Writer

2014-12-07 Thread Ryan Yacyshyn
n case you wanted to get different pieces of > the response, possibly. Also, if you had your own custom JSON format > writer it could become problematic later on if Solr’s internal APIs changed > and you needed to upgrade (or worse, maintain multiple versions). > > Erik > >

Re: Creating a Custom Query Response Writer

2014-12-06 Thread Ryan Yacyshyn
d <http://localhost:8983/solr/ > collection1/select?q=name:ip*&wt=velocity&v.template=typeahead> results > in this response: > > > Belkin Mobile Power Cord for iPod w/ Dock > iPod & iPod Mini USB 2.0 Cable > Apple 60 GB iPod with Video Pl

Creating a Custom Query Response Writer

2014-12-05 Thread Ryan Yacyshyn
Hey Everyone, I'm a little stuck on building a custom query response writer. I want to create a response writer similar to the one explained in the book, Taming Text, on the TypeAheadResponseWriter. I know I need to implement the QueryResponseWriter, but I'm not sure where to find the Solr JAR fil