Questions tagged [lucene]

Anything related to Lucene indexes: querying, configuring, maintaining, ...

Filter by
Sorted by
Tagged with
0
votes
1answer
24 views

Saving a string in an integer field type in sitecore breaks the lucene index with “Input string was not in a correct format.”

If I save a string value "7ab" in an Integer field in sitecore the ContentSearch breaks with "Input string was not in a correct format." when it tries to map back to the object. I have tried ...
1
vote
0answers
70 views

Security Error Rebuilding Indexes

Sitecore 8.1 rev. 160302. Looking into my logfiles, there are lots of errors such as: Job Started: Index_Update_IndexName=RSearch ... Exception: System.NullReferenceException Message: Object ...
0
votes
1answer
102 views

Instance name in multi-CD setup

Sitecore 8.1 rev 160302. I've inherited a website that I'm having issues with the indexes. There is 1xCM server and 3xCD servers. We're using Lucene so have separate versions of the indexes on all 3 ...
0
votes
1answer
62 views

Master/Slave replication and fault tolerance [closed]

I am using solr-7.6 version with Master/Slave config. Being a novice, I do have few question on the solr functionality: 1. What happens when Master will be down? Do i need to make Slave as Master ...
1
vote
1answer
71 views

Rebuild lucene index after publishing issue

I have an issue related to the lucene index. The index is not being built when I do smart publish even if there is onPublishEndAsync added, but it does when I do republish. <strategy ref="...
0
votes
1answer
249 views

Sitecore 9.1 upgrade Error loading hook

We're upgrading from Sitecore 8.1 Update 3 to Sitecore 9.1. We use Solr for xConnect search, Lucene for web site search The CM is working, but the CD is not. Got the following error message: Server ...
0
votes
1answer
34 views

Sitecore 8.2 Lucene index portability between delivery servers

PROBLEM We are preparing to deploy considerable changes to an existing Sitecore site with reasonably high traffic; new renderings, new page templates, new content etc. During the deployment process ...
3
votes
0answers
59 views

Sitecore Content Search API returns expected results with Lucene as search provider but not with Solr

I'm currently writing a service that needs to integrate with Eventbrite to store external event information as items in Sitecore. We run a Sitecron job every 4 hours to pull in and update the ...
1
vote
0answers
40 views

How does sitecore search (Lucene) handle duplicate field names stored in index?

Luke is showing two fields with the same name for a document. When executing a search does sitecore search both fields or does it only search the first one. And if that's the case is there a way to ...
0
votes
0answers
81 views

Unable to run Re-Index Tree - Process cannot access the file write.lock

I'm having problems running the Re-Index Tree command. After a few seconds I see: An error occured while communicating with the Sitecore server: A network error occurred., followed by an empty error ...
1
vote
1answer
58 views

_content field not populating correctly

We're on Sitecore 8.1 update 2 and I'm having issues with the content search API. Its my understanding the _content field in the index should contain an amalgamation of all the fields in the template. ...
2
votes
1answer
98 views

ContentSearch Where vs Filter

When using the ContentSearch API what is the difference in using Where vs Filter and can this have any influence on the results? From the Sitecore documentation : Filtering is similar to using ...
0
votes
0answers
27 views

Lucene Tokenised field starts with

I'm trying to replicate a lucene query of +_name:mat* +_name:butl* which works in Luke, but the Sitecore linq produces +spanFirst(SpanWildcardQuery(_name:mat*), 1) +spanFirst(SpanWildcardQuery(...
2
votes
2answers
61 views

Make Sitecore Lucene ignore IDF (Inverse Document Frequency)

I've got a query in Sitecore the boosts on template type, but this is skewed by the IDF (inverse document frequency). Is it possible to set sitecore/Lucene to ignore the IDF? Or if anyone has any ...
0
votes
1answer
67 views

Can I have a field that is populated with values from my Lucene index exclusively?

Sitecore 8.1, Lucene index. I have a (Glass) field marked with [SitecoreIgnore] that I would like to be populated with values from the index. More specifically, the index has a number of strings ...
1
vote
0answers
43 views

Prioritize search word in title over finding the word in any other field?

I got some help in a previous question about prioritizing the title field in searches, however when I run the search now, I continue to to get some results where the word is only in the content field ...
2
votes
3answers
88 views

How can I pass correct IProviderSearchContext context of my custom index to repository via Dependency Injection?

I have a custom index which has additional teaser title, teaser description, main title and main content fields and the index is resolved based on Sitecore.Context.Database. Eg. master database ...
2
votes
1answer
339 views

How to ensure that sitecore_web_index is up to date on CD server

I run Lucene indexes on Sitecore 8.1. I have a custom index that is being generated correctly (on sitecore_web_index) on the CM server, but this change is not reflected on the CD server. Further ...
1
vote
3answers
97 views

Autocomplete control using Lucene

I'm trying to create an autocomplete control that returns items stored in a bucket however I seem to be having issues with my search query. I've created a custom index and can see the items within ...
2
votes
1answer
201 views

Way to prioritize title field for search results?

Can we adjust the Lucene search results so that items most likely to be related are shown closer to the top of the results feed - I'm thinking this would involve providing higher weight to results ...
2
votes
2answers
107 views

Unable to retrieve a date field from lucene

I have a Sitecore 8.1 instance running with WeBlog and I want to be able to retrieve the Entry Date fields from Lucene. The Entry Date field is a Date Field. My custom search result item class is ...
1
vote
1answer
35 views

Is there a way to do a search in Sitecore against with Lucene using a dynamic field?

My client needs me to write a speak app that can do a search where they can type in whatever field they want to equal a value in the search bar. Is there a way to do a search against Lucene to within ...
1
vote
1answer
44 views

Lucene Search Item start location

We are having the below item structure in sitecore and using Lucene Index, Home -- Products A Repository Product 1 Product 2 Product 3 -- Products B Repository Product 1 Product 2 Product 3 ...
1
vote
0answers
79 views

Content Search - How to choose boost values

I'm updating some of our search code to utilise boosting of different fields. We have been given a specification of the boosting values to be applied to different fields. We are covering 15 fields in ...
2
votes
2answers
609 views

Results are not coming in the order using sortorder from lucene index

I have some items present in an item folder and want them to retrieve from Lucence index. There is a requirement that we have to order items in the Sitecore based on the order set on the Sitecore CMS, ...
1
vote
1answer
81 views

Rebuild Search indexes error: “System.ArgumentException”

My "Rebuild search indexes" aborts and produces this error: "System.ArgumentException: it doesn't make sense to have a field that is neither indexed nor stored". but which field, which Item ID? ...
2
votes
1answer
72 views

Dictionary Item Phrases are not indexed

In our solution (Sitecore 8.2 rev. 170728), the Phrase fields of dictionary items are not indexed. Since this is the easiest way for our content authors to find the correct dictionary items, this is ...
1
vote
1answer
82 views

Plural terms and Sitecore lucene

Sitecore 8.2 U6 I have been experimenting with the Sitecore stemming analyzer. Sitecore.ContentSearch.LuceneProvider.Analyzers.StandardAnalyzerWithStemming But it isn't perfect. It has trouble ...
1
vote
0answers
101 views

Lucene “not in” or “except” query

(lucene on sitecore 8.2) I have a tabbed search results page with 5 tabs: people insights news services other The "other" tab should display results that do not appear in the first four queries. I ...
4
votes
1answer
443 views

Predicate not filtering out same ID in Lucene query

I have a query that's supposed to return related articles to the current article that aren't the current article but are the same category. However, it keeps including the current article in the ...
0
votes
1answer
603 views

Rebuilding custom index not working at all

I took backup of running site and setup in my development environment, when I rebuild custom indexes on staging (CM) under data/indexs folder I can see all files are updated but on production (CD) ...
1
vote
1answer
450 views

Rebuilding web index does not bring the published items

I took a backup from the server and setup the site on my local development environment. (by backup, I mean I took backup of all databases) I set up staging(CM) and Production(CD) on my local ...
1
vote
3answers
1k views

When do indexes get rebuilt automatically in Sitecore?

To my knowledge, indexes get rebuilt automatically when a Content Author performs a Smart Publish and/or a Full Republish in Sitecore. That functionality does not seem to functioning as intended as we ...
0
votes
1answer
170 views

Sitecore 8.2 Lucene Indexes Syncing Between CD and CM Servers

We have a custom Lucene index configured on our Content Management and Content Delivery server. The rebuild strategies on the index are <strategies hint="list:AddStrategy"> <strategy ref="...
1
vote
1answer
299 views

Error when adding computed index field: InvalidOperationException contextDatabase

I add a custom computed field to the fieldmap node in the Lucene Search config like so: <fieldNames hint="raw:AddFieldByFieldName"> <field fieldName="my_field" indexType="UNTOKENIZED" ...
0
votes
1answer
125 views

sitecore_web_index corrupted on Content Delivery server [closed]

What does the Lucene sitecore_web_index do on the Content Delivery server? How can it become corrupted?
2
votes
1answer
83 views

Can lucene query be customized to do some processing on computed index field?

Can lucene query be customized to do some processing on computed index field? Basically, we would like to store user related information, e.g {UserId,LikedDate} in computed index field(here, the ...
0
votes
1answer
274 views

Custom index not showing in the index manager popup

I have inherited a very old and messy instance of Sitecore 7. Ive decided to cleanup some of the config files and im starting with the indexes. There are a few custom indexes that i noticed don't ...
1
vote
0answers
65 views

Search results error on single server setup

We have a client site that is spread across 2 cd's and 1 cm which we have migrated to a single server instance for QA purposes. The production site has a public address for the cd's and a private ...
0
votes
3answers
251 views

Lucene Search Indexing Issue

In a project, I have used Lucene Search. Earlier everything was working fine. But from last few days I am facing issue in getting items through search on production server. I performed Index ...
0
votes
1answer
290 views

Exclude Media Library From Lucene Search /Indexing [closed]

How do i Exclude Media Library From Lucene Search /Indexing in 8.2 ??
1
vote
0answers
91 views

Include imported content in sitecore search result item [duplicate]

We are on Sitecore 8.1 using Lucene search index. I have an item with presentation details and displays properly on the site. The item has several child items pulled from a separate folder in the ...
0
votes
2answers
472 views

How to create lucene indexes seperate for each template and map fieldNames under each template

I am creating lucene indexes using Sitecore 7.2 and I have Title field name common in Article's template as well as Author's template. Is there any way to write separate field mapping as per ...
0
votes
2answers
123 views

Getting Null exception in Crawling Page Component DataSource on Lucene Index

We are using Lucene Index for our site search, our objective is to add all the content which is associated with Page Item. Here we have added Two custom index field for 1) "PageContent" and 2 )"...
3
votes
1answer
107 views

Migrate sitecore 8.1 from lucene to Solr 5.x issue

I am trying to swap lucene with solr in our project (I use this cool guide How to switch Lucene to Solr) But I faced an issue. All except these two fields work fine. Part of Lucene's config. <...
4
votes
1answer
345 views

ContentSearchAPI items array relevancy ranking

I'm trying to implement a tagging functionality that allows the content editor to add tags for a specific component and the c# to search for items containing a given set of tags Let's say our ...
5
votes
2answers
214 views

Getting Order Index to update on CM box, in a multi-box Sitecore Commerce setup

So we have a common setup of Sitecore Commerce running. 2 CD servers 1 CM server All of these run the Commerce Authoring services locally (all of the above are pretty much configured identically), ...
4
votes
2answers
470 views

Best way to check Lucene index for query function

I've got a QA and live environment in 8.1 Update 2 using Lucene; both are running standalone. The same content is essentially on both, migrated via serialization from another instance. I'm using a ...
3
votes
1answer
154 views

Lucene fails to start up properly on CD Server

We have a CM/CD setup where the CM works as intended, but the CD does not. The problem is that after following Sitecores guides on how to configure a CD server, lucene indexing seems to be ...
0
votes
2answers
178 views

Lucene for multiple server scenario

I have been told that when there are load balancers and multiple servers, lucene will not work. Is there an alternative that we can still use Lucene as the search engine.