RE: Solr Search cause high CPU with **

2020-03-03 Thread email
According to the documentation, the standard query parser uses asterisks to do wild card searches[1]. If you do not need to do wildcard queries and what you are trying to do is to use the asterisks as a search term, you should escape it[2] [1] https://lucene.apache.org/solr/guide/6_6/the-standard-

RE: For Hierarchical data structure is Graph Query a good option ?

2020-01-30 Thread email
What about a graph database? It is the right tool for this kind of problem -Original Message- From: sambasivarao giddaluri Sent: Wednesday, January 29, 2020 2:31 PM To: solr-user@lucene.apache.org Subject: For Hierarchical data structure is Graph Query a good option ? Hi , I have a da

What do you recommend to do bulk searches?

2020-01-30 Thread email
Dear Community, I have a Solr cluster with an index containing approximately 100+ million addresses. I need to do a bulk search with the same number of addresses in order to find near-duplicate entities. Is there anything specific that I should look for before doing so? At the moment

RE: Is it possible to have different Stop words depending on the value of a field?

2019-12-02 Thread email
Thank you for jumping in @hastings.recurs...@gmail.com I have an index with raw addresses in a nonstandardized format such as "123 main street" or "main street 123", and I am looking to search this index and pull the closest addresses from another raw input with a similar unpredictable format.

RE: Is it possible to have different Stop words depending on the value of a field?

2019-12-02 Thread email
That makes sense, thank you for the clarification! @wun...@wunderwood.org If you can, please build on your explanation as It sounds relevant. -Original Message- From: Dave Sent: Monday, December 2, 2019 7:38 PM To: solr-user@lucene.apache.org Cc: jornfra...@gmail.com Subject: Re: Is it

RE: Is it possible to have different Stop words depending on the value of a field?

2019-12-02 Thread email
To clarify, a document would look like this : { address: "123 main Street", country : "US" } What I'd like to do when I configure my index is to apply a set of different stop words to the address field depending on the value of the country. For example, something like this : If (country

Is it possible to use the Lucene Query Builder? Is there any API to create boolean queries?

2019-11-27 Thread email
I am trying to simulate the following query(Lucene query builder) using Solr BooleanQuery.Builder main = new BooleanQuery.Builder(); Term t1 = new Term("f1","term"); Term t2 = new Term("f1","second"); Term t3 = new Term("f1","another"); BooleanQuery.Builder q1 = new BooleanQuery.Builder(); q

Re: Problem with html code inside xml

2007-10-03 Thread [EMAIL PROTECTED]
well... the xml output has changed and I receive hh sic! So the problem is not a problem... Thanks Steve Le 3 oct. 07 à 01:09, Chris Hostetter a écrit : : I created a field type: : : positionIncrementGap="100"> ... : Everything works (the div tags, p tags a

Re: Problem with html code inside xml

your content to protect these xml entities: < -> < -> > " -> " & -> & If you use perl, have a look at HTML::Entities. AFAIR you cannot use tags, they always are getting transformed to entities. The solution is to have a xsl transformation after the

Problem with html code inside xml

Hello, I've got some problem with html code who is embedded in xml file: Sample source . Les débats Le premier tour des élections fédérales se déroulera le 21 octobre prochain. D'ici là, La 1ère vous prop

Re: mandatory and optional fields in the dismaxrequesthandler

Chris Hostetter wrote: : : : : text^0.5 features^1.0 name^1.2 manu^1.1 : : : > if the q param is: albino elephant ... what would it mean that text and : > feature are mandatory? do both words have to appear in text and in : > feature, or just one in each? : What I wanted

Re: mandatory and optional fields in the dismaxrequesthandler

Chris Hostetter wrote: : Is it possible to specify precisely one or more mandatory fields in a : DismaxRequestHandler? what would the semantics making a field mandatory mean? considering your specific example... : : text^0.5 features^1.0 name^1.2 sku^1.5 id^10.0 manu^1.1 cat^1.4

mandatory and optional fields in the dismaxrequesthandler

Hello, Is it possible to specify precisely one or more mandatory fields in a DismaxRequestHandler? Something like that: explicit 0.01 text^0.5 features^1.0 name^1.2 sku^1.5 id^10.0 manu^1.1 cat^1.4 text^0.2 features^1.1 name^1.5 manu^1.4 manu_exact^1

Heap Out of Memory Error

Hi, I am running Solr within the Jetty using start.jar. I am indexing about 200,000 documents. Sometimes out of the blue, the Solr instance cannot process any more requests and returns "heap out of memory" error. This happens more often when I issue queries against the index that is being upda

Re: Interesting Practical Solr Question

en the list and the prospects in it. Thanks, Av - Original Message From: Erik Hatcher <[EMAIL PROTECTED]> To: solr-user@lucene.apache.org Sent: Tuesday, May 22, 2007 9:09:13 AM Subject: Re: Interesting Practical Solr Question On May 22, 2007, at 10:07 AM, Will Johnson wrote: > 2) E

Interesting Practical Solr Question

Hi, I use Solr to search through a set of about 200,000 documents. Each document has a numeric ID. How to do the following: 1) I use facets and want to return the facets for "all documents" as the starting point of the user interface. In other words, I want to /select the facet counts for ab

Re: Solr Update Handler Failes with Some Doc Characters

Hi, I tried CDATA. It fails the same way. I will try to check of the utf8-example.xml works ok (I just have to change it to match my schema). I just ran a test by adding (R) symbolt into the XML to get the exact error message. See below. Thanks, Av *** SUBMITTED REQUEST *** (as captured by HT

Re: Solr Update Handler Failes with Some Doc Characters

update handler fails to parse the XML. Thanks, Av - Original Message From: Yonik Seeley <[EMAIL PROTECTED]> To: solr-user@lucene.apache.org Sent: Wednesday, May 9, 2007 10:45:43 AM Subject: Re: Solr Update Handler Failes with Some Doc Characters On 5/9/07, [EMAIL PROTECTED] &

Solr Update Handler Failes with Some Doc Characters

Hi, I run the example using Jetty on Windows 2003 machine. When I submit some documents containing upper ASCII characters, Solr update handler fails with an XML parsing error saying that it encountered an EOF before the closing tags. The XML is perfectly correct and is using utf-8 encoding. It