word delimiter

2010-08-05 Thread j
I have UPPER12-lower and would like to be able to find it with queries "UPPER" or "lower". What should break this up for the index? A tokenizer or a filter such as WordDelimiterFilterFactory? I have tried various combinations of parameters to WordDelimiterFilterFactory and cant get it to split pro

dismax debugging hyphens dashes

2010-08-07 Thread j
How does one debug index vs. dismax query parser? I have a solr instance with 1 document whose title is "ABC12-def". I am using dismax. While "abc", "12", and "def" do match, "abc12" and "def" do not. Here is a the parsedquery_toString, I'm having trouble understanding it: +(id:abc12^3.0 | title:

uniqueKey and custom fieldType

2010-08-13 Thread j
Does fieldType have any effect on the thing that I specify should be unique? uniqueKey has been working for me up until recently. I change the field that is unique from type "string" to a fieldType that I have defined. Now when I do an update I get a newly created document (so that I have duplicat

Re: uniqueKey and custom fieldType

2010-08-15 Thread j
uld affect the uniqueness of a different field called "id". In order to make even a guess, we'd have to see your new field type. Particularly its field definitions and the analysis chain... Best Erick On Fri, Aug 13, 2010 at

Re: uniqueKey and custom fieldType

2010-08-15 Thread j
re to try to explain/predict/implement. Likely whatever behavior you do get is just whatever falls out of the code. I'm not even sure any attempt is made to enforce uniqueness on an analyzed field. HTH Erick On Sun, Aug 15, 2010 at 11:59 AM, j wrote: > I guess another way to pose the

Getting unique key of a document inside of a Similarity class.

2015-02-19 Thread J-Pro
Good afternoon. I need to uniquely identify a document inside of a Similarity class during scoring. Is it possible to get value of unique key of a document at this point? For some time I though I can use internal docID for achieving that. Method score(int doc, float freq) is called after eve

Re: Getting unique key of a document inside of a Similarity class.

2015-02-19 Thread J-Pro
Thank you for your answer, Chris. I will reply with inline comments as well. Please see below. : I need to uniquely identify a document inside of a Similarity class during : scoring. Is it possible to get value of unique key of a document at this : point? Can you tell us a bit more about your

Re: Getting unique key of a document inside of a Similarity class.

2015-02-19 Thread J-Pro
how are you defining/specifying these field weights? I define weights inside of a query (name:SomeName^7). it would help if you could give a concrete example of some sample docs, a sample query, and what results you would expect ... the sample input and sample output of the system you are int

Re: Getting unique key of a document inside of a Similarity class.

2015-02-20 Thread J-Pro
from all the examples of what you've described, i'm fairly certain all you really need is a TFIDF based Similarity where coord(), idf(), tf() and queryNorm() return 1 allways, and you omitNorms from all fields. Yeah, that's what I did in the very first iteration. It works only for cases #1 and

Data Import Handler - reading GET

2015-03-16 Thread Kiran J
Hi, In data import handler, I can read the "clean" query parameter using ${dih.request.clean} and pass it on to the queries. Is it possible to read any query parameter from the URL ? for eg ${foo} ? Thanks

Re: Solr custom component issue

2015-05-11 Thread j 90
unsubscribe On Mon, May 11, 2015 at 6:58 PM, Upayavira wrote: > attaching them to each request, then just add qf= as a param to the URL, > easy. > > On Mon, May 11, 2015, at 12:17 PM, nutchsolruser wrote: > > These boosting parameters will be configured outside Solr and there is > > seperate mod

DIH dataimport.properties Zulu time

2014-03-25 Thread Kiran J
Hi Is it possible to set up the data import handler so that it keeps track of the last imported time in Zulu time and not local time ? Its not very clear from the documentation how to do it or if it is even possible to do it. Ref: http://wiki.apache.org/solr/DataImportHandler#Configuring_The_Pr

Re: DIH dataimport.properties Zulu time

2014-03-27 Thread Kiran J
tag below somehow. I tried setting locale="UTC" and it didnt work. On Tue, Mar 25, 2014 at 7:45 PM, Gora Mohanty wrote: > On 26 March 2014 02:44, Kiran J wrote: > > > > Hi > > > > Is it possible to set up the data import handler so that it keeps track &g

Re: DIH dataimport.properties Zulu time

2014-03-27 Thread Kiran J
us/library/ms187928.aspx On Thu, Mar 27, 2014 at 2:17 PM, Kiran J wrote: > Thank you for the response. This works if I invoke start.jar with java. In > my usecase however, I need to invoke start.jar directly (consoleless > service so that the user cannot close it accidentally

Example for DIH data source through query string

2013-07-15 Thread Kiran J
Hi, I want to dynamically specify the data source in the URL when invoking data import handler. I'm looking at this : http://wiki.apache.org/solr/DataImportHandler#solrconfigdatasource /home/username/data-config.xml com.mysql.jdbc.Driver jdbc:mysql://localhost/d

Re: Example for DIH data source through query string

2013-07-15 Thread Kiran J
(Anonymous - via GTD book) > > > On Mon, Jul 15, 2013 at 2:56 PM, Kiran J wrote: > > > Hi, > > > > I want to dynamically specify the data source in the URL when invoking > data > > import handler. I'm looking at this :

Solr Thrift APIs

2013-04-13 Thread Kiran J
Hi, Is it possible to access Solr through thrift APIs ? Thanks

Multi dimensional spatial search

2013-05-10 Thread Kiran J
Hi, Does Solr support multi dimensional spatial search ? http://en.wikipedia.org/wiki/K-d_tree Thanks

Re: Multi dimensional spatial search

2013-05-24 Thread Kiran J
Thank you for the excellent explanation David. My use case is in the signal processing area. I have a wave that is in time domain & it is converted to frequency domain on 8 different bands (FFT) ie, an 8D point. The question for me is "If I have a set of waves (8D points) in the database and I hav

DIH Delete with Full Import

2013-02-12 Thread Kiran J
Hi, I'm using this configuration: http://wiki.apache.org/solr/DataImportHandlerDeltaQueryViaFullImport The wiki says: "In this case it means obviously that in case you also want to use deletedPkQuery then when running the delta-import command is still necessary." In this link: http://wiki.apach

Re: DIH Delete with Full Import

2013-02-13 Thread Kiran J
Thank you Ahmet. I figured it out. I had to define a separate entity which takes care of deletes. On Wed, Feb 13, 2013 at 1:32 AM, Ahmet Arslan wrote: > > define something like postImportDeleteQuery = "Select Id > > from > > delete_log_table". Can someone provide me an example ? > > pos

Re: Start solr from different folder / .Net code

2013-02-19 Thread Kiran J
t; save up codes as a bat file,then,start the bat > > will be ok > > > > > > -- Original -- > > From: "Kiran J"; > > Date: Sat, Feb 16, 2013 06:55 AM > > To: "solr-user"; > > > > Subject: Start solr from differe

SOLR - Recommendation on architecture

2013-03-08 Thread Kobe J
We are planning to use SOLR 4.1 for full text indexing. Following is the hardware configuration of the web server that we plan to install SOLR on:- *CPU*: 2 x Dual Core (4 cores) *R**AM:* 12GB *Storage*: 212GB *OS Version* – Windows 2008 R2 The dataset to be imported will have approx.. 800k

Grouping and sorting results

2012-01-31 Thread Vijay J
Hi, I'm running into some issues with solr scoring affecting ordering of query results. Is it possible to run a Solr boolean query to check if a document contains any search terms and get the results back without any scoring mechanism besides presence or absence of any of the search terms? Basical

Re: SolrIndex eats up lots of disk space for intermediate data

2012-06-23 Thread Harsh J
uce job (solrindex). > > What can I do to reduce the intermediate data being generated for > solrindex? Any configuration settings I should change? I'm using all the > defaults, for the indexing phase, and I'm not using any custom plugins > either. > > Thanks, > Safdar -- Harsh J

Re: occasional exception

2010-11-17 Thread j...@nuatech.net
gt; On Wed, Nov 17, 2010 at 4:48 AM, j...@nuatech.net > wrote: > > Hi Richard, > > My full schema.xml is below (and attached). Do you want me to raise this > in > > Jira? > > Regards, > -- _ John G. Moylan

occasional exception

2010-11-19 Thread j...@nuatech.net
Hi, I setup a Solr infrastructure a couple of months ago. So far the system has worked well but I am occasionally getting stuck in loops where I keep getting 500's returned for commits. my Tomcat Catalina logs on the Solr master show the following issue: Nov 14, 2010 2:41:46 AM org.apache.solr

Re: command line parameters for solr

2010-12-11 Thread J O
That's cool, I am just looking to hire someone to do some solr work for me. Please advise what's the best way to reach out solr development community for contract help? /j On Dec 11, 2010, at 2:59 PM, Erick Erickson wrote: In general, it's discouraged to send private e-mails

copyFields, multiple terms -- IDF?

2011-02-02 Thread Martin J
Hi, I'm having a weirdness with indexing multiple terms to a single field using a copyField. An example: For document A field:contents_1 is a multivalued field containing "cat", "dog" and "duck" field:contents_2 is a multivalued field containing "cat", "horse", and "flower" For document B field:c

Re: copyFields, multiple terms -- IDF?

2011-02-02 Thread Martin J
On a closer review, i am noticing that the fieldNorm is what is killing document A. If I reindex with omitNorms=true, will this problem be "solved"? On Wed, Feb 2, 2011 at 4:54 PM, Martin J wrote: > Hi, I'm having a weirdness with indexing multiple terms to a single field &

Filter query not null or in list

2012-09-27 Thread Kiran J
Hi everyone, I have a group field which restricts the permission for each user. A user can belong to multiple groups. A document can belong to only Group (ie) non multi valued. There are some documents which are unrestricted, hence group id is null. How can I use the filter for a given user so tha

Re: Filter query not null or in list

2012-09-28 Thread Kiran J
Thank you Jack, that works. Kiran On Thu, Sep 27, 2012 at 5:18 PM, Jack Krupansky wrote: > Add a "*:*" before the negative query. > > (*:* -Group:[* TO *]) OR Group:(X OR Y OR Z) > > -- Jack Krupansky > > -Original Message- From: Kiran J Sent: Thursday,

DIH scheduling

2012-10-17 Thread Kiran J
Hi everyone, Does Solr have out of the box data import handler scheduling ? This link looks like I need to run an additional JAR. http://wiki.apache.org/solr/DataImportHandler?highlight=%28%28DataImportHandler%29%29#Scheduling I need to invoke the import from .Net environment, so I'd like to avo

Solr Replication

2009-08-25 Thread J G
Hello, We are running multiple slices in our environment. I have enabled JMX and I am inspecting the replication handler mbean to obtain some information about the master/slave configuration for replication. Is the replication handler mbean a singleton? I only see one mbean for the entire serv

RE: Solr Replication

2009-08-26 Thread J G
slave section has a masterUrl > which points to master and REPEATER_SLAVE will have a slave section > which has a masterurl pointing to repeater > > > > > > > On Wed, Aug 26, 2009 at 12:40 AM, J G wrote: > > > > Hello, > > > > We are running

master/slave replication issue

2009-08-26 Thread J G
Hello, I'm having an issue getting the master to replicate its index to the slave. Below you will find my configuration settings. Here is what is happening: I can access the replication dashboard for both the slave and master and I can successfully execute HTTP commands against both of t

RE: Solr Replication

2009-08-27 Thread J G
instance of solr? So your JMX > console is connecting to only one solr? > > On Thu, Aug 27, 2009 at 3:19 AM, J G wrote: > > > > Thanks for the response. > > > > It's interesting because when I run jconsole all I can see is one > > ReplicationHandler jmx

ExtractingRequestHandler commitWithin

2009-11-23 Thread j philoon
Any chance of getting the ExtractingRequestHandler to use the commitWithin parameter? -- View this message in context: http://old.nabble.com/ExtractingRequestHandler-commitWithin-tp26478144p26478144.html Sent from the Solr - User mailing list archive at Nabble.com.

PatternTokenizer question

2009-11-24 Thread j philoon
I have defined a comma-delimited pattern tokenizer as follows: This appears to work fine when adding documents, since if I add a field commafld as "word1,WORD2,word 3" I see terms in the index as expected: "word1", "word2", and "word 3". When I query,

Re: PatternTokenizer question

2009-11-24 Thread j philoon
I think the answer to my question is contained in the wiki when discussing the SynonymFilter, "The Lucene QueryParser tokenizes on white space before giving any text to the Analyzer". This would indeed explain what I am getting. Next question - can I avoid that behavior? j phi

solr jmx connection

2009-07-10 Thread J G
Hello, I have a SOLR JMX connection issue. I am running my JMX MBeanServer through Tomcat, meaning I am using Tomcat's MBeanServer rather than any other MBeanServer implemenation. I am having a hard time trying to figure out the correct JMX Service URL on my localhost for the accessing the SO

JMX monitoring for multiple SOLR instances

2009-07-14 Thread J G
Hi, If I want to run multiple SOLR war files in tomcat is it possible to monitor each of the SOLR instances individually through JMX? Has anyone attempted this before? Also, what are the implications (e.g. performance) of runnign mulitple SOLR instances in the same tomcat server? Thanks.

Obtaining SOLR index size on disk

2009-07-17 Thread J G
Hello, Is it possible to obtain the SOLR index size on disk through the SOLR API? I've read through the docs and mailing list questions but can't seem to find the answer. Any help is appreciated. Thanks. _ Hotmail® has ever-gr

Search Multiple indexes In Solr

2007-11-07 Thread j 90
Hi, I'm new to Solr but very familiar with Lucene. Is there a way to have Solr search in more than once index, much like the MultiSearcher in Lucene ? If so how so I configure the location of the indexes ?

Re: Solr 1.3 expected release date

2007-12-19 Thread j 90
Thums up - w00t On Dec 14, 2007 1:21 AM, Norberto Meijome <[EMAIL PROTECTED]> wrote: > On Wed, 12 Dec 2007 20:04:00 -0500 > "Norskog, Lance" <[EMAIL PROTECTED]> wrote: > > > ... SOLR-303 (Distributed Search over HTTP)... > > > > Woo-hoo! > > hear hear!!! > _ > {Beto|Norber

i think it is time to release new solr version

2008-01-27 Thread j . L
because lucene 2.3.0 today released.. -- regards j.L

Re: question about fl=score

2008-03-20 Thread j . L
2008/3/20 李银松 <[EMAIL PROTECTED]>: > 1、When I set fl=score ,solr returns just as fl=*,score ,not just scores > Is it a bug or just do it on purpose? u can set fl=id,score, solr not support the style like fl=score > My customer want to get the 1th-10010th added docs > So I have to sort by t

Re: Chinese Language + Solr

2008-05-14 Thread j . L
u can try je-analyzer,,,i building 17m docs search site by solr and je-analyzer On Thu, May 15, 2008 at 6:44 AM, Walter Underwood <[EMAIL PROTECTED]> wrote: > N-gram works pretty well for Chinese, there are even studies to > back that up. > > Do not use the N-gram matches for highlighting. They

Re: Chinese Language + Solr

2008-05-14 Thread j . L
if commercial analyzers, i recommend http://www.hylanda.com/(it is the best analyzer in chinese word) On Thu, May 15, 2008 at 8:32 AM, j. L <[EMAIL PROTECTED]> wrote: > u can try je-analyzer,,,i building 17m docs search site by solr and > je-analyzer > > > On Thu, Ma

Re: Chinese Language + Solr

2008-05-14 Thread j . L
if u can read chinese and wanna write ur chinese-analyzer,,, maybe u can see it http://www.googlechinablog.com/2006/04/blog-post_10.html 2008/5/15 j. L <[EMAIL PROTECTED]>: > if commercial analyzers, i recommend > http://www.hylanda.com/(it<http://www.hylanda.com/%28it>is

Re: Chinese Language + Solr

2008-05-14 Thread j . L
I don't know the cost. I know the bigger chinese search use it. More chinese people who study and use full-text search think it is the best chinese analyzer which u can buy. Baidu(www.baidu.com), is the biggest chinese search, and googlechina is the No 2. Baidu not use it (http://www.hylanda.c

anyone use hadoop+solr?

2008-05-19 Thread j . L
can u talk about it ? maybe i will use hadoop + solr. thks for ur advice. -- regards j.L

Re: Chinese Language + Solr

2008-05-28 Thread j . L
On Thu, May 15, 2008 at 11:25 PM, Walter Underwood <[EMAIL PROTECTED]> wrote: > I've worked with the Basis products. Solid, good support. > Last time I talked to them, they were working on hooking > them into Lucene. > i don't know basis product. but i know google use it and in china, google.cnno

Re: Deleting Solr index

2008-06-18 Thread j . L
just rm -r SOLR_DIR/data/index. 2008/6/18 Mihails Agafonovs <[EMAIL PROTECTED]>: > How can I clear the whole Solr index? > Ar cieņu, Mihails -- regards j.L

Importing a csv file encapsulated by " creates a large copyField field of all fields combined.

2019-10-21 Thread rhys J
I am trying to import a csv file to my solr core. It looks like this: "user_id","name","email","client","classification","default_client","disabled","dm_password","manager" "A2M","Art Morse","amo...@morsemoving.com","Morse Moving","Morse","","X","blue0show","" "ABW","Amy Wiedner","amy.wied...@pyr

Re: Importing a csv file encapsulated by " creates a large copyField field of all fields combined.

2019-10-21 Thread rhys J
ttps://github.com/apache/lucene-solr/blob/master/solr/example/films/README.txt#L39 > Also reference documentation: > > https://lucene.apache.org/solr/guide/8_1/uploading-data-with-index-handlers.html > > Regards, >Alex. > > On Mon, 21 Oct 2019 at 13:04, rhys J wrote: &g

Re: Importing a csv file encapsulated by " creates a large copyField field of all fields combined.

2019-10-21 Thread rhys J
Thank you, that worked perfectly. I can't believe I didn't notice the separator was a tab.

using the df parameter to set a default to search all fields

2019-10-22 Thread rhys J
How do I make Solr search on all fields in a document? I read the documentation about the df field, and added the following to my solrconfig.xml: explicit 10 _text_ in my managed-schema file i have the following: I have deleted the documents, and re-indexed the c

Re: using the df parameter to set a default to search all fields

2019-10-22 Thread rhys J
> Solr does not have a way to ask for all fields on a search. If you use > the edismax query parser, you can specify multiple fields with the qf > parameter, but there is nothing you can put in that parameter as a > shortcut for "all fields." Using qf with multiple fields is the > cleanest way to

Parts of the Json response to a curl query are arrays, and parts are hashes

2019-10-25 Thread rhys J
Is there some reason that text_general fields are returned as arrays, and other fields are returned as hashes in the json response from a curl query? Here's my curl query: curl "http://10.40.10.14:8983/solr/dbtr/select?indent=on&q=debtor_id:393291"; Here's the response: response":{"numFound":1,

Re: Parts of the Json response to a curl query are arrays, and parts are hashes

2019-10-25 Thread rhys J
> > > > "dl2":["Great Plains"], > > "do_not_call":false, > > There are no hashes inside the document. If there were, they would be > surrounded by {} characters. The whole document is a hash, which is why > it has {} characters. Referring to the snippet that I included above,

Re: Parts of the Json response to a curl query are arrays, and parts are hashes

2019-10-28 Thread rhys J
> Did you reload the core/collection or restart Solr so the new schema > would take effect? If it's SolrCloud, did you upload the changes to > zookeeper and then reload the collection? SolrCloud does not use config > files on disk. > So I have not done this part yet, but I noticed some things in

Re: Parts of the Json response to a curl query are arrays, and parts are hashes

2019-10-28 Thread rhys J
I forgot to include the fields created through the API: Thanks, Rhys On Mon, Oct 28, 2019 at 11:30 AM rhys J wrote: > > >> Did you reload the core/collection or restart Solr so the new schema >> would take effect? If it's SolrCl

creating a core with a custom managed-schema

2019-11-04 Thread rhys J
I have created a tmp directory where I want to have reside custom managed-schemas to use when creating cores. /tmp/solr_schema/CORENAME/managed-schema Based on this page: https://lucene.apache.org/solr/guide/7_0/coreadmin-api.html#coreadmin-create , I am running the following command: sudo -u so

Re: creating a core with a custom managed-schema

2019-11-04 Thread rhys J
On Mon, Nov 4, 2019 at 1:36 PM Erick Erickson wrote: > Well, just what it says. -schema isn’t a recognized parameter, where did > you get it? Did you try bin/solr create -help and follow the instructions > there? > > I am confused. This page: https://lucene.apache.org/solr/guide/7_0/coreadmin-ap

Using solr API to return csv results

2019-11-07 Thread rhys J
If I am using the Solr API to query the core, is there a way to tell how many documents are found if i use wt=CSV? Thanks, Rhys

different results in numFound vs using the cursor

2019-11-11 Thread rhys J
i am using this logic in perl: my $decoded = decode_json( $solrResponse->{_content} ); my $numFound = $decoded->{response}{numFound}; $cursor = "*"; $prevCursor = ''; while ( $prevCursor ne $cursor ) { my $solrURI = "\"http://[SOLR URL]:8983/solr/"; $solrURI .= $fdat{core}; $solrSort = (

Re: different results in numFound vs using the cursor

2019-11-12 Thread rhys J
On Mon, Nov 11, 2019 at 8:32 PM Chris Hostetter wrote: > > Based on the info provided, it's hard to be certain, but reading between > the lines here are hte assumptions i'm making... > > 1) your core name is "dbtr" > 2) the uniqueId field for the "dbtr" core is "debtor_id" > > ..are those assumpt

using fq means no results

2019-11-12 Thread rhys J
If I do this query in the browser: http://10.40.10.14:8983/solr/debt/select?q=(clt_ref_no:+owl-2924-8)^=1.0+clt_ref_no:owl-2924-8 I get 84662 results. If I do this query: http://10.40.10.14:8983/solr/debt/select?q=(clt_ref_no:+owl-2924-8)^=1.0+clt_ref_no:owl-2924-8&fq=clt_ref_no I get 0 result

Re: using fq means no results

2019-11-12 Thread rhys J
On Tue, Nov 12, 2019 at 11:57 AM Erik Hatcher wrote: > fq is a filter query, and thus narrows the result set provided by the q > down to what also matches all specified fq's. > > So this can be used instead of scoring? Or alongside scoring? > You gave it a query, "cat_ref_no", which literally l

Re: different results in numFound vs using the cursor

2019-11-12 Thread rhys J
On Tue, Nov 12, 2019 at 12:18 PM Chris Hostetter wrote: > > : > a) What is the fieldType of the uniqueKey field in use? > : > > : > : It is a textField > > whoa... that's not normal .. what *exactly* does the fieldType declaration > (with all analyzers) look like, and what does the declaration >

Re: different results in numFound vs using the cursor

2019-11-12 Thread rhys J
> : I am going to adjust my schema, re-index, and try again. See if that > : doesn't fix this problem. I didn't know that having the uniqueKey be a > : textField was a bad idea. > > > https://lucene.apache.org/solr/guide/8_3/other-schema-elements.html#OtherSchemaElements-UniqueKey > > "The fieldTyp

date fields and invalid date string errors

2019-11-13 Thread rhys J
I have date fields in my documents that are just -MM-DD. I set them as a pdate field in the schema as such: and When I use the API to do a search and try: 2018-01-01 [2018-01-01 TO NOW] I get 'Invalid Date String'. Did I type my data wrong in the schema? Is there something I'm missing

Re: date fields and invalid date string errors

2019-11-13 Thread rhys J
> If you use DateRangeField instead of DatePointField for your field's > class, then you can indeed use partial timestamps for both indexing and > querying. This only works with DateRangeField. > > I don't see that as an option in the API? Do I need to change what pdate's type is in the managed-sc

Re: date fields and invalid date string errors

2019-11-13 Thread rhys J
> You could do it that way ... but instead, I'd create a new fieldType, > not change an existing one. The existing name is "pdate" which implies > "point date". I would probably go with "daterange" or "rdate" as the > name, but that is completely up to you. > > I did that, deleted docs, stopped,

Query More Than One Core

2019-11-13 Thread rhys J
I have more than one core. Each core represents one database table. They are coordinated by debt_id/debtor_id, so we can do join statements on them with Sybase/SQL. Is there a way to query more than one core at a time, or do I need to do separate queries per core, and then somehow with perl aggre

Re: Query More Than One Core

2019-11-13 Thread rhys J
On Wed, Nov 13, 2019 at 3:16 PM Jörn Franke wrote: > You can use nested indexing and Index both types of documents in one core. > > https://lucene.apache.org/solr/guide/8_1/indexing-nested-documents.html I had read that, but it doesn't really fit our needs right now. I figured out how to do a

using gt and lt in a query

2019-11-14 Thread rhys J
I am trying to duplicate this line from a db query: (debt.orig_princ_amt > 0 AND debt.princ_paid > 0 AND debt.orig_princ_amt > debt.princ_paid) I have the following, but it returns no results: http://localhost:8983/solr/debt/select?q=orig_princ_amt

Re: using gt and lt in a query

2019-11-14 Thread rhys J
> Range queries are done with brackets and/or braces. A square bracket > indicates that the range should include the precise value mentioned, and > a curly brace indicates that the range should exclude the precise value > mentioned. > > > https://lucene.apache.org/solr/guide/8_2/the-standard-query

Re: using gt and lt in a query

2019-11-14 Thread rhys J
On Thu, Nov 14, 2019 at 1:28 PM Erick Erickson wrote: > You might be able to make this work with function queries…. > > > I managed to decipher something along the lines of this: http://10.40.10.14:8983/solr/debt/select?q=orig_princ_amt: 0 TO

using NOT or - to exclude results with a textField type

2019-11-15 Thread rhys J
I'm trying to exclude results based on the documentation about the boolean NOT symbol, but I keep getting errors. I've tried: http://localhost:8983/solr/debt/select?q=clt_ref_no:-”owl-2924-8” and http://localhost:8983/solr/debt/select?q=clt_ref_no:NOT”owl-2924-8” I have tried with and without

attempting to get an exact match on a textField

2019-11-15 Thread rhys J
I am trying to use the API to get an exact match on clt_ref_no. At one point, I was using ""s to enclose the text such as: clt_ref_no: "OWL-2924-8", and I was getting 5 results. Which is accurate. Now when I use it, I only get one match. If I try to build the url in perl, and then post the url,

Re: attempting to get an exact match on a textField

2019-11-16 Thread rhys J
I figured it out. It was a combination of problems. 1. not fully indexing the data. that made the result set return smaller than expected. 2. using the join statement without adding a field at the end of it to search the other core on. On Fri, Nov 15, 2019 at 1:39 PM rhys J wrote: > >

using scoring to find exact matches while using a cursormark

2019-11-18 Thread rhys J
I am trying to use scoring to get the expected results at the top of the stack when doing a Solr query. I am looking up clt_ref_no: OWL-2924-8^2 OR contract_number: OWL-2924-8^2 If I use the following query:in the browser, I get the expected results at the top of the returned values from Solr. {

Re: using scoring to find exact matches while using a cursormark

2019-11-18 Thread rhys J
> ...so w/o a score param you're getting the default sort: score "desc" > (descending)... > > > https://lucene.apache.org/solr/guide/8_3/common-query-parameters.html#CommonQueryParameters-ThesortParameter > > "If the sort parameter is omitted, sorting is performed as though > the >

Attempting to do a join with 3 cores

2019-11-18 Thread rhys J
I was hoping to be able to do a join with 3 cores. I found this page that seemed to indicate it's possible? https://stackoverflow.com/questions/52380302/solr-how-to-join-three-cores Here's my query: http://localhost:8983/solr/dbtrphon/select?indent=on&rows=1000&sort=score desc, id desc&q=(phone

exact matches on a join

2019-11-19 Thread rhys J
I am trying to do a join, which I have working properly on 2 cores. One core has report_as, and the other core has debt_id. If I enter 'report_as: "Freeman", I expect to get 272 results. But I get 557. When I do a database search on the matched fields, it shows me that report_as: "Freeman" is ma

Re: exact matches on a join

2019-11-21 Thread rhys J
On Thu, Nov 21, 2019 at 8:04 AM Jason Gerlowski wrote: > Are these fields "string" or "text" fields? > > Text fields receive analysis that splits them into a series of terms. > That's why the query "Freeman" matches the document "A-1 Freeman". > "A-1 Freeman" gets split up into multiple terms, an

Highlighting on typing in search box

2019-11-21 Thread rhys J
Are there any recommended APIs or code examples of using Solr and then highlighting results below the search box? I'm trying to implement a search box that will search solr as the user types, if that makes sense? Thanks, Rhys

Re: Highlighting on typing in search box

2019-11-21 Thread rhys J
e suggester of Solr. > > For the visualization part: Angular has a suggestion box that can ingest > the results from Solr. > > > Am 21.11.2019 um 16:42 schrieb rhys J : > > > > Are there any recommended APIs or code examples of using Solr and then > > highlighting result

How to tell which core was used based on Json or XML response from Solr

2019-11-22 Thread rhys J
I'm implementing an autocomplete search box for Solr. I'm using JSON as my response style, and this is the jquery code. var url='http://10.40.10.14:8983/solr/'+core+'/select/?q='+queryField + query+'&version=2.2&hl=true&start=0&rows=50&indent=on&wt=json&callback=?&json.wrf=on_data'; jQuery_3

Re: How to tell which core was used based on Json or XML response from Solr

2019-11-22 Thread rhys J
On Fri, Nov 22, 2019 at 1:39 PM David Hastings wrote: > 2 things (maybe 3): > 1. dont have this code facing a client thats not you, otherwise anyone > could view the source and see where the solr server is, which means they > can destroy your index or anything they want. put at the very least a

Re: How to tell which core was used based on Json or XML response from Solr

2019-11-25 Thread rhys J
On Mon, Nov 25, 2019 at 2:10 AM Erik Hatcher wrote: > add &core=&echoParams=all and the parameter will be in the response > header. > >Erik > Thanks. I just tried this, and all I got was this response: http://localhost:8983/solr/dbtr/select?q=debtor_id%3A%20393291&echoParams=all

Re: How to tell which core was used based on Json or XML response from Solr

2019-11-25 Thread rhys J
> if you are taking the PHP route for the mentioned server part then I would > suggest > using a client library, not plain curl. There is solarium, for instance: > > https://solarium.readthedocs.io/en/stable/ > https://github.com/solariumphp/solarium > > It can use curl under the hood but you can

Re: How to tell which core was used based on Json or XML response from Solr

2019-11-25 Thread rhys J
On Mon, Nov 25, 2019 at 1:10 AM Paras Lehana wrote: > Hey rhys, > > What David suggested is what we do for querying Solr. You can figure out > our frontend implementation of Auto-Suggest by seeing the AJAX requests > fired when you type in the search box on www.indiamart.com. > That is pretty c

Re: How to tell which core was used based on Json or XML response from Solr

2019-11-25 Thread rhys J
On Mon, Nov 25, 2019 at 10:43 AM David Hastings < hastings.recurs...@gmail.com> wrote: > you missed the part about adding &core= to the query: > &echoParams=all&core=mega > > returns for me: > > "responseHeader":{ > "status":0, > "QTime":0, > "params":{ > "q":"*:*", > "cor

Using an & in an indexed field and then querying for it.

2019-11-25 Thread rhys J
I have some fields that have text like so: Reliable Van & Storage. They indexed fine when I used curl and csv files to read them into the core. Now when I try to query for them, I get errors. If I try escaping it like so \&, I get the following error: on_data({ "responseHeader":{ "status

Re: Using an & in an indexed field and then querying for it.

2019-11-25 Thread rhys J
On Mon, Nov 25, 2019 at 2:36 PM David Hastings wrote: > its breaking on the & because its in the url and you are most likely > sending a get request to solr. you should send it as post or as %26 > > The package I am using doesn't have a postJSON function available, so I'm using their getJSON fun

Search returning unexpected matches at the top

2019-12-06 Thread rhys J
I have a search box that is just searching every possible core, and every possible field. When I enter 'owl-2924-8', I expect the clt_ref_no of OWL-2924-8 to float to the top, however it is the third result in my list. Here is the code from the search: on_data({ "responseHeader":{ "status"

Re: Search returning unexpected matches at the top

2019-12-06 Thread rhys J
On Fri, Dec 6, 2019 at 11:21 AM David Hastings wrote: > whats the field type for: > clt_ref_no > It is a text_general field because it can have numbers or alphanumeric characters. *_no isnt a default dynamic character, and owl-2924-8 usually translates > into > owl 2924 8 > > So it's matching o

  1   2   3   4   >