Questions tagged [lucene]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
47 views

Lucene indexing issue on CD servers with multiple DBs

Environment Sitecore 8.0 Update 5 (with patches applied) Lucene indexes Severs: CM, CD1, CD2 Publish targets: web, end-user on the CM server the connectionStrings are: <add name="web" ...
0
votes
0answers
29 views

On what basis, the language is switched for the searched items in Content tree search?

I am using Sitecore Content tree search. When we search any text using the content tree search, it shows the results. We are just searching by item name. No extra filters used. But when we click on ...
0
votes
1answer
58 views

Can a TOKENIZED index field be remapped to an UNTOKENIZED field of a different name without using a computed? (LUCENE)

Having some search issues with using the "Name" field on items ("_name") I'd like to map it to another field that I can search on without having to create a custom computed field to do the mapping. ...
0
votes
1answer
56 views

Lucene search for item name that exactly matches returns a similar result, when none should match

We are getting the wrong result returned. for example, a search for the item named "alumni" returns the item "commencement-alumni-help" when no result should be returned. SearchContext....
0
votes
0answers
23 views

Lucene QueryParser code upgrade to Solr

In order to convert Lucene code to Solr, what is the proper way to convert Query Parser? What's the best way to replicate the same functionality in Solr?
0
votes
0answers
76 views

Unable to populate boolean field from index value

My Lucene web Index is correctly populated with the field parsed_is_line_manager. In the BasePerson class, I thus added this field: [SitecoreIgnore] [IndexField("parsed_is_line_manager")] public ...
1
vote
2answers
68 views

OrderBy not being respected for item field when using content search

Using Lucene, and content search I cannot sort items by their name nor custom title field. The items are imported from a read-only data provider and are successfully indexed (I've inspected it ...
1
vote
0answers
99 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
324 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
174 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 ...
2
votes
1answer
125 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="...
1
vote
1answer
750 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
57 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 ...
4
votes
0answers
91 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
63 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
203 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
132 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. ...
3
votes
1answer
241 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 ...
1
vote
0answers
57 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
117 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
115 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
50 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
172 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
653 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
254 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
372 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
213 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
40 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
57 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
88 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
921 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
113 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
91 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
113 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
203 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
700 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
905 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
630 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
2answers
2k 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
242 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
444 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
143 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
88 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
352 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
382 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
382 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
96 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
629 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
162 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 )"...