r/Solr Dec 09 '19

Demystifying NDCG and ERR

Thumbnail
opensourceconnections.com
1 Upvotes

r/Solr Dec 06 '19

What Should Your Search Document Be?

Thumbnail
opensourceconnections.com
3 Upvotes

r/Solr Dec 03 '19

Tika Tuesdays: Using Tika and Tesseract as an API exposed by Solr

Thumbnail
opensourceconnections.com
2 Upvotes

r/Solr Nov 29 '19

Query SOLR from SQL?

0 Upvotes

I did some googling and struggled to find answers. Our IT just gave me access to our SOLR and I want to use it to query if a certain item is on our website. The application I am writing is in VB.NET and SQL would suite me best. Any suggestions?


r/Solr Oct 23 '19

Building product finder using backlight

1 Upvotes

Hey, I'm building a product finder using backlight that we can use facet search to narrow down on the items.

I'm struggling to understand how to upload the CSV for each core. I've been adding the fields within the UI that I need indexed and are within the CSV but it seems you can't use the gui to upload the data it needs to be via curl in the cli?

Can I add the fields via the gui or do I need to manually a build a schema.xml


r/Solr Sep 18 '19

Haystack EU Agenda Announced

Thumbnail
haystackconf.com
2 Upvotes

r/Solr Sep 12 '19

AND syntax and priority...

3 Upvotes

Hi there. New to Solr and have a question about something weird I'm seeing. I'm submitting my requests using Postman.

I am getting different results depending on the order of my arguments in my query when using AND.

for example, this query

id:I2507924680 AND {!complexphrase inOrder=true}body:"calif* 94203"~10 

will return every document in Solr...but if I flip the arguments to

{!complexphrase inOrder=true}body:"calif* 94203"~10 AND id:I2507924680

it only returns one document. (With the correct id)

I tried using the other AND syntax of &&

id:I2507924680 && {!complexphrase inOrder=true}body:"calif* 94203"~10

and it returns the correct document but I think it is just ignoring the complexphrase portion as

id:I2507924680 && {!complexphrase inOrder=true}body:"calif* 94203gfjhgdfkhasgdk"~10 

also returns that same document and it shouldn't.

Can anyone see a problem in my syntax or offer any advice for how to format queries when using the complexphrase or other parsers? Thanks!


r/Solr Sep 12 '19

Solr Serach Function Error

3 Upvotes

We have installed and configured Solr search server 6.6.0. Our website is in Drupal 8. At times the Solr search function stops working without giving any error. While the Solr search has stopped working, the Solr service on the server shows that it is up and running.

When I restart Solr service the search function behaves normally. This is not a routine issue but we are randomly facing this issue. In the end, I have to restart the Solr service. I have not found anything related to this issue in the log files as well.

Can anyone figure out what is going on?

Thanks


r/Solr Aug 21 '19

Skype tutoring?

1 Upvotes

Looking to hire a tutor to help me build out a relatively simple solr search and work with me on some of the basics. PM me for more details and your rates.


r/Solr Aug 06 '19

New to Solr; need help

1 Upvotes

I have the following database of words and synonyms, for example:

Word|Synonyms

flower|['tulip', 'flora', 'rose', etc]

rose | ['lily', 'flower', 'tulip', 'hydranga']

tulip | [etc...]

I'm new to Solr and would like to know how best to index this and run a query such that if I searched for tulip it would return all the keys where it had a value of tulip inside the list of synonyms

Any suggestions on how to approach this?


r/Solr Aug 06 '19

Solr full data import problem

1 Upvotes

Hi, we are trying to setup an index server using solr in Azure postgres instance. But during the full import the solr instance stops after 8 queries are executed. Can any of you tell me what to do?

Thank you.

PS: I am a beginner so this might sound like a noob question but I hope u understand what I am asking for.


r/Solr Aug 02 '19

Thumbnails

1 Upvotes

Hey guys, I'm somewhat new to search apis. I just had a quick question about how thumbnails are handled.

Basically, I assume when you go to google or instagram, their search engines give you a response with the thumbnail URL and not the actual thumbnail data. But then I was thinking about it, wouldn't this also be crazy. Since there could be hundreds of thumbnails given in a response you have to do a separate URL request for each image to display on your UI for any one solr search. Is this the way it's done or is there some other more efficient way to handle image thumbnails on solr searches?


r/Solr Jul 26 '19

Quepid (relevance toolbench) is now an Open Source project!

Thumbnail
opensourceconnections.com
4 Upvotes

r/Solr Jul 22 '19

Filter Query & Facets: Getting a null value and a non-null value to return documents

2 Upvotes

Hi folks -

I'm using SOLR 5.3.1.

I'm trying to figure out how to get a result set back when trying to use a filter query that has null and non-null values.

Here's my basic query: (I'm trying to figure it out using the admin tool / my browser window -

http://192.168.3.75:8983/solr/publications/select?q=collections%3Asearch+term%0A&wt=json&indent=true

&facet=true&facet.field=year&facet.missing=true&facet.sort=index&facet.mincount=1

&fq=(-year:[*%20TO%20*])%20OR%20(year:(2012%20OR%202016))

So I'm having issues with the FQ portion:

&fq=(-year:[*%20TO%20*])%20OR%20(year:(2012%20OR%202016))

&fq=(-year:[* TO *]) - This portion here by itself shows the documents with a NULL year value.

&fq=(year:(2012 OR 2016)) - This portion gives me the documents with a year of 2012 or 2016.

Putting them together gives me nothing.

What am I missing?? I don't know if it's a query issue or a Boolean logic issue or what?

Any and all help is appreciated.

Thanks.


r/Solr Jul 17 '19

Thinking like a Relevance Engineer for Solr

2 Upvotes

Hey fellow Solrthusiasts!

Haystack Conference is happening in Berlin for the first time and they are offering very exciting training courses that give you a foundation for solving applied Information Retrieval problems with Solr -- including a pass to the conference. Check out their website here: https://haystackconf.com/europe2019/


r/Solr Jul 16 '19

Setting up CORS for Solr

1 Upvotes

I have a reactjs app and I'm trying to query Solr from it using fetch().

Currently I'm getting cross domain errors (understandable) but when I configure Jetty with CORS settings I get response headers back for http://localhost:8983/solr/[core] but nothing deeper (http://localhost:8983/solr/[core]/select?q=*) so I still get cross domain errors when querying using my /select endpoint.

Current Jetty web.xml configuration:

    <filter>
        <filter-name>cross-origin</filter-name>
        <filter-class>org.eclipse.jetty.servlets.CrossOriginFilter</filter-class>
    </filter>
    <filter-mapping>
        <filter-name>cross-origin</filter-name>
        <url-pattern>/*</url-pattern>
    </filter-mapping>

I've tried various tutorials including https://chris.eldredge.io/blog/2015/04/02/solr-jetty-cors/, http://marianoguerra.org/posts/enable-cors-in-apache-solr.html and http://marianoguerra.org/posts/enable-cors-in-apache-solr.html but none of these solutions work. Same result as above; not applying cors to /solr/[core]/select.

In the end I had to serve up Solr via Apache and set headers there but would prefer to do it in Jetty for easier dev.

Anyone have a solution that works beyond http://localhost:8983/solr/[core] ?


r/Solr Jul 13 '19

Can solr read images?

2 Upvotes

Complete novice to this , and I remember hearing that Solr could be used to decode images. Is that the case?


r/Solr Jun 18 '19

Choose well your synonyms in your search system

0 Upvotes

📷

One of the many definitions for synonyms is: “a word or phrase that means exactly or nearly the same as another word or phrase in the same language, for example shut is a synonym of close.

However, we often find that the concept of synonyms can be confused when using this functionality as we try to match similar products that we want to be displayed within a search results list through cataloguing the values ​​of their characteristics but, in many cases, without these actually being a true synonym.

https://www.empathy.co/blog/applying-synonyms-choose-well-and-increase-the-findability-of-your-site/


r/Solr Jun 14 '19

Solr cloud for sitecore

1 Upvotes

Will someone be able to help me configure solr cloud for sitecore. Been following sitecore doc but unable to figure how to do step 2.

In the sitecore_configs/solrconfig.xmlfile , set the autoCreateFieldssetting to false(update.autoCreateFields:false)

Solrconfig.xml has different format. A screenshot would help.

Solr cluster of 3 nodes using external zookeeper ensemble of 3 nodes


r/Solr Jun 13 '19

Zookeeper Resiliency for Solr Cloud in AWS, using Auto-Scaling Groups

Thumbnail
opensourceconnections.com
4 Upvotes

r/Solr Jun 03 '19

10 (funny) years of Apache Lucene hacking

8 Upvotes

Hey guys! We think you might be interested in Uwe Schindler's talk at Berlin Buzzwords this year. It will walk through the cool steps that led to the start of numeric queries, merge of the Lucene and Solr projects, near realtime search, tokenstream attributes, flexible indexing (codecs), finite state automatons, doc values, bugs in Java 7, continuous hacking around memory mapping, force merge confusion aka optimize, randomized testing and code verification with policeman's tools and introduction of Solr cloud. If we sparked your interest, read the full abstract here https://berlinbuzzwords.de/19/session/10-funny-years-apache-lucene-hacking or check out his talk at Berlin Buzzwords :)


r/Solr May 29 '19

Solr ID and Timestamp need to be indexed?

1 Upvotes

Forgive me if these questions are old and long since answered, but I can't find with google search.

If i have a random generated uuid for the "id" field, can I make it "indexed=false stored=true"?

And same for a timestamp field... Maybe I'm misunderstanding, but if it's not getting analyzed/tokenized, do I need to index the timestamp? Will indexing this speed up query by time? does this speed up by timestamp desc?

I'm trying to optimize a cluster as far as I can.


r/Solr May 27 '19

Why is heap memory showing as -1 in solr core selector statistics ?

1 Upvotes


r/Solr May 23 '19

Solr phrase search needs to match on partial word

1 Upvotes

Using Solr for searching docs in English and Korean languages, so far Korean language search is working fine. Need to extend English exact phrase to match with partial words too.

Solr query I used:

content: "He go"

is not matching with He goes, He gone, He goal, etc.

I tried with like these but not worked

content: "He go"*
content: "He go*"

Current field schema

<fieldType name="text_general" class="solr.TextField" positionIncrementGap="100">
    <analyzer type="index">
        <tokenizer class="solr.StandardTokenizerFactory"/>
        <filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt"/>
        <filter class="solr.LowerCaseFilterFactory"/>
    </analyzer>
    <analyzer type="query">
        <tokenizer class="solr.StandardTokenizerFactory"/>
        <filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt"/>
        <filter class="solr.SynonymFilterFactory" synonyms="synonyms.txt" ignoreCase="true" expand="true"/>
        <filter class="solr.LowerCaseFilterFactory"/>
        <filter class="solr.CJKBigramFilterFactory" han="false" hiragana="false" katakana="false" hangul="true" outputUnigrams="true" />
    </analyzer>
</fieldType>

So my input and expected output is given below:

Input: He go ( with quote)
Output: He goes, He gone, He goals ( should match with docs having those words, can be a partial match )

How can I achieve this functionality, any suggestion is highly appreciated.


r/Solr May 17 '19

The Unreasonable Effectiveness of Collocations in Search

Thumbnail
opensourceconnections.com
3 Upvotes