Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [lucene]

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

1
vote
0answers
53 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
81 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
41 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
60 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
140 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
31 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
53 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
37 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
65 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
48 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
63 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
24 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(...
0
votes
1answer
57 views

Lucene search auto-complete using NGram

I was looking at using ngram in lucene and was following this article https://sitecore.namics.com/2016/12/20/adventtipp-20-sitecore-lucene-search-auto-complete-using-ngram/ But don't understand why I ...
2
votes
2answers
55 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 ...
1
vote
1answer
59 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
79 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
280 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
77 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
174 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
84 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
76 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
537 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
74 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
66 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
67 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
86 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
383 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
531 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
428 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
157 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
264 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
121 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
81 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
256 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
231 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
269 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
87 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 ...
5
votes
1answer
235 views

Azure Search Boosting not working

We're using the content search api to search through our Azure Search index, everything works fine but boosting does not work. However, when we switch from Azure search provider config to the Lucene ...
0
votes
2answers
435 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
113 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
99 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
291 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
205 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
427 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
147 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 ...